Skip to content

Commit de32b3e

Browse files
committed
Update baseline rule naming based on 2025-02-25
1 parent 248a089 commit de32b3e

File tree

65 files changed

+181
-197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+181
-197
lines changed

security-baseline/profiles/security-baseline-level-1.yaml

Lines changed: 62 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -7,76 +7,86 @@ context:
77
alert: "off"
88
remediate: "off"
99
repository:
10-
# OSPS-AC-01: Require MFA for collaborators; depends on org entity
11-
# OSPS-AC-02: Hosted GitHub has this by default
12-
- name: osps-ac-02
13-
type: osps-ac-02
10+
# OSPS-AC-01.01: Require MFA for collaborators; depends on org entity
11+
# OSPS-AC-02.01: Hosted GitHub has this by default
12+
- name: osps-ac-02-01
13+
type: osps-ac-02-01
1414
def: {}
15-
# OSPS-AC-03: Prevent overwriting git history
16-
- name: osps-ac-03
17-
type: osps-ac-03
15+
# OSPS-AC-03.01: Prevent overwriting git history
16+
- name: osps-ac-03-01
17+
type: osps-ac-03-01
1818
def: {}
19-
# OSPS-AC-04: Prevent permanent branch deletion
20-
- name: osps-ac-04
21-
type: osps-ac-04
19+
# OSPS-AC-03.02: Prevent permanent branch deletion
20+
- name: osps-ac-03-02
21+
type: osps-ac-03-02
2222
def: {}
2323

24-
# OSPS-BR-01: Prevent direct untrusted input in CI
25-
- name: osps-br-01
26-
type: osps-br-01
24+
# OSPS-BR-01.01: Prevent direct untrusted input in CI
25+
- name: osps-br-01-01
26+
type: osps-br-01-01
2727
def: {}
28-
# OSPS-BR-03: Ensure secure channels for VCS
29-
- name: osps-br-03
30-
type: osps-br-03
28+
# OSPS-BR-03.01: Ensure secure channels for VCS
29+
- name: osps-br-03-01
30+
type: osps-br-03-01
3131
def: {}
3232

33-
# OSPS-DO-03: Ensure user guides for all basic functionality
34-
- name: osps-do-03
35-
type: osps-do-03
33+
# OSPS-DO-01.01: Ensure user guides for all basic functionality
34+
- name: osps-do-01-01
35+
type: osps-do-01-01
3636
def: {}
37-
# OSPS-DO-05: Project documentation has a mechanism for reporting defects
38-
- name: osps-do-05
39-
type: osps-do-05
37+
# OSPS-DO-02.01: Project documentation has a mechanism for reporting defects
38+
- name: osps-do-02-01
39+
type: osps-do-02-01
4040
def: {}
4141

42-
# OSPS-GV-02: Projects has public discussion mechanisms
43-
- name: osps-gv-02
44-
type: osps-gv-02
42+
# OSPS-GV-02.01: Projects has public discussion mechanisms
43+
- name: osps-gv-02-01
44+
type: osps-gv-02-01
4545
def: {}
46-
# OSPS-GV-03: Enforce CONTRIBUTING file presence
47-
- name: osps-gv-03
48-
type: osps-gv-03
46+
# OSPS-GV-03.01: Enforce CONTRIBUTING file presence
47+
- name: osps-gv-03-01
48+
type: osps-gv-03-01
4949
def: {}
5050

51-
# OSPS-LE-02: Ensure OSI/FSF approved license
52-
- name: osps-le-02
53-
type: osps-le-02
51+
# OSPS-LE-02.01: Ensure OSI/FSF approved license
52+
- name: osps-le-02-01
53+
type: osps-le-02-01
5454
def: {}
55-
# OSPS-LE-03: LICENSE or COPYING files are available available
56-
- name: osps-le-03
57-
type: osps-le-03
55+
# OSPS-LE-03.01: LICENSE or COPYING files are available in repo
56+
- name: osps-le-03-01
57+
type: osps-le-03-01
5858
def: {}
5959

60-
# OSPS-QA-01: Repository visibility check
61-
- name: osps-qa-01
62-
type: osps-qa-01
63-
def: {}
64-
# OSPS-QA-02: Maintain publicly readable change history
65-
- name: osps-qa-02
66-
type: osps-qa-02
67-
def: {}
60+
# OSPS-QA-01.01: Repository visibility check
61+
- name: osps-qa-01-01
62+
type: osps-qa-01-01
63+
def: {}
64+
# OSPS-QA-01.02: Maintain publicly readable change history
65+
- name: osps-qa-01-02
66+
type: osps-qa-01-02
67+
def: {}
68+
# OSPS-QA-02.01: Source code contains direct dependency list
69+
- name: osps-qa-02-01
70+
type: osps-qa-02-01
71+
def: {}
72+
73+
## TODO: QA-04.01: While active, the project documentation MUST contain a list of any codebases that are considered subprojects or additional repositories.
6874

69-
# OSPS-VM-05: Check for SECURITY.md or GitHub private vulnerability reporting
70-
- name: osps-vm-05
71-
type: osps-vm-05
75+
# OSPS-QA-05.01: While active, the version control system MUST NOT contain generated executable artifacts.
76+
- name: osps-qa-05-01
77+
type: osps-qa-05-01
78+
def: {}
79+
80+
# OSPS-VM-02.01: Documentation must contain security contacts
81+
- name: osps-vm-02-01
82+
type: osps-vm-02-01
7283
def: {}
7384
release:
74-
# OSPS-BR-09: Released software assets are delivered using HTTPS
75-
- name: osps-br-09
76-
type: osps-br-09
85+
# OSPS-LE-02.02: Ensure OSI/FSF approved license on assets
86+
- name: osps-le-02-02
87+
type: osps-le-02-02
7788
def: {}
78-
79-
# OSPS-LE-04: Check release assets for valid license
80-
- name: osps-le-04
81-
type: osps-le-04
89+
# OSPS-LE-03.02: LICENSE or COPYING files are available in assets
90+
- name: osps-le-03-02
91+
type: osps-le-03-02
8292
def: {}

security-baseline/rule-types/github/osps-ac-02.yaml renamed to security-baseline/rule-types/github/osps-ac-02-01.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: v1
22
release_phase: alpha
33
type: rule-type
4-
name: osps-ac-02
4+
name: osps-ac-02-01
55
display_name: Default collaborators to lowest privileges
66
short_failure_message: Collaborators default to privileged access
77
severity:

security-baseline/rule-types/github/osps-ac-03.yaml renamed to security-baseline/rule-types/github/osps-ac-03-01.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: v1
22
release_phase: alpha
33
type: rule-type
4-
name: osps-ac-03
4+
name: osps-ac-03-01
55
display_name: Prevent overwriting git history
66
short_failure_message: Force pushes are allowed
77
severity:

security-baseline/rule-types/github/osps-ac-04.yaml renamed to security-baseline/rule-types/github/osps-ac-03-02.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: v1
22
release_phase: alpha
33
type: rule-type
4-
name: osps-ac-04
4+
name: osps-ac-03-02
55
display_name: Prevent permanent branch deletion
66
short_failure_message: Branch protection allows deletions
77
severity:

0 commit comments

Comments
 (0)