|
1771 | 1771 | }
|
1772 | 1772 | }
|
1773 | 1773 | },
|
1774 |
| - "revision": "20250829", |
| 1774 | + "revision": "20250905", |
1775 | 1775 | "rootUrl": "https://containeranalysis.googleapis.com/",
|
1776 | 1776 | "schemas": {
|
1777 | 1777 | "AliasContext": {
|
|
4458 | 4458 | "SPDX_FILE",
|
4459 | 4459 | "SPDX_RELATIONSHIP",
|
4460 | 4460 | "VULNERABILITY_ASSESSMENT",
|
4461 |
| - "SBOM_REFERENCE" |
| 4461 | + "SBOM_REFERENCE", |
| 4462 | + "SECRET" |
4462 | 4463 | ],
|
4463 | 4464 | "enumDescriptions": [
|
4464 | 4465 | "Default value. This value is unused.",
|
|
4475 | 4476 | "This represents an SPDX File.",
|
4476 | 4477 | "This represents an SPDX Relationship.",
|
4477 | 4478 | "This represents a Vulnerability Assessment.",
|
4478 |
| - "This represents an SBOM Reference." |
| 4479 | + "This represents an SBOM Reference.", |
| 4480 | + "This represents a secret." |
4479 | 4481 | ],
|
4480 | 4482 | "type": "string"
|
4481 | 4483 | }
|
|
4746 | 4748 | },
|
4747 | 4749 | "type": "object"
|
4748 | 4750 | },
|
| 4751 | + "FileLocation": { |
| 4752 | + "description": "Indicates the location at which a package was found.", |
| 4753 | + "id": "FileLocation", |
| 4754 | + "properties": { |
| 4755 | + "filePath": { |
| 4756 | + "description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.", |
| 4757 | + "type": "string" |
| 4758 | + } |
| 4759 | + }, |
| 4760 | + "type": "object" |
| 4761 | + }, |
4749 | 4762 | "FileNote": {
|
4750 | 4763 | "description": "FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/",
|
4751 | 4764 | "id": "FileNote",
|
|
5698 | 5711 | "SPDX_FILE",
|
5699 | 5712 | "SPDX_RELATIONSHIP",
|
5700 | 5713 | "VULNERABILITY_ASSESSMENT",
|
5701 |
| - "SBOM_REFERENCE" |
| 5714 | + "SBOM_REFERENCE", |
| 5715 | + "SECRET" |
5702 | 5716 | ],
|
5703 | 5717 | "enumDescriptions": [
|
5704 | 5718 | "Default value. This value is unused.",
|
|
5715 | 5729 | "This represents an SPDX File.",
|
5716 | 5730 | "This represents an SPDX Relationship.",
|
5717 | 5731 | "This represents a Vulnerability Assessment.",
|
5718 |
| - "This represents an SBOM Reference." |
| 5732 | + "This represents an SBOM Reference.", |
| 5733 | + "This represents a secret." |
5719 | 5734 | ],
|
5720 | 5735 | "type": "string"
|
5721 | 5736 | },
|
|
5753 | 5768 | "$ref": "SBOMReferenceNote",
|
5754 | 5769 | "description": "A note describing an SBOM reference."
|
5755 | 5770 | },
|
| 5771 | + "secret": { |
| 5772 | + "$ref": "SecretNote", |
| 5773 | + "description": "A note describing a secret." |
| 5774 | + }, |
5756 | 5775 | "shortDescription": {
|
5757 | 5776 | "description": "A one sentence description of this note.",
|
5758 | 5777 | "type": "string"
|
|
5843 | 5862 | "SPDX_FILE",
|
5844 | 5863 | "SPDX_RELATIONSHIP",
|
5845 | 5864 | "VULNERABILITY_ASSESSMENT",
|
5846 |
| - "SBOM_REFERENCE" |
| 5865 | + "SBOM_REFERENCE", |
| 5866 | + "SECRET" |
5847 | 5867 | ],
|
5848 | 5868 | "enumDescriptions": [
|
5849 | 5869 | "Default value. This value is unused.",
|
|
5860 | 5880 | "This represents an SPDX File.",
|
5861 | 5881 | "This represents an SPDX Relationship.",
|
5862 | 5882 | "This represents a Vulnerability Assessment.",
|
5863 |
| - "This represents an SBOM Reference." |
| 5883 | + "This represents an SBOM Reference.", |
| 5884 | + "This represents a secret." |
5864 | 5885 | ],
|
5865 | 5886 | "type": "string"
|
5866 | 5887 | },
|
|
5888 | 5909 | "$ref": "SBOMReferenceOccurrence",
|
5889 | 5910 | "description": "Describes a specific SBOM reference occurrences."
|
5890 | 5911 | },
|
| 5912 | + "secret": { |
| 5913 | + "$ref": "SecretOccurrence", |
| 5914 | + "description": "Describes a secret." |
| 5915 | + }, |
5891 | 5916 | "spdxFile": {
|
5892 | 5917 | "$ref": "FileOccurrence",
|
5893 | 5918 | "description": "Describes a specific SPDX File."
|
|
6770 | 6795 | },
|
6771 | 6796 | "type": "object"
|
6772 | 6797 | },
|
| 6798 | + "SecretLocation": { |
| 6799 | + "description": "The location of the secret.", |
| 6800 | + "id": "SecretLocation", |
| 6801 | + "properties": { |
| 6802 | + "fileLocation": { |
| 6803 | + "$ref": "FileLocation", |
| 6804 | + "description": "The secret is found from a file." |
| 6805 | + } |
| 6806 | + }, |
| 6807 | + "type": "object" |
| 6808 | + }, |
| 6809 | + "SecretNote": { |
| 6810 | + "description": "The note representing a secret.", |
| 6811 | + "id": "SecretNote", |
| 6812 | + "properties": {}, |
| 6813 | + "type": "object" |
| 6814 | + }, |
| 6815 | + "SecretOccurrence": { |
| 6816 | + "description": "The occurrence provides details of a secret.", |
| 6817 | + "id": "SecretOccurrence", |
| 6818 | + "properties": { |
| 6819 | + "kind": { |
| 6820 | + "description": "Required. Type of secret.", |
| 6821 | + "enum": [ |
| 6822 | + "SECRET_KIND_UNSPECIFIED", |
| 6823 | + "SECRET_KIND_UNKNOWN", |
| 6824 | + "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" |
| 6825 | + ], |
| 6826 | + "enumDescriptions": [ |
| 6827 | + "Unspecified", |
| 6828 | + "The secret kind is unknown.", |
| 6829 | + "A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys" |
| 6830 | + ], |
| 6831 | + "type": "string" |
| 6832 | + }, |
| 6833 | + "locations": { |
| 6834 | + "description": "Optional. Locations where the secret is detected.", |
| 6835 | + "items": { |
| 6836 | + "$ref": "SecretLocation" |
| 6837 | + }, |
| 6838 | + "type": "array" |
| 6839 | + }, |
| 6840 | + "statuses": { |
| 6841 | + "description": "Optional. Status of the secret.", |
| 6842 | + "items": { |
| 6843 | + "$ref": "SecretStatus" |
| 6844 | + }, |
| 6845 | + "type": "array" |
| 6846 | + } |
| 6847 | + }, |
| 6848 | + "type": "object" |
| 6849 | + }, |
| 6850 | + "SecretStatus": { |
| 6851 | + "description": "The status of the secret with a timestamp.", |
| 6852 | + "id": "SecretStatus", |
| 6853 | + "properties": { |
| 6854 | + "message": { |
| 6855 | + "description": "Optional. Optional message about the status code.", |
| 6856 | + "type": "string" |
| 6857 | + }, |
| 6858 | + "status": { |
| 6859 | + "description": "Optional. The status of the secret.", |
| 6860 | + "enum": [ |
| 6861 | + "STATUS_UNSPECIFIED", |
| 6862 | + "UNKNOWN", |
| 6863 | + "VALID", |
| 6864 | + "INVALID" |
| 6865 | + ], |
| 6866 | + "enumDescriptions": [ |
| 6867 | + "Unspecified", |
| 6868 | + "The status of the secret is unknown.", |
| 6869 | + "The secret is valid.", |
| 6870 | + "The secret is invalid." |
| 6871 | + ], |
| 6872 | + "type": "string" |
| 6873 | + }, |
| 6874 | + "updateTime": { |
| 6875 | + "description": "Optional. The time the secret status was last updated.", |
| 6876 | + "format": "google-datetime", |
| 6877 | + "type": "string" |
| 6878 | + } |
| 6879 | + }, |
| 6880 | + "type": "object" |
| 6881 | + }, |
6773 | 6882 | "SetIamPolicyRequest": {
|
6774 | 6883 | "description": "Request message for `SetIamPolicy` method.",
|
6775 | 6884 | "id": "SetIamPolicyRequest",
|
|
0 commit comments