Skip to content

Add new rule data fields for image metadata#149

Merged
ralphbean merged 2 commits intorelease-engineering:mainfrom
joejstuart:EC-1297
Jul 1, 2025
Merged

Add new rule data fields for image metadata#149
ralphbean merged 2 commits intorelease-engineering:mainfrom
joejstuart:EC-1297

Conversation

@joejstuart
Copy link
Contributor

This adds two new fields to rule_data:

  • cpe for identifying the CPE name of the image
  • org.opencontainers.image.created for the image creation timestamp

https://issues.redhat.com/browse/EC-1297

- name: cpe
description: >-
The CPE (Common Platform Enumeration) identifier for the product, e.g., cpe:/a:redhat:openshift_gitops:1.16::el8. This label is required for on-prem product releases.
effective_on: "2026-06-07T00:00:00Z"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The date is in the past already, so it's going to have no effect and might as well be omitted. Did you mean to set it to some time in the future?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry I didn't read it properly. 2026. Disregard!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, when other changes are ready, we'll need to pull this date in sooner - but it's a decent working date for now: 1 year from now.

@ralphbean
Copy link
Member

@joejstuart this needs a rebase on main now to resolve merge conflicts.

This adds two new fields to rule_data:
- `cpe` for identifying the CPE name of the image
- `org.opencontainers.image.created` for the image
  creation timestamp

https://issues.redhat.com/browse/EC-1297
@joejstuart
Copy link
Contributor Author

/retest

@joejstuart
Copy link
Contributor Author

@ralphbean this is ready if it looks good to you.

@ralphbean ralphbean merged commit 1bad2ab into release-engineering:main Jul 1, 2025
2 checks passed
ralphbean added a commit to ralphbean/stackrox--stackrox that referenced this pull request Sep 9, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to
a name and cpe label that it can use to look up the image in VEX
statements.

See also release-engineering/rhtap-ec-policy#149
ralphbean added a commit to ralphbean/stackrox--stackrox that referenced this pull request Sep 9, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to
a name and cpe label that it can use to look up the image in VEX
statements.

See also release-engineering/rhtap-ec-policy#149
ralphbean added a commit to ralphbean/stackrox--stackrox that referenced this pull request Sep 9, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to
a name and cpe label that it can use to look up the image in VEX
statements.

See also release-engineering/rhtap-ec-policy#149
ralphbean added a commit to ralphbean/stackrox--collector that referenced this pull request Sep 9, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to
a name and cpe label that it can use to look up the image in VEX
statements.

See also:

* stackrox/stackrox#16735
* release-engineering/rhtap-ec-policy#149
ralphbean added a commit to ralphbean/stackrox--scanner that referenced this pull request Sep 9, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to
a name and cpe label that it can use to look up the image in VEX
statements.

See also:

* stackrox/stackrox#16735
* release-engineering/rhtap-ec-policy#149
ralphbean added a commit to redhat-appstudio/tssc-dev-multi-ci that referenced this pull request Sep 11, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

See also release-engineering/rhtap-ec-policy#149
ralphbean added a commit to redhat-appstudio/tssc-dev-multi-ci that referenced this pull request Sep 11, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

See also release-engineering/rhtap-ec-policy#149

Signed-off-by: Ralph Bean <rbean@redhat.com>
ralphbean added a commit to redhat-appstudio/tssc-cli that referenced this pull request Sep 11, 2025
…ap-cli-rhel9

For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

See also release-engineering/rhtap-ec-policy#149

Signed-off-by: Ralph Bean <rbean@redhat.com>
ralphbean added a commit to redhat-appstudio/tssc-dev-multi-ci that referenced this pull request Sep 11, 2025
…nner/rhtap-task-runner-rhel9

For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

See also release-engineering/rhtap-ec-policy#149

Signed-off-by: Ralph Bean <rbean@redhat.com>
ralphbean added a commit to ralphbean/stolostron--acm-cli that referenced this pull request Sep 11, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

See also release-engineering/rhtap-ec-policy#149

Signed-off-by: Ralph Bean <rbean@redhat.com>
Assisted-by: Gemini
ralphbean added a commit to ralphbean/stolostron--acm-cli that referenced this pull request Sep 11, 2025
For https://issues.redhat.com/browse/KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

See also release-engineering/rhtap-ec-policy#149

Signed-off-by: Ralph Bean <rbean@redhat.com>
Assisted-by: Gemini
This was referenced Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants