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

Inventory - Container Checksum #1026

Open
14 tasks
Rene2mt opened this issue Dec 23, 2024 · 0 comments · Fixed by #1053
Open
14 tasks

Inventory - Container Checksum #1026

Rene2mt opened this issue Dec 23, 2024 · 0 comments · Fixed by #1053

Comments

@Rene2mt
Copy link
Member

Rene2mt commented Dec 23, 2024

Constraint Task

Consistent with issue #813, these constraints focus on ensuring that container and operating system images MUST have a checksum FedRAMP Extension. Images are always represented as "software" components with an "image" asset type.

This is a FedRAMP extension.

NOTE - These constraints are level="ERROR"

Intended Outcome

Container image checksums are used to verify the integrity of a container image and ensure it has not been tampered with or corrupted. Additionally, many container image vulnerability scanner outputs will reference container images by checksum, so this information is needed in the inventory to cross-reference reported vulnerabilities against the inventory of (container) images.

Syntax Type

This is a FedRAMP constraint in the FedRAMP-specific namespace.

Allowed Values

There are no relevant allowed values.

Metapath(s) to Content

context="//component[@type='software' and ./prop[@name='asset-type' and @value='image']]"

target="."

count(./prop[@name='checksum' and @ns='http://fedramp.gov/ns/oscal']) = 1

Purpose of the OSCAL Content

No response

Dependencies

No response

Acceptance Criteria

  • All OSCAL adoption content affected by the change in this issue have been updated in accordance with the Documentation Standards.
    • Explanation is present and accurate
    • sample content is present and accurate
    • Metapath is present, accurate, and does not throw a syntax exception using oscal-cli metaschema metapath eval -e "expression".
  • All constraints associated with the review task have been created
  • The appropriate example OSCAL file is updated with content that demonstrates the FedRAMP-compliant OSCAL presentation.
  • The constraint conforms to the FedRAMP Constraint Style Guide.
    • All automated and manual review items that identify non-conformance are addressed; or technical leads (David Waltermire; AJ Stein) have approved the PR and “override” the style guide requirement.
  • Known good test content is created for unit testing.
  • Known bad test content is created for unit testing.
  • Unit testing is configured to run both known good and known bad test content examples.
  • Passing and failing unit tests, and corresponding test vectors in the form of known valid and invalid OSCAL test files, are created or updated for each constraint.
  • A Pull Request (PR) is submitted that fully addresses the goals section of the User Story in the issue.
  • This issue is referenced in the PR.

Other information

No response

@Rene2mt Rene2mt moved this from 🆕 New to 🔖 Ready in FedRAMP Automation Dec 24, 2024
@kyhu65867 kyhu65867 self-assigned this Dec 26, 2024
@kyhu65867 kyhu65867 mentioned this issue Dec 30, 2024
6 tasks
@aj-stein-gsa aj-stein-gsa moved this from 🔖 Ready to 🏗 In progress in FedRAMP Automation Dec 30, 2024
@Gabeblis Gabeblis linked a pull request Dec 30, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

2 participants