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

Add optional detectionTool field to CodeTF result #19

Closed
wants to merge 1 commit into from

Conversation

drdavella
Copy link
Member

@drdavella drdavella commented Mar 7, 2024

This doesn't entirely address #17 but I think it adds a small, required set of fields that we definitely want.

In a subsequent change we can add findings which offers details about which findings were remediated and which were not.

We can build upon this as necessary but for now I hope we can come to an agreement on the field names.

Part of the goal here is to enable consistent reporting of tool remediation by upstream tools. Rather than encoding things like the tool name in the summary we can enable consistent handling.

@drdavella drdavella requested review from gilday and nahsra March 7, 2024 16:55
@drdavella drdavella changed the title Add optional detectionTool field to CodeTF ChangeSet Add optional detectionTool field to CodeTF result Mar 7, 2024
Comment on lines +25 to +26
"ruleId": "ID of the tool vendor rule that detected the issue", (required)
"ruleName": "Name of the tool vendor rule that detected the issue", (required)
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider grouping these inside a new, required rule object that we can add to if needed.

Copy link
Contributor

@nahsra nahsra left a comment

Choose a reason for hiding this comment

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

I think the default should not be to assume pixee found it. It could just be a bad codemod that failed to include this info

I think we should add guids to this so we know which issues this change fixes (could be many)

@drdavella
Copy link
Member Author

Closing since this is superseded by #20 and #21

@drdavella drdavella closed this Mar 8, 2024
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