Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove AWS context from non-AWS checks #291

Merged
merged 7 commits into from
Aug 27, 2024
Merged

Remove AWS context from non-AWS checks #291

merged 7 commits into from
Aug 27, 2024

Conversation

jonrau1
Copy link
Owner

@jonrau1 jonrau1 commented Aug 27, 2024

Fixes issue reported in #288. Previously, every single function for checks in eeauditor.py assumed AWS credentials would be on the machine - that's a very old artifact and surprised it hasn't come up before.

To fix the issue, placeholder Regions, Partitions and Account IDs for the ASFF are generated, and these are ignored by OCSF outputs.

I forget if this breaks security hub or not...ah well

jonrau1 and others added 7 commits August 2, 2024 18:57
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 3.6.4 to 4.1.2.
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md)
- [Commits](anchore/scan-action@v3.6.4...v4.1.2)

---
updated-dependencies:
- dependency-name: anchore/scan-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…e/scan-action-4.1.2

Bump anchore/scan-action from 3.6.4 to 4.1.2
@jonrau1 jonrau1 added bug Something isn't working enhancement New feature or request dependencies Pull requests that update a dependency file docker Pull requests that update Docker code python Pull requests that update Python code labels Aug 27, 2024
@jonrau1 jonrau1 self-assigned this Aug 27, 2024
@jonrau1 jonrau1 linked an issue Aug 27, 2024 that may be closed by this pull request
@jonrau1 jonrau1 added the aws Related to AWS label Aug 27, 2024
@jonrau1 jonrau1 merged commit c75929c into master Aug 27, 2024
4 checks passed
@jonrau1 jonrau1 deleted the non-aws-acct branch August 27, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Related to AWS bug Something isn't working dependencies Pull requests that update a dependency file docker Pull requests that update Docker code enhancement New feature or request python Pull requests that update Python code
Projects
Development

Successfully merging this pull request may close these issues.

Facing an Issue while assessing M365
1 participant