Skip to content

Commit

Permalink
Add security insights data source
Browse files Browse the repository at this point in the history
Signed-off-by: Adolfo García Veytia (puerco) <[email protected]>
  • Loading branch information
puerco committed Dec 12, 2024
1 parent 00e0351 commit 60392bb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions resources/minder/data-sources/security-insights.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# NOTICE: THIS DATA SOURCE IS EXPERIMENTAL
#
# This is an experimental data source that loads the contents of
# a repo's Security Insights file (https://github.com/ossf/security-insights-spec)
# and exposes it to the rule evaluation engine.
version: v1
type: data-source
name: securityinsights
context: {
project_id: "29e9eb67-b8dd-49aa-966a-8d691d36799b"
}
structured:
def:
"parse":
path:
file_name: SECURITY-INSIGHTS.yaml
alternatives:
- "SECURITY-INSIGHTS.yml"
- "security-insights.yaml"
- "security-insights.yml"
- "SECURITY_INSIGHTS.yaml"
- "SECURITY_INSIGHTS.yml"

0 comments on commit 60392bb

Please sign in to comment.