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

refactor(misconf): Deprecate EXCEPTIONS for misconfiguration scanning #7776

Merged
merged 6 commits into from
Oct 29, 2024

Conversation

simar7
Copy link
Member

@simar7 simar7 commented Oct 22, 2024

Description

Deprecate EXCEPTIONS for misconfiguration scanning

Usage

Before

main.tf (terraform)

Tests: 8 (SUCCESSES: 0, FAILURES: 7, EXCEPTIONS: 1)
Failures: 7 (UNKNOWN: 0, LOW: 2, MEDIUM: 1, HIGH: 4, CRITICAL: 0)

HIGH: No public access block so not blocking public acls

After

main.tf (terraform)

Tests: 7 (SUCCESSES: 0, FAILURES: 7)
Failures: 7 (UNKNOWN: 0, LOW: 2, MEDIUM: 1, HIGH: 4, CRITICAL: 0)

HIGH: No public access block so not blocking public acls

NB Ignores are still listed as part of the regular log output

2024-10-23T13:46:30-06:00       INFO    [terraform executor] Ignore finding     rule="aws-s3-encryption-customer-key" range="main.tf:13-21"

Related stuff

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@simar7 simar7 requested a review from nikpivkin October 22, 2024 04:41
@simar7 simar7 changed the title BREAKING(misconf): Deprecate EXCEPTIONS for misconfiguration scanning refactor(misconf): Deprecate EXCEPTIONS for misconfiguration scanning Oct 22, 2024
@simar7 simar7 marked this pull request as ready for review October 23, 2024 19:48
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC we can mark exceptions as reserved:

repeated MisconfResult exceptions = 6;

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! I updated it.

contrib/junit.tpl Show resolved Hide resolved
Copy link
Contributor

@DmitriyLewen DmitriyLewen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@simar7 simar7 added this pull request to the merge queue Oct 29, 2024
Merged via the queue into aquasecurity:main with commit c70b6fa Oct 29, 2024
17 checks passed
@simar7 simar7 deleted the feat-7314 branch October 29, 2024 22:49
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.

BREAKING(report): Drop support for EXCEPTIONS from results
3 participants