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

feat: add Operator FIPS Compliance checks as required tasks #96

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
71 changes: 71 additions & 0 deletions data/required_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# https://enterprisecontract.dev/docs/ec-policies/release_policy.html#tasks_package
pipeline-required-tasks:
fbc:
- effective_on: "2025-03-01T00:00:00Z"
tasks:
- [buildah, buildah-10gb, buildah-6gb, buildah-8gb, buildah-remote, buildah-oci-ta, buildah-remote-oci-ta]
- deprecated-image-check
- [fbc-fips-check, fbc-fips-check-oci-ta]
- [fbc-related-image-check, validate-fbc]
- [git-clone, git-clone-oci-ta]
- init
- effective_on: "2024-11-01T00:00:00Z"
tasks:
- [buildah, buildah-10gb, buildah-6gb, buildah-8gb, buildah-remote, buildah-oci-ta, buildah-remote-oci-ta]
Expand Down Expand Up @@ -29,6 +37,19 @@ pipeline-required-tasks:
- inspect-image
- summary
docker:
- effective_on: "2025-03-01T00:00:00Z"
tasks:
- [buildah, buildah-10gb, buildah-6gb, buildah-8gb, buildah-remote, buildah-oci-ta, buildah-remote-oci-ta]
- clair-scan
- clamav-scan
- deprecated-image-check
- [fips-operator-bundle-check, fips-operator-bundle-check-oci-ta]
- [git-clone, git-clone-oci-ta]
- init
- [prefetch-dependencies, prefetch-dependencies-oci-ta]
- rpms-signature-scan
- [sast-snyk-check, sast-snyk-check-oci-ta]
- [source-build, source-build-oci-ta]
- effective_on: "2024-11-01T00:00:00Z"
tasks:
- [buildah, buildah-10gb, buildah-6gb, buildah-8gb, buildah-remote, buildah-oci-ta, buildah-remote-oci-ta]
Expand Down Expand Up @@ -65,6 +86,19 @@ pipeline-required-tasks:
- source-build
- summary
generic:
- effective_on: "2025-03-01T00:00:00Z"
tasks:
- [buildah, buildah-10gb, buildah-6gb, buildah-8gb, buildah-remote, buildah-oci-ta, buildah-remote-oci-ta]
- clair-scan
- clamav-scan
- deprecated-image-check
- [fips-operator-bundle-check, fips-operator-bundle-check-oci-ta]
- [git-clone, git-clone-oci-ta]
- init
- [prefetch-dependencies, prefetch-dependencies-oci-ta]
- rpms-signature-scan
- [sast-snyk-check, sast-snyk-check-oci-ta]
- [source-build, source-build-oci-ta]
- effective_on: "2024-11-01T00:00:00Z"
tasks:
- [buildah, buildah-10gb, buildah-6gb, buildah-8gb, buildah-remote, buildah-oci-ta, buildah-remote-oci-ta]
Expand Down Expand Up @@ -101,6 +135,19 @@ pipeline-required-tasks:
- source-build
- summary
java:
- effective_on: "2025-03-01T00:00:00Z"
tasks:
- clair-scan
- clamav-scan
- deprecated-image-check
- [fips-operator-bundle-check, fips-operator-bundle-check-oci-ta]
- [git-clone, git-clone-oci-ta]
- init
- [prefetch-dependencies, prefetch-dependencies-oci-ta]
- rpms-signature-scan
- s2i-java
- [sast-snyk-check, sast-snyk-check-oci-ta]
- [source-build, source-build-oci-ta]
- effective_on: "2024-11-01T00:00:00Z"
tasks:
- clair-scan
Expand Down Expand Up @@ -137,6 +184,19 @@ pipeline-required-tasks:
- source-build
- summary
nodejs:
- effective_on: "2025-03-01T00:00:00Z"
tasks:
- clair-scan
- clamav-scan
- deprecated-image-check
- [fips-operator-bundle-check, fips-operator-bundle-check-oci-ta]
- [git-clone, git-clone-oci-ta]
- init
- [prefetch-dependencies, prefetch-dependencies-oci-ta]
- rpms-signature-scan
- s2i-nodejs
- [sast-snyk-check, sast-snyk-check-oci-ta]
- [source-build, source-build-oci-ta]
- effective_on: "2024-11-01T00:00:00Z"
tasks:
- clair-scan
Expand Down Expand Up @@ -175,6 +235,17 @@ pipeline-required-tasks:

# https://enterprisecontract.dev/docs/ec-policies/release_policy.html#tasks_package
required-tasks:
- effective_on: "2025-03-01T00:00:00Z"
tasks:
- clair-scan
- clamav-scan
- [fips-operator-bundle-check, fips-operator-bundle-check-oci-ta]
- [git-clone, git-clone-oci-ta]
- init
- [prefetch-dependencies, prefetch-dependencies-oci-ta]
- rpms-signature-scan
- [sast-snyk-check, sast-snyk-check-oci-ta]
- [source-build, source-build-oci-ta]
- effective_on: "2024-11-01T00:00:00Z"
tasks:
- clair-scan
Expand Down
2 changes: 2 additions & 0 deletions data/rule_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ rule_data:

# https://enterprisecontract.dev/docs/ec-policies/release_policy.html#test_package
informative_tests:
- fips-operator-bundle-check
- fips-operator-bundle-check-oci-ta
- sast-snyk-check
- sast-snyk-check-oci-ta
- ecosystem-cert-preflight-checks
Expand Down
Loading