@google-cloud/containeranalysis
Version:
Containeranalysis client for Node.js
1,670 lines (1,669 loc) • 267 kB
JSON
{
"nested": {
"grafeas": {
"nested": {
"v1": {
"options": {
"go_package": "google.golang.org/genproto/googleapis/grafeas/v1;grafeas",
"java_multiple_files": true,
"java_package": "io.grafeas.v1",
"objc_class_prefix": "GRA",
"java_outer_classname": "CVSSProto",
"(google.api.resource_definition).type": "grafeas.io/Project",
"(google.api.resource_definition).pattern": "projects/{project}"
},
"nested": {
"Severity": {
"values": {
"SEVERITY_UNSPECIFIED": 0,
"MINIMAL": 1,
"LOW": 2,
"MEDIUM": 3,
"HIGH": 4,
"CRITICAL": 5
}
},
"AttestationNote": {
"fields": {
"hint": {
"type": "Hint",
"id": 1
}
},
"nested": {
"Hint": {
"fields": {
"humanReadableName": {
"type": "string",
"id": 1
}
}
}
}
},
"Jwt": {
"fields": {
"compactJwt": {
"type": "string",
"id": 1
}
}
},
"AttestationOccurrence": {
"fields": {
"serializedPayload": {
"type": "bytes",
"id": 1
},
"signatures": {
"rule": "repeated",
"type": "Signature",
"id": 2
},
"jwts": {
"rule": "repeated",
"type": "Jwt",
"id": 3
}
}
},
"NoteKind": {
"values": {
"NOTE_KIND_UNSPECIFIED": 0,
"VULNERABILITY": 1,
"BUILD": 2,
"IMAGE": 3,
"PACKAGE": 4,
"DEPLOYMENT": 5,
"DISCOVERY": 6,
"ATTESTATION": 7,
"UPGRADE": 8,
"COMPLIANCE": 9,
"DSSE_ATTESTATION": 10,
"VULNERABILITY_ASSESSMENT": 11,
"SBOM_REFERENCE": 12,
"SECRET": 13
}
},
"RelatedUrl": {
"fields": {
"url": {
"type": "string",
"id": 1
},
"label": {
"type": "string",
"id": 2
}
}
},
"Signature": {
"fields": {
"signature": {
"type": "bytes",
"id": 1
},
"publicKeyId": {
"type": "string",
"id": 2
}
}
},
"Envelope": {
"fields": {
"payload": {
"type": "bytes",
"id": 1
},
"payloadType": {
"type": "string",
"id": 2
},
"signatures": {
"rule": "repeated",
"type": "EnvelopeSignature",
"id": 3
}
}
},
"EnvelopeSignature": {
"fields": {
"sig": {
"type": "bytes",
"id": 1
},
"keyid": {
"type": "string",
"id": 2
}
}
},
"FileLocation": {
"fields": {
"filePath": {
"type": "string",
"id": 1
},
"layerDetails": {
"type": "LayerDetails",
"id": 2
}
}
},
"BaseImage": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"repository": {
"type": "string",
"id": 2
},
"layerCount": {
"type": "int32",
"id": 3
}
}
},
"LayerDetails": {
"fields": {
"index": {
"type": "int32",
"id": 1
},
"diffId": {
"type": "string",
"id": 2
},
"chainId": {
"type": "string",
"id": 5
},
"command": {
"type": "string",
"id": 3
},
"baseImages": {
"rule": "repeated",
"type": "BaseImage",
"id": 4
}
}
},
"License": {
"fields": {
"expression": {
"type": "string",
"id": 1
},
"comments": {
"type": "string",
"id": 2
}
}
},
"Digest": {
"fields": {
"algo": {
"type": "string",
"id": 1
},
"digestBytes": {
"type": "bytes",
"id": 2
}
}
},
"BuildNote": {
"fields": {
"builderVersion": {
"type": "string",
"id": 1
}
}
},
"BuildOccurrence": {
"fields": {
"provenance": {
"type": "grafeas.v1.BuildProvenance",
"id": 1
},
"provenanceBytes": {
"type": "string",
"id": 2
},
"intotoProvenance": {
"type": "InTotoProvenance",
"id": 3
},
"intotoStatement": {
"type": "InTotoStatement",
"id": 4
},
"inTotoSlsaProvenanceV1": {
"type": "InTotoSlsaProvenanceV1",
"id": 5
}
}
},
"Recipe": {
"fields": {
"type": {
"type": "string",
"id": 1
},
"definedInMaterial": {
"type": "int64",
"id": 2
},
"entryPoint": {
"type": "string",
"id": 3
},
"arguments": {
"rule": "repeated",
"type": "google.protobuf.Any",
"id": 4
},
"environment": {
"rule": "repeated",
"type": "google.protobuf.Any",
"id": 5
}
}
},
"Completeness": {
"fields": {
"arguments": {
"type": "bool",
"id": 1
},
"environment": {
"type": "bool",
"id": 2
},
"materials": {
"type": "bool",
"id": 3
}
}
},
"Metadata": {
"fields": {
"buildInvocationId": {
"type": "string",
"id": 1
},
"buildStartedOn": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"buildFinishedOn": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"completeness": {
"type": "Completeness",
"id": 4
},
"reproducible": {
"type": "bool",
"id": 5
}
}
},
"BuilderConfig": {
"fields": {
"id": {
"type": "string",
"id": 1
}
}
},
"InTotoProvenance": {
"fields": {
"builderConfig": {
"type": "BuilderConfig",
"id": 1
},
"recipe": {
"type": "Recipe",
"id": 2
},
"metadata": {
"type": "Metadata",
"id": 3
},
"materials": {
"rule": "repeated",
"type": "string",
"id": 4
}
}
},
"InTotoStatement": {
"oneofs": {
"predicate": {
"oneof": [
"provenance",
"slsaProvenance",
"slsaProvenanceZeroTwo"
]
}
},
"fields": {
"type": {
"type": "string",
"id": 1,
"options": {
"json_name": "_type"
}
},
"subject": {
"rule": "repeated",
"type": "Subject",
"id": 2
},
"predicateType": {
"type": "string",
"id": 3
},
"provenance": {
"type": "InTotoProvenance",
"id": 4
},
"slsaProvenance": {
"type": "SlsaProvenance",
"id": 5
},
"slsaProvenanceZeroTwo": {
"type": "SlsaProvenanceZeroTwo",
"id": 6
}
}
},
"Subject": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"digest": {
"keyType": "string",
"type": "string",
"id": 2
}
}
},
"InTotoSlsaProvenanceV1": {
"fields": {
"type": {
"type": "string",
"id": 1,
"options": {
"json_name": "_type"
}
},
"subject": {
"rule": "repeated",
"type": "Subject",
"id": 2
},
"predicateType": {
"type": "string",
"id": 3
},
"predicate": {
"type": "SlsaProvenanceV1",
"id": 4
}
},
"nested": {
"SlsaProvenanceV1": {
"fields": {
"buildDefinition": {
"type": "BuildDefinition",
"id": 1
},
"runDetails": {
"type": "RunDetails",
"id": 2
}
}
},
"BuildDefinition": {
"fields": {
"buildType": {
"type": "string",
"id": 1
},
"externalParameters": {
"type": "google.protobuf.Struct",
"id": 2
},
"internalParameters": {
"type": "google.protobuf.Struct",
"id": 3
},
"resolvedDependencies": {
"rule": "repeated",
"type": "ResourceDescriptor",
"id": 4
}
}
},
"ResourceDescriptor": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"uri": {
"type": "string",
"id": 2
},
"digest": {
"keyType": "string",
"type": "string",
"id": 3
},
"content": {
"type": "bytes",
"id": 4
},
"downloadLocation": {
"type": "string",
"id": 5
},
"mediaType": {
"type": "string",
"id": 6
},
"annotations": {
"keyType": "string",
"type": "google.protobuf.Value",
"id": 7
}
}
},
"RunDetails": {
"fields": {
"builder": {
"type": "ProvenanceBuilder",
"id": 1
},
"metadata": {
"type": "BuildMetadata",
"id": 2
},
"byproducts": {
"rule": "repeated",
"type": "ResourceDescriptor",
"id": 3
}
}
},
"ProvenanceBuilder": {
"fields": {
"id": {
"type": "string",
"id": 1
},
"version": {
"keyType": "string",
"type": "string",
"id": 2
},
"builderDependencies": {
"rule": "repeated",
"type": "ResourceDescriptor",
"id": 3
}
}
},
"BuildMetadata": {
"fields": {
"invocationId": {
"type": "string",
"id": 1
},
"startedOn": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"finishedOn": {
"type": "google.protobuf.Timestamp",
"id": 3
}
}
}
}
},
"SlsaProvenance": {
"fields": {
"builder": {
"type": "SlsaBuilder",
"id": 1
},
"recipe": {
"type": "SlsaRecipe",
"id": 2
},
"metadata": {
"type": "SlsaMetadata",
"id": 3
},
"materials": {
"rule": "repeated",
"type": "Material",
"id": 4
}
},
"nested": {
"SlsaRecipe": {
"fields": {
"type": {
"type": "string",
"id": 1
},
"definedInMaterial": {
"type": "int64",
"id": 2
},
"entryPoint": {
"type": "string",
"id": 3
},
"arguments": {
"type": "google.protobuf.Any",
"id": 4
},
"environment": {
"type": "google.protobuf.Any",
"id": 5
}
}
},
"SlsaCompleteness": {
"fields": {
"arguments": {
"type": "bool",
"id": 1
},
"environment": {
"type": "bool",
"id": 2
},
"materials": {
"type": "bool",
"id": 3
}
}
},
"SlsaMetadata": {
"fields": {
"buildInvocationId": {
"type": "string",
"id": 1
},
"buildStartedOn": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"buildFinishedOn": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"completeness": {
"type": "SlsaCompleteness",
"id": 4
},
"reproducible": {
"type": "bool",
"id": 5
}
}
},
"SlsaBuilder": {
"fields": {
"id": {
"type": "string",
"id": 1
}
}
},
"Material": {
"fields": {
"uri": {
"type": "string",
"id": 1
},
"digest": {
"keyType": "string",
"type": "string",
"id": 2
}
}
}
}
},
"SlsaProvenanceZeroTwo": {
"fields": {
"builder": {
"type": "SlsaBuilder",
"id": 1
},
"buildType": {
"type": "string",
"id": 2
},
"invocation": {
"type": "SlsaInvocation",
"id": 3
},
"buildConfig": {
"type": "google.protobuf.Struct",
"id": 4
},
"metadata": {
"type": "SlsaMetadata",
"id": 5
},
"materials": {
"rule": "repeated",
"type": "SlsaMaterial",
"id": 6
}
},
"nested": {
"SlsaBuilder": {
"fields": {
"id": {
"type": "string",
"id": 1
}
}
},
"SlsaMaterial": {
"fields": {
"uri": {
"type": "string",
"id": 1
},
"digest": {
"keyType": "string",
"type": "string",
"id": 2
}
}
},
"SlsaInvocation": {
"fields": {
"configSource": {
"type": "SlsaConfigSource",
"id": 1
},
"parameters": {
"type": "google.protobuf.Struct",
"id": 2
},
"environment": {
"type": "google.protobuf.Struct",
"id": 3
}
}
},
"SlsaConfigSource": {
"fields": {
"uri": {
"type": "string",
"id": 1
},
"digest": {
"keyType": "string",
"type": "string",
"id": 2
},
"entryPoint": {
"type": "string",
"id": 3
}
}
},
"SlsaMetadata": {
"fields": {
"buildInvocationId": {
"type": "string",
"id": 1
},
"buildStartedOn": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"buildFinishedOn": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"completeness": {
"type": "SlsaCompleteness",
"id": 4
},
"reproducible": {
"type": "bool",
"id": 5
}
}
},
"SlsaCompleteness": {
"fields": {
"parameters": {
"type": "bool",
"id": 1
},
"environment": {
"type": "bool",
"id": 2
},
"materials": {
"type": "bool",
"id": 3
}
}
}
}
},
"BuildProvenance": {
"fields": {
"id": {
"type": "string",
"id": 1
},
"projectId": {
"type": "string",
"id": 2
},
"commands": {
"rule": "repeated",
"type": "Command",
"id": 3
},
"builtArtifacts": {
"rule": "repeated",
"type": "Artifact",
"id": 4
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 5
},
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 6
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 7
},
"creator": {
"type": "string",
"id": 8
},
"logsUri": {
"type": "string",
"id": 9
},
"sourceProvenance": {
"type": "Source",
"id": 10
},
"triggerId": {
"type": "string",
"id": 11
},
"buildOptions": {
"keyType": "string",
"type": "string",
"id": 12
},
"builderVersion": {
"type": "string",
"id": 13
}
}
},
"Source": {
"fields": {
"artifactStorageSourceUri": {
"type": "string",
"id": 1
},
"fileHashes": {
"keyType": "string",
"type": "FileHashes",
"id": 2
},
"context": {
"type": "SourceContext",
"id": 3
},
"additionalContexts": {
"rule": "repeated",
"type": "SourceContext",
"id": 4
}
}
},
"FileHashes": {
"fields": {
"fileHash": {
"rule": "repeated",
"type": "Hash",
"id": 1
}
}
},
"Hash": {
"fields": {
"type": {
"type": "string",
"id": 1
},
"value": {
"type": "bytes",
"id": 2
}
}
},
"Command": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"env": {
"rule": "repeated",
"type": "string",
"id": 2
},
"args": {
"rule": "repeated",
"type": "string",
"id": 3
},
"dir": {
"type": "string",
"id": 4
},
"id": {
"type": "string",
"id": 5
},
"waitFor": {
"rule": "repeated",
"type": "string",
"id": 6
}
}
},
"Artifact": {
"fields": {
"checksum": {
"type": "string",
"id": 1
},
"id": {
"type": "string",
"id": 2
},
"names": {
"rule": "repeated",
"type": "string",
"id": 3
}
}
},
"SourceContext": {
"oneofs": {
"context": {
"oneof": [
"cloudRepo",
"gerrit",
"git"
]
}
},
"fields": {
"cloudRepo": {
"type": "CloudRepoSourceContext",
"id": 1
},
"gerrit": {
"type": "GerritSourceContext",
"id": 2
},
"git": {
"type": "GitSourceContext",
"id": 3
},
"labels": {
"keyType": "string",
"type": "string",
"id": 4
}
}
},
"AliasContext": {
"fields": {
"kind": {
"type": "Kind",
"id": 1
},
"name": {
"type": "string",
"id": 2
}
},
"nested": {
"Kind": {
"values": {
"KIND_UNSPECIFIED": 0,
"FIXED": 1,
"MOVABLE": 2,
"OTHER": 4
}
}
}
},
"CloudRepoSourceContext": {
"oneofs": {
"revision": {
"oneof": [
"revisionId",
"aliasContext"
]
}
},
"fields": {
"repoId": {
"type": "RepoId",
"id": 1
},
"revisionId": {
"type": "string",
"id": 2
},
"aliasContext": {
"type": "AliasContext",
"id": 3
}
}
},
"GerritSourceContext": {
"oneofs": {
"revision": {
"oneof": [
"revisionId",
"aliasContext"
]
}
},
"fields": {
"hostUri": {
"type": "string",
"id": 1
},
"gerritProject": {
"type": "string",
"id": 2
},
"revisionId": {
"type": "string",
"id": 3
},
"aliasContext": {
"type": "AliasContext",
"id": 4
}
}
},
"GitSourceContext": {
"fields": {
"url": {
"type": "string",
"id": 1
},
"revisionId": {
"type": "string",
"id": 2
}
}
},
"RepoId": {
"oneofs": {
"id": {
"oneof": [
"projectRepoId",
"uid"
]
}
},
"fields": {
"projectRepoId": {
"type": "ProjectRepoId",
"id": 1
},
"uid": {
"type": "string",
"id": 2
}
}
},
"ProjectRepoId": {
"fields": {
"projectId": {
"type": "string",
"id": 1
},
"repoName": {
"type": "string",
"id": 2
}
}
},
"ComplianceNote": {
"oneofs": {
"complianceType": {
"oneof": [
"cisBenchmark"
]
},
"potentialImpact": {
"oneof": [
"impact"
]
}
},
"fields": {
"title": {
"type": "string",
"id": 1
},
"description": {
"type": "string",
"id": 2
},
"version": {
"rule": "repeated",
"type": "grafeas.v1.ComplianceVersion",
"id": 3
},
"rationale": {
"type": "string",
"id": 4
},
"remediation": {
"type": "string",
"id": 5
},
"cisBenchmark": {
"type": "CisBenchmark",
"id": 6
},
"scanInstructions": {
"type": "bytes",
"id": 7
},
"impact": {
"type": "string",
"id": 8
}
},
"nested": {
"CisBenchmark": {
"fields": {
"profileLevel": {
"type": "int32",
"id": 1
},
"severity": {
"type": "grafeas.v1.Severity",
"id": 2
}
}
}
}
},
"ComplianceVersion": {
"fields": {
"cpeUri": {
"type": "string",
"id": 1
},
"benchmarkDocument": {
"type": "string",
"id": 3
},
"version": {
"type": "string",
"id": 2
}
}
},
"ComplianceOccurrence": {
"fields": {
"nonCompliantFiles": {
"rule": "repeated",
"type": "NonCompliantFile",
"id": 2
},
"nonComplianceReason": {
"type": "string",
"id": 3
},
"version": {
"type": "grafeas.v1.ComplianceVersion",
"id": 4
}
}
},
"NonCompliantFile": {
"fields": {
"path": {
"type": "string",
"id": 1
},
"displayCommand": {
"type": "string",
"id": 2
},
"reason": {
"type": "string",
"id": 3
}
}
},
"CVSSv3": {
"fields": {
"baseScore": {
"type": "float",
"id": 1
},
"exploitabilityScore": {
"type": "float",
"id": 2
},
"impactScore": {
"type": "float",
"id": 3
},
"attackVector": {
"type": "AttackVector",
"id": 5
},
"attackComplexity": {
"type": "AttackComplexity",
"id": 6
},
"privilegesRequired": {
"type": "PrivilegesRequired",
"id": 7
},
"userInteraction": {
"type": "UserInteraction",
"id": 8
},
"scope": {
"type": "Scope",
"id": 9
},
"confidentialityImpact": {
"type": "Impact",
"id": 10
},
"integrityImpact": {
"type": "Impact",
"id": 11
},
"availabilityImpact": {
"type": "Impact",
"id": 12
}
},
"nested": {
"AttackVector": {
"values": {
"ATTACK_VECTOR_UNSPECIFIED": 0,
"ATTACK_VECTOR_NETWORK": 1,
"ATTACK_VECTOR_ADJACENT": 2,
"ATTACK_VECTOR_LOCAL": 3,
"ATTACK_VECTOR_PHYSICAL": 4
}
},
"AttackComplexity": {
"values": {
"ATTACK_COMPLEXITY_UNSPECIFIED": 0,
"ATTACK_COMPLEXITY_LOW": 1,
"ATTACK_COMPLEXITY_HIGH": 2
}
},
"PrivilegesRequired": {
"values": {
"PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
"PRIVILEGES_REQUIRED_NONE": 1,
"PRIVILEGES_REQUIRED_LOW": 2,
"PRIVILEGES_REQUIRED_HIGH": 3
}
},
"UserInteraction": {
"values": {
"USER_INTERACTION_UNSPECIFIED": 0,
"USER_INTERACTION_NONE": 1,
"USER_INTERACTION_REQUIRED": 2
}
},
"Scope": {
"values": {
"SCOPE_UNSPECIFIED": 0,
"SCOPE_UNCHANGED": 1,
"SCOPE_CHANGED": 2
}
},
"Impact": {
"values": {
"IMPACT_UNSPECIFIED": 0,
"IMPACT_HIGH": 1,
"IMPACT_LOW": 2,
"IMPACT_NONE": 3
}
}
}
},
"CVSS": {
"fields": {
"baseScore": {
"type": "float",
"id": 1
},
"exploitabilityScore": {
"type": "float",
"id": 2
},
"impactScore": {
"type": "float",
"id": 3
},
"attackVector": {
"type": "AttackVector",
"id": 4
},
"attackComplexity": {
"type": "AttackComplexity",
"id": 5
},
"authentication": {
"type": "Authentication",
"id": 6
},
"privilegesRequired": {
"type": "PrivilegesRequired",
"id": 7
},
"userInteraction": {
"type": "UserInteraction",
"id": 8
},
"scope": {
"type": "Scope",
"id": 9
},
"confidentialityImpact": {
"type": "Impact",
"id": 10
},
"integrityImpact": {
"type": "Impact",
"id": 11
},
"availabilityImpact": {
"type": "Impact",
"id": 12
}
},
"nested": {
"AttackVector": {
"values": {
"ATTACK_VECTOR_UNSPECIFIED": 0,
"ATTACK_VECTOR_NETWORK": 1,
"ATTACK_VECTOR_ADJACENT": 2,
"ATTACK_VECTOR_LOCAL": 3,
"ATTACK_VECTOR_PHYSICAL": 4
}
},
"AttackComplexity": {
"values": {
"ATTACK_COMPLEXITY_UNSPECIFIED": 0,
"ATTACK_COMPLEXITY_LOW": 1,
"ATTACK_COMPLEXITY_HIGH": 2,
"ATTACK_COMPLEXITY_MEDIUM": 3
}
},
"Authentication": {
"values": {
"AUTHENTICATION_UNSPECIFIED": 0,
"AUTHENTICATION_MULTIPLE": 1,
"AUTHENTICATION_SINGLE": 2,
"AUTHENTICATION_NONE": 3
}
},
"PrivilegesRequired": {
"values": {
"PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
"PRIVILEGES_REQUIRED_NONE": 1,
"PRIVILEGES_REQUIRED_LOW": 2,
"PRIVILEGES_REQUIRED_HIGH": 3
}
},
"UserInteraction": {
"values": {
"USER_INTERACTION_UNSPECIFIED": 0,
"USER_INTERACTION_NONE": 1,
"USER_INTERACTION_REQUIRED": 2
}
},
"Scope": {
"values": {
"SCOPE_UNSPECIFIED": 0,
"SCOPE_UNCHANGED": 1,
"SCOPE_CHANGED": 2
}
},
"Impact": {
"values": {
"IMPACT_UNSPECIFIED": 0,
"IMPACT_HIGH": 1,
"IMPACT_LOW": 2,
"IMPACT_NONE": 3,
"IMPACT_PARTIAL": 4,
"IMPACT_COMPLETE": 5
}
}
}
},
"CVSSVersion": {
"values": {
"CVSS_VERSION_UNSPECIFIED": 0,
"CVSS_VERSION_2": 1,
"CVSS_VERSION_3": 2
}
},
"DeploymentNote": {
"fields": {
"resourceUri": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"DeploymentOccurrence": {
"fields": {
"userEmail": {
"type": "string",
"id": 1
},
"deployTime": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"undeployTime": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"config": {
"type": "string",
"id": 4
},
"address": {
"type": "string",
"id": 5
},
"resourceUri": {
"rule": "repeated",
"type": "string",
"id": 6
},
"platform": {
"type": "Platform",
"id": 7
}
},
"nested": {
"Platform": {
"values": {
"PLATFORM_UNSPECIFIED": 0,
"GKE": 1,
"FLEX": 2,
"CUSTOM": 3
}
}
}
},
"DiscoveryNote": {
"fields": {
"analysisKind": {
"type": "grafeas.v1.NoteKind",
"id": 1
}
}
},
"DiscoveryOccurrence": {
"fields": {
"continuousAnalysis": {
"type": "ContinuousAnalysis",
"id": 1
},
"analysisStatus": {
"type": "AnalysisStatus",
"id": 2
},
"analysisCompleted": {
"type": "AnalysisCompleted",
"id": 7
},
"analysisError": {
"rule": "repeated",
"type": "google.rpc.Status",
"id": 8
},
"analysisStatusError": {
"type": "google.rpc.Status",
"id": 3
},
"cpe": {
"type": "string",
"id": 4
},
"lastScanTime": {
"type": "google.protobuf.Timestamp",
"id": 5
},
"archiveTime": {
"type": "google.protobuf.Timestamp",
"id": 6,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"sbomStatus": {
"type": "SBOMStatus",
"id": 9
},
"vulnerabilityAttestation": {
"type": "VulnerabilityAttestation",
"id": 10
}
},
"nested": {
"ContinuousAnalysis": {
"values": {
"CONTINUOUS_ANALYSIS_UNSPECIFIED": 0,
"ACTIVE": 1,
"INACTIVE": 2
}
},
"AnalysisStatus": {
"options": {
"allow_alias": true
},
"values": {
"ANALYSIS_STATUS_UNSPECIFIED": 0,
"PENDING": 1,
"SCANNING": 2,
"FINISHED_SUCCESS": 3,
"COMPLETE": 3,
"FINISHED_FAILED": 4,
"FINISHED_UNSUPPORTED": 5
}
},
"AnalysisCompleted": {
"fields": {
"analysisType": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"SBOMStatus": {
"fields": {
"sbomState": {
"type": "SBOMState",
"id": 1
},
"error": {
"type": "string",
"id": 2
}
},
"nested": {
"SBOMState": {
"values": {
"SBOM_STATE_UNSPECIFIED": 0,
"PENDING": 1,
"COMPLETE": 2
}
}
}
},
"VulnerabilityAttestation": {
"fields": {
"lastAttemptTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"state": {
"type": "VulnerabilityAttestationState",
"id": 2
},
"error": {
"type": "string",
"id": 3
}
},
"nested": {
"VulnerabilityAttestationState": {
"values": {
"VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED": 0,
"SUCCESS": 1,
"FAILURE": 2
}
}
}
}
}
},
"DSSEAttestationNote": {
"fields": {
"hint": {
"type": "DSSEHint",
"id": 1
}
},
"nested": {
"DSSEHint": {
"fields": {
"humanReadableName": {
"type": "string",
"id": 1
}
}
}
}
},
"DSSEAttestationOccurrence": {
"oneofs": {
"decodedPayload": {
"oneof": [
"statement"
]
}
},
"fields": {
"envelope": {
"type": "Envelope",
"id": 1
},
"statement": {
"type": "InTotoStatement",
"id": 2
}
}
},
"Grafeas": {
"options": {
"(google.api.default_host)": "containeranalysis.googleapis.com"
},
"methods": {
"GetOccurrence": {
"requestType": "GetOccurrenceRequest",
"responseType": "Occurrence",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/occurrences/*}",
"(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/occurrences/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/occurrences/*}",
"additional_bindings": {
"get": "/v1/{name=projects/*/locations/*/occurrences/*}"
}
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ListOccurrences": {
"requestType": "ListOccurrencesRequest",
"responseType": "ListOccurrencesResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*}/occurrences",
"(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*}/occurrences",
"(google.api.method_signature)": "parent,filter"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*}/occurrences",
"additional_bindings": {
"get": "/v1/{parent=projects/*/locations/*}/occurrences"
}
}
},
{
"(google.api.method_signature)": "parent,filter"
}