-
Notifications
You must be signed in to change notification settings - Fork 316
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
feat(cwe): add cwe into sarif report and KICS CLI results #6845
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove development of cyclonedx to another branch
pkg/report/model/sarif.go
Outdated
@@ -43,6 +43,7 @@ type ruleCISMetadata struct { | |||
type sarifMessage struct { | |||
Text string `json:"text"` | |||
MessageProperties sarifProperties `json:"properties,omitempty"` | |||
CWE string `json:"cwe,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need this item?
Dockerfile
Outdated
@@ -66,6 +66,7 @@ RUN wget https://github.com/GoogleCloudPlatform/terraformer/releases/download/0. | |||
# kics-scan ignore-line | |||
COPY --from=build_env /app/bin/kics /app/bin/kics | |||
COPY --from=build_env /app/assets/queries /app/bin/assets/queries | |||
COPY --from=build_env /app/assets/cwe_csv/* /app/bin/assets/cwe_csv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kindly perform this same update into this dockerfiles if needed
Relates to: #6373 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @ArturRibeiro-CX 🙌
Just make sure the dockerfiles work as expected for the ones not tested in workflows as @gabriel-cx mentioned.
646f5a5
Proposed Changes
I submit this contribution under the Apache-2.0 license.