Skip to content

Added Cloud access management tool#2

Merged
dannysteenman merged 2 commits intotowardsthecloud:mainfrom
andreacavagna01:patch-1
Mar 16, 2021
Merged

Added Cloud access management tool#2
dannysteenman merged 2 commits intotowardsthecloud:mainfrom
andreacavagna01:patch-1

Conversation

@andreacavagna01
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread README.md Outdated
@andreacavagna01
Copy link
Copy Markdown
Contributor Author

done

@dannysteenman dannysteenman merged commit 9ab2fe5 into towardsthecloud:main Mar 16, 2021
dannysteenman added a commit that referenced this pull request Mar 19, 2026
…#2)

* refactor(rules): standardize rule conventions for multi-cloud support

- Rule IDs: kebab-case → CLDBRN-{PROVIDER}-{SERVICE}-{N} format
- Severity: removed from Finding and Rule (findings ARE failures)
- ScanMode → ScanSource ('discovery' | 'iac' replaces 'live' | 'static')
- Finding.location string → structured ResourceLocation object
- ScanResult.mode → ScanResult.source
- Remove duplicate ScanMode/Severity types from SDK
- Update all rules, engine, formatters, and tests

* refactor(rules): rename rule files and exports to match policy convention

- gp2-to-gp3 → volume-type-current-gen (ebsVolumeTypeCurrentGenRule)
- allowed-instance-types → instance-type-allowed-profile (ec2InstanceTypeAllowedProfileRule)
- allowed-instance-classes → instance-class-allowed-profile (rdsInstanceClassAllowedProfileRule)
- missing-lifecycle-policy → missing-lifecycle-config (s3MissingLifecycleConfigRule)
- missing-arm → cost-optimal-architecture (lambdaCostOptimalArchitectureRule)

* docs(rules): add AGENTS.md with rule naming and structure conventions

* ci: add PR verification workflow

* ci: scope write permissions to lint job and restrict staged files

* chore: add changeset for rules convention refactor

* fix(sdk): mock scanAwsResources in scanner test for CI compatibility

* refactor(cli): deduplicate rule ID literal and simplify formatter dispatch

* fix(sdk): harden PR CI and restore scanner coverage

* docs: align CONTRIBUTING.md with new rule conventions

* docs(cli): add rationale comment for hardcoded SARIF warning level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants