Skip to content

Commit 0c69133

Browse files
authored
Add Security Insights data source (#216)
This commit adds an experimental security insights data source to the repo Signed-off-by: Adolfo García Veytia (puerco) <puerco@stacklok.com>
1 parent 3d78644 commit 0c69133

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
# NOTICE: THIS DATA SOURCE IS EXPERIMENTAL
3+
#
4+
# This is an experimental data source that loads the contents of
5+
# a repo's Security Insights file (https://github.com/ossf/security-insights-spec)
6+
# and exposes it to the rule evaluation engine.
7+
version: v1
8+
type: data-source
9+
name: securityinsights
10+
context: {}
11+
structured:
12+
def:
13+
"parse":
14+
path:
15+
file_name: SECURITY-INSIGHTS.yaml
16+
alternatives:
17+
- "SECURITY-INSIGHTS.yml"
18+
- "security-insights.yaml"
19+
- "security-insights.yml"
20+
- "SECURITY_INSIGHTS.yaml"
21+
- "SECURITY_INSIGHTS.yml"

0 commit comments

Comments
 (0)