-
Notifications
You must be signed in to change notification settings - Fork 17
Close 713 port reachability to new sdk #717
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
base: main
Are you sure you want to change the base?
Conversation
992216c to
061361a
Compare
181e231 to
ff7ac96
Compare
ff7ac96 to
cba79aa
Compare
2b13f39 to
3a4cb70
Compare
|
It looks like this branch needs rebasing |
3a4cb70 to
042cd5d
Compare
042cd5d to
59203ff
Compare
| require ( | ||
| github.com/go-errors/errors v1.5.1 | ||
| github.com/package-url/packageurl-go v0.1.0 | ||
| github.com/smithy-security/smithy/sdk v0.0.4-alpha |
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.
This needs a bump
| description: "Adds a boolean 'Reachable-Code' enrichment to the passed findings" | ||
| type: enricher | ||
| parameters: | ||
| - name: programming-language |
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.
Can we use snake case like in the other components?
| executable: /bin/sh | ||
| args: | ||
| - -c | ||
| - atom reachables -o {{ sourceCodeWorkspace }}/app.atom -s {{ scratchWorkspace }}/reachables.json -l {{ .parameters.programming-language }} {{ sourceCodeWorkspace }} |
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.
Looks sus - do we need to break this in multilines?
| executable: /bin/sh | ||
| args: | ||
| - -c | ||
| - atom reachables -o {{ sourceCodeWorkspace }}/app.atom -s {{ scratchWorkspace }}/reachables.json -l {{ .parameters.programming-language }} {{ sourceCodeWorkspace }} |
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.
Same note for the programming-lang
| } | ||
| ) | ||
|
|
||
| func main() { |
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.
Couldn't we add this logic to the component itself to make sure that it's served by the SDK?
|
The git log needs some love |
No description provided.