Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create controls.yaml for devtools/build #545

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions services/devtools/build/controls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
common_controls:
- CCC.C01 # Prevent unencrypted requests
- CCC.C02 # Ensure data encryption at rest for all stored data
- CCC.C04 # Log all access and changes
- CCC.C05 # Prevent access from untrusted entities
- CCC.C09 # Prevent tampering, deletion, or unauthorized access to access logs
- CCC.C10 # Prevent data replication to destinations outside of defined trust perimeter

Check failure on line 8 in services/devtools/build/controls.yaml

View workflow job for this annotation

GitHub Actions / run-linting-check / yaml-lint

8:1 [trailing-spaces] trailing spaces
controls:
- id: CCC.Build.C01 # Restrict Allowed Build Agents
title: Restrict Allowed Build Agents
objective: |
Ensure that builds are executed only on authorized build agents to maintain control over the build environment and prevent unauthorized code execution.

Check failure on line 13 in services/devtools/build/controls.yaml

View workflow job for this annotation

GitHub Actions / run-linting-check / yaml-lint

13:121 [line-length] line too long (157 > 120 characters)
control_family: Access Control
threats:
- CCC.TH01 # Access control is misconfigured
nist_csf: PR.AC-4 # Access permissions and authorizations are managed
control_mappings:
NIST_800_53:
- AC-3 # Access Enforcement
- AC-6 # Least Privilege
test_requirements:
- id: CCC.Build.C01.TR01
text: |
Attempt to initiate a build using an unauthorized build agent and verify that the build is rejected.
tlp_levels:
- tlp_red
- tlp_amber

- id: CCC.Build.C02 # Restrict Allowed External Services for Build Triggers
title: Restrict Allowed External Services for Build Triggers
objective: |
Ensure that builds can only be triggered by authorized external services or repositories to prevent unauthorized code execution or tampering.

Check failure on line 33 in services/devtools/build/controls.yaml

View workflow job for this annotation

GitHub Actions / run-linting-check / yaml-lint

33:121 [line-length] line too long (147 > 120 characters)
control_family: Access Control
threats:
- CCC.TH01 # Access control is misconfigured
nist_csf: PR.AC-4 # Access permissions and authorizations are managed
control_mappings:
NIST_800_53:
- AC-3 # Access Enforcement
- AC-6 # Least Privilege
test_requirements:
- id: CCC.Build.C02.TR01
text: |
Attempt to trigger a build from an unauthorized external service or repository and verify that the build does not start.

Check failure on line 45 in services/devtools/build/controls.yaml

View workflow job for this annotation

GitHub Actions / run-linting-check / yaml-lint

45:121 [line-length] line too long (130 > 120 characters)
tlp_levels:
- tlp_red
- tlp_amber

- id: CCC.Build.C03 # Deny External Network Access for Build Environments
title: Deny External Network Access for Build Environments
objective: |
Ensure that build environments do not have external network access to prevent unauthorized external access and data exfiltration.

Check failure on line 53 in services/devtools/build/controls.yaml

View workflow job for this annotation

GitHub Actions / run-linting-check / yaml-lint

53:121 [line-length] line too long (135 > 120 characters)
control_family: Network Security
threats:
- CCC.TH02 # Data is intercepted in transit
- CCC.TH05 # Data is corrupted during replication
nist_csf: PR.AC-5 # Network integrity is protected
control_mappings:
NIST_800_53:
- SC-7 # Boundary Protection
- SC-5 # Denial of Service Protection
test_requirements:
- id: CCC.Build.C03.TR01
text: |
Attempt to access the build environment from an external network and verify that access is denied.
tlp_levels:
- tlp_red
- tlp_amber
Loading