SAP / project-kb

Home page of project "KB"
https://sap.github.io/project-kb/
Apache License 2.0
114 stars 74 forks source link

Adds commit classification rule #397

Closed lauraschauer closed 4 months ago

lauraschauer commented 4 months ago

This PR adds a new rule using the LLMService. This rule performs the same as Tommaso's commit classification, but is now implemented in Prospector itself.

It sends the diff of a commit to the LLM and asks if this commit is security relevant or not. Relevance of the rule is set to 32 for now, but this value can be adjusted after evaluation.

copernico commented 4 months ago

Hi @lauraschauer could you rebase this PR please?

lauraschauer commented 4 months ago

@copernico Done :)