Skip to content

Commit e00a311

Browse files
Merge pull request #12 from Stacklok-Demo-Org/update-profile
Use stacklok-authored rules
2 parents 7e57138 + c397f3d commit e00a311

File tree

1 file changed

+45
-9
lines changed

1 file changed

+45
-9
lines changed

minder-profile.yaml

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,48 +8,72 @@ alert: "on"
88
remediate: "on"
99
repository:
1010
- name: main-protection
11-
type: branch_protection_enabled
11+
type: stacklok/branch_protection_enabled
1212
params:
1313
branch: main
1414
def: {}
1515
- name: main-disallow-force-push
16-
type: branch_protection_allow_force_pushes
16+
type: stacklok/branch_protection_allow_force_pushes
1717
params:
1818
branch: main
1919
def:
2020
allow_force_pushes: false
2121
- name: main-enforce-admins
22-
type: branch_protection_enforce_admins
22+
type: stacklok/branch_protection_enforce_admins
2323
params:
2424
branch: main
2525
def:
2626
enforce_admins: true
2727
- name: main-enforce-review
28-
type: branch_protection_require_pull_request_approving_review_count
28+
type: stacklok/branch_protection_require_pull_request_approving_review_count
2929
params:
3030
branch: main
3131
def:
3232
required_approving_review_count: 1
33-
- type: dependabot_configured
33+
- type: stacklok/dependabot_configured
34+
name: python-dependabot
3435
def:
3536
package_ecosystem: pip
3637
schedule_interval: weekly
3738
apply_if_file: requirements.txt
39+
- type: stacklok/dependabot_configured
40+
name: ghaction-dependabot
41+
def:
42+
package_ecosystem: github-actions
43+
schedule_interval: weekly
44+
- type: stacklok/dependabot_configured
45+
name: go-dependabot
46+
def:
47+
package_ecosystem: gomod
48+
schedule_interval: daily
49+
apply_if_file: go.mod
50+
- type: stacklok/dependabot_configured
51+
name: node-dependabot
52+
def:
53+
package_ecosystem: npm
54+
schedule_interval: weekly
55+
only_if_file: package-lock.json
56+
- type: stacklok/dependabot_configured
57+
name: docker-dependabot
58+
def:
59+
package_ecosystem: docker
60+
schedule_interval: weekly
61+
only_if_file: Dockerfile
3862
- name: pin-actions
39-
type: actions_check_pinned_tags
63+
type: stacklok/actions_check_pinned_tags
4064
def:
4165
exclude:
4266
- actions/checkout@v3
4367
artifact:
44-
- type: artifact_signature
68+
- type: stacklok/artifact_signature
4569
params:
4670
tags: [main]
4771
name: bad-python
4872
def:
4973
is_signed: true
5074
is_verified: true
5175
pull_request:
52-
- type: pr_vulnerability_check
76+
- type: stacklok/pr_vulnerability_check
5377
def:
5478
action: review
5579
ecosystem_config:
@@ -58,7 +82,19 @@ pull_request:
5882
vulnerability_database_endpoint: https://api.osv.dev/v1/query
5983
package_repository:
6084
url: https://pypi.org/pypi
61-
- type: pr_trusty_check
85+
- name: npm
86+
vulnerability_database_type: osv
87+
vulnerability_database_endpoint: https://api.osv.dev/v1/query
88+
package_repository:
89+
url: https://registry.npmjs.org
90+
- name: go
91+
vulnerability_database_type: osv
92+
vulnerability_database_endpoint: https://api.osv.dev/v1/query
93+
package_repository:
94+
url: https://proxy.golang.org
95+
sum_repository:
96+
url: https://sum.golang.org
97+
- type: stacklok/pr_trusty_check
6298
def:
6399
action: summary
64100
ecosystem_config:

0 commit comments

Comments
 (0)