project metadata
project metadata get
Get metadata for a project.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Required: ✅
project metadata set
Set metadata for a project.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Required: ✅
Options
--public
<PUBLIC>
The public status of the project. The valid values are "true", "false".
Type: boolean
--content-trust
<ENABLE_CONTENT_TRUST>
Whether content trust is enabled or not. If it is enabled, user can't pull unsigned images from this project. The valid values are "true", "false".
Type: boolean
--content-trust-cosign
<CONTENT_TRUST_COSIGN>
Type: boolean
--prevent-vul
<PREVENT_VUL>
Whether prevent the vulnerable images from running. The valid values are "true", "false".
Type: boolean
--severity
<SEVERITY>
If the vulnerability is high than severity defined here, the images can't be pulled. The valid values are "none", "low", "medium", "high", "critical".
Type: text
--auto-scan
<AUTO_SCAN>
Whether scan images automatically when pushing. The valid values are "true", "false".
Type: boolean
--reuse-sys-cve-allowlist
<REUSE_SYS_CVE_ALLOWLIST>
Whether this project reuse the system level CVE allowlist as the allowlist of its own. The valid values are "true", "false". If it is set to "true" the actual allowlist associate with this project, if any, will be ignored.
Type: boolean
--retention-id
<RETENTION_ID>
The ID of the tag retention policy for the project
Type: integer
--extra
<KEY=VALUE,[KEY=VALUE...]>
Extra metadata to set beyond the fields in the spec. Format: 'key=value'
.
Separate multiple values with commas, or use --extra
multiple times.
Type: text
Default: []