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

[CTX-403] feat: IaC context-suppressed issue count #3829

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

craigfurman
Copy link

@craigfurman craigfurman commented Sep 7, 2022

What does this PR do?

When snyk-iac-test returns suppressedResults in scan analytics, display a total count of suppressed issues alongside the other scan counts.

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

This feature iac test --cloud-context=... is still undocumented and is only available behind a feature flag. The context-suppressed count will only appear when any issues are actually suppressed, which should not actually occur for non-snyk-developer users yet.

This PR depends on the PR'ed + unmerged scanAnalytics field in snyk-iac-test's return payload. If approved, this PR should be updated with the new pinned version that is released after https://github.com/snyk/snyk-iac-test/pull/115 is merged, before merging this one.

What are the relevant tickets?

https://snyksec.atlassian.net/browse/CTX-403

Screenshots

When cloud-context has found issues:

Screenshot 2022-09-12 at 09 46 39

Note that this field does not appear when --cloud-context is not requested:

Screenshot 2022-09-12 at 09 46 45

Additional questions

@craigfurman craigfurman force-pushed the feat/iac-suppressed-issue-count branch 2 times, most recently from 523fed4 to 9a3a65b Compare September 9, 2022 13:43
When snyk-iac-test returns suppressedResults in scan analytics, display
a total count of suppressed issues alongside the other scan counts.
@craigfurman craigfurman removed the request for review from francescomari September 12, 2022 08:50
@craigfurman craigfurman marked this pull request as ready for review September 12, 2022 08:50
@craigfurman craigfurman requested a review from a team as a code owner September 12, 2022 08:50
@craigfurman craigfurman merged commit 9b5cac0 into master Sep 12, 2022
@craigfurman craigfurman deleted the feat/iac-suppressed-issue-count branch September 12, 2022 13:00
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