| 1 |
|
| 2 |
|
| 3 |
--- |
| 4 |
version: v1 |
| 5 |
type: profile |
| 6 |
name: go-tuf-metadata |
| 7 |
context: |
| 8 |
provider: github |
| 9 |
alert: "on" |
| 10 |
remediate: "on" |
| 11 |
repository: |
| 12 |
- type: secret_scanning |
| 13 |
def: |
| 14 |
enabled: true |
| 15 |
- type: secret_push_protection |
| 16 |
def: |
| 17 |
enabled: true |
| 18 |
- type: github_actions_allowed |
| 19 |
def: |
| 20 |
allowed_actions: all |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
- type: default_workflow_permissions |
| 27 |
def: |
| 28 |
default_workflow_permissions: write |
| 29 |
can_approve_pull_request_reviews: true |
| 30 |
- type: codeql_enabled |
| 31 |
def: |
| 32 |
languages: [go] |
| 33 |
schedule_interval: '30 4-6 * * *' |
| 34 |
- type: actions_check_pinned_tags |
| 35 |
def: {} |
| 36 |
- type: dependabot_configured |
| 37 |
def: |
| 38 |
package_ecosystem: gomod |
| 39 |
schedule_interval: weekly |
| 40 |
apply_if_file: go.mod |
| 41 |
- type: dockerfile_no_latest_tag |
| 42 |
def: {} |
| 43 |
|
| 44 |
|
| 45 |
- type: branch_protection_enabled |
| 46 |
params: |
| 47 |
branch: main |
| 48 |
def: {} |
| 49 |
- type: branch_protection_allow_deletions |
| 50 |
params: |
| 51 |
branch: main |
| 52 |
def: |
| 53 |
allow_deletions: false |
| 54 |
- type: branch_protection_allow_force_pushes |
| 55 |
params: |
| 56 |
branch: main |
| 57 |
def: |
| 58 |
allow_force_pushes: true |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
- type: branch_protection_lock_branch |
| 65 |
params: |
| 66 |
branch: main |
| 67 |
def: |
| 68 |
lock_branch: false |
| 69 |
- type: branch_protection_require_conversation_resolution |
| 70 |
params: |
| 71 |
branch: main |
| 72 |
def: |
| 73 |
required_conversation_resolution: true |
| 74 |
- type: branch_protection_require_linear_history |
| 75 |
params: |
| 76 |
branch: main |
| 77 |
def: |
| 78 |
required_linear_history: true |
| 79 |
- type: branch_protection_require_pull_request_approving_review_count |
| 80 |
params: |
| 81 |
branch: main |
| 82 |
def: |
| 83 |
required_approving_review_count: 1 |
| 84 |
- type: branch_protection_require_pull_request_code_owners_review |
| 85 |
params: |
| 86 |
branch: main |
| 87 |
def: |
| 88 |
require_code_owner_reviews: true |
| 89 |
- type: branch_protection_require_pull_request_dismiss_stale_reviews |
| 90 |
params: |
| 91 |
branch: main |
| 92 |
def: |
| 93 |
dismiss_stale_reviews: true |
| 94 |
- type: branch_protection_require_pull_request_last_push_approval |
| 95 |
params: |
| 96 |
branch: main |
| 97 |
def: |
| 98 |
require_last_push_approval: true |
| 99 |
- type: branch_protection_require_pull_requests |
| 100 |
params: |
| 101 |
branch: main |
| 102 |
def: |
| 103 |
required_pull_request_reviews: true |
| 104 |
- type: branch_protection_require_signatures |
| 105 |
params: |
| 106 |
branch: main |
| 107 |
def: |
| 108 |
required_signatures: false |
| 109 |
- type: license |
| 110 |
def: |
| 111 |
license_filename: LICENSE |
| 112 |
license_type: "Apache License" |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
pull_request: |
| 123 |
- type: pr_vulnerability_check |
| 124 |
def: |
| 125 |
action: review |
| 126 |
ecosystem_config: |
| 127 |
- name: go |
| 128 |
vulnerability_database_type: osv |
| 129 |
vulnerability_database_endpoint: https://vuln.go.dev |
| 130 |
package_repository: |
| 131 |
url: https://proxy.golang.org |
| 132 |
sum_repository: |
| 133 |
url: https://sum.golang.org |