fossa-cli icon indicating copy to clipboard operation
fossa-cli copied to clipboard

[BUG] experimentalKeywordSearch results not shown in the UI

Open jandroav opened this issue 11 months ago • 1 comments

Describe the bug I configured a project as shown here: Custom-License and Keyword Searches to detect AI-generated code, but I can not see the result in the FOSSA UI as shown during this video Managing GitHub Copilot Security and Legal Risks with FOSSA (min 47)

To Reproduce Steps to reproduce the behavior:

  1. Create a .fossa.yml file with:
version: 3

experimentalKeywordSearch:
  - matchCriteria: "Copilot"
    name: "GitHub Copilot generated code"
  1. Tag some code as with the Copilot tag:
// Copilot
// Checks if the user has the required tools installed
func CheckInstalledTools(tool string) error {...}
  1. Run fossa analyze
  2. Results are correctly shown but no UI section: image

Expected behavior A FOSSA UI section with the matches

fossa.debug.json.gz

jandroav avatar Mar 20 '24 12:03 jandroav

Thank you @jandroav for creating this issue. If this is in regards to a defect, product question or feature request: you should use our support portal at https://support.fossa.com to file a request, as you would receive more immediate support.

github-actions[bot] avatar Mar 20 '24 12:03 github-actions[bot]

Hi there @jandroav! Thanks for submitting this issue. The experimentalKeywordSearch function does not currently report these matches to the UI by design, you can read more about the details here: https://github.com/fossas/fossa-cli/blob/master/docs/features/custom-license-and-keyword-searches.md

If you'd like to ask for this to be prioritized, and/or be notified when this information is pushed to the UI, please send in a request to our support site!

jssblck avatar May 16 '24 17:05 jssblck