Skip to content

Commit

Permalink
add: baseline level 1 profile
Browse files Browse the repository at this point in the history
  • Loading branch information
teodor-yanev committed Jan 11, 2025
1 parent 632390f commit 5f64ef0
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions profiles/github/security_baseline_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: v1
type: profile
name: security_baseline_1
display_name: Security Baseline 1
context:
provider: github
alert: "off"
remediate: "off"
repository:
# OSPS-AC-03 and OSPS-AC-04: Branch protection
- type: branch_protection_enabled
params:
branch: "main"
def: {}
- type: branch_protection_require_pull_requests
params:
branch: "main"
def:
required_pull_request_reviews: true

# OSPS-DO-02: Enforce CONTRIBUTING file presence
- type: enforce_file
def:
file: "CONTRIBUTING.md"
content: ""
params: {}

# OSPS-LE-03: Enforce license file
- type: enforce_file
def:
file: "LICENSE"
content: ""
params: {}

# OSPS-LE-02: Ensure OSI/FSF approved license
- type: permissive_license
def: {}

# OSPS-QA-01: Repository visibility check
- type: source_code_is_public
def: {}

0 comments on commit 5f64ef0

Please sign in to comment.