forked from Stacklok-Demo-Org/python-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
minder-profile.yaml
104 lines (104 loc) · 2.78 KB
/
minder-profile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Minder Profile to demo features
version: v1
type: profile
name: demo-profile
context:
provider: github
alert: "on"
remediate: "on"
repository:
- name: main-protection
type: stacklok/branch_protection_enabled
params:
branch: main
def: {}
- name: main-disallow-force-push
type: stacklok/branch_protection_allow_force_pushes
params:
branch: main
def:
allow_force_pushes: false
- name: main-enforce-admins
type: stacklok/branch_protection_enforce_admins
params:
branch: main
def:
enforce_admins: true
- name: main-enforce-review
type: stacklok/branch_protection_require_pull_request_approving_review_count
params:
branch: main
def:
required_approving_review_count: 1
- type: stacklok/dependabot_configured
name: python-dependabot
def:
package_ecosystem: pip
schedule_interval: weekly
apply_if_file: requirements.txt
- type: stacklok/dependabot_configured
name: ghaction-dependabot
def:
package_ecosystem: github-actions
schedule_interval: weekly
- type: stacklok/dependabot_configured
name: go-dependabot
def:
package_ecosystem: gomod
schedule_interval: daily
apply_if_file: go.mod
- type: stacklok/dependabot_configured
name: node-dependabot
def:
package_ecosystem: npm
schedule_interval: weekly
only_if_file: package-lock.json
- type: stacklok/dependabot_configured
name: docker-dependabot
def:
package_ecosystem: docker
schedule_interval: weekly
only_if_file: Dockerfile
- name: pin-actions
type: stacklok/actions_check_pinned_tags
def:
exclude:
- actions/checkout@v3
artifact:
- type: stacklok/artifact_signature
params:
tags: [main]
name: bad-python
def:
is_signed: true
is_verified: true
pull_request:
- type: stacklok/pr_vulnerability_check
def:
action: review
ecosystem_config:
- name: pypi
vulnerability_database_type: osv
vulnerability_database_endpoint: https://api.osv.dev/v1/query
package_repository:
url: https://pypi.org/pypi
- name: npm
vulnerability_database_type: osv
vulnerability_database_endpoint: https://api.osv.dev/v1/query
package_repository:
url: https://registry.npmjs.org
- name: go
vulnerability_database_type: osv
vulnerability_database_endpoint: https://api.osv.dev/v1/query
package_repository:
url: https://proxy.golang.org
sum_repository:
url: https://sum.golang.org
- type: stacklok/pr_trusty_check
def:
action: summary
ecosystem_config:
- name: npm
score: 5
- name: pypi
score: 5