Skip to content

sca-container to sca, sarif severity and triage error codes#376

Merged
tiagobcx merged 10 commits into
mainfrom
feature/AST-1181-new-result-type-sarif-fix-error-codes
Apr 1, 2022
Merged

sca-container to sca, sarif severity and triage error codes#376
tiagobcx merged 10 commits into
mainfrom
feature/AST-1181-new-result-type-sarif-fix-error-codes

Conversation

@tiagobcx

@tiagobcx tiagobcx commented Mar 28, 2022

Copy link
Copy Markdown
Contributor

Description

  • Mapping sca-container type to sca in results;

  • Fixing missing severity map between Checkmarx and sarif format;

  • Handling new error codes for the triage commands.

References

Testing

  • Integration and unit testing

Checklist

  • I have added documentation for new/changed functionality in this PR (if applicable).
  • I have updated the CLI help for new/changed functionality in this PR (if applicable).
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used

@tiagobcx
tiagobcx requested review from a team, AndreGCX and tsunez and removed request for a team March 28, 2022 16:07
AndreGCX
AndreGCX previously approved these changes Mar 28, 2022
@tiagobcx
tiagobcx requested a review from AndreGCX March 30, 2022 10:46
@cx-pedro-lopes
cx-pedro-lopes requested review from a team and removed request for a team, AndreGCX and tsunez March 31, 2022 08:43
ghost
ghost previously approved these changes Mar 31, 2022
@ghost
ghost self-requested a review March 31, 2022 14:48
ghost
ghost previously approved these changes Mar 31, 2022
Comment thread internal/wrappers/results-modifier.go Outdated
}

if s.Type == "dependency" {
if s.Type == "dependency" || s.Type == "sca-container" {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we do here startsWith ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, in all cases or just for sca-container?

@tiagobcx
tiagobcx requested review from a user and cx-pedro-lopes April 1, 2022 09:10
@tiagobcx
tiagobcx merged commit 456d6c2 into main Apr 1, 2022
@tiagobcx
tiagobcx deleted the feature/AST-1181-new-result-type-sarif-fix-error-codes branch April 1, 2022 13:29
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.

3 participants