grafeas. v1beta1
Source: index.
Namespaces
Property
Abstract types
Namespaces
attestation
build
deployment
discovery
image
package
provenance
source
vulnerability
Property
NoteKind number
Kind represents the kinds of notes supported.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
NOTE_KIND_UNSPECIFIED |
|
|
Unknown. |
|
VULNERABILITY |
|
|
The note and occurrence represent a package vulnerability. |
|
BUILD |
|
|
The note and occurrence assert build provenance. |
|
IMAGE |
|
|
This represents an image basis relationship. |
|
PACKAGE |
|
|
This represents a package installed via a package manager. |
|
DEPLOYMENT |
|
|
The note and occurrence track deployment events. |
|
DISCOVERY |
|
|
The note and occurrence track the initial discovery status of a resource. |
|
ATTESTATION |
|
|
This represents a logical "role" that can attest to artifacts. |
Abstract types
BatchCreateNotesRequest
Request to create notes in batch.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project in the form of |
|
notes |
Object with Object properties |
|
The notes to create. |
BatchCreateNotesResponse
Response for creating notes in batch.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
notes |
Array of Object |
|
The notes that were created. This object should have the same structure as Note |
BatchCreateOccurrencesRequest
Request to create occurrences in batch.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project in the form of |
|
occurrences |
Array of Object |
|
The occurrences to create. This object should have the same structure as Occurrence |
BatchCreateOccurrencesResponse
Response for creating occurrences in batch.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
occurrences |
Array of Object |
|
The occurrences that were created. This object should have the same structure as Occurrence |
CreateNoteRequest
Request to create a new note.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project in the form of |
|
noteId |
string |
|
The ID to use for this note. |
|
note |
Object |
|
The note to create. This object should have the same structure as Note |
CreateOccurrenceRequest
Request to create a new occurrence.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project in the form of |
|
occurrence |
Object |
|
The occurrence to create. This object should have the same structure as Occurrence |
DeleteNoteRequest
Request to delete a note.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the note in the form of
|
DeleteOccurrenceRequest
Request to delete a occurrence.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the occurrence in the form of
|
FixableTotalByDigest
Per resource and severity counts of fixable and total vulnerabilites.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
resource |
Object |
|
The affected resource. This object should have the same structure as Resource |
|
severity |
number |
|
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. The number should be among the values of Severity |
|
fixableCount |
number |
|
The number of fixable vulnerabilities associated with this resource. |
|
totalCount |
number |
|
The total number of vulnerabilities associated with this resource. |
- See also
-
grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest definition in proto format
GetNoteRequest
Request to get a note.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the note in the form of
|
GetOccurrenceNoteRequest
Request to get the note to which the specified occurrence is attached.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the occurrence in the form of
|
GetOccurrenceRequest
Request to get an occurrence.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the occurrence in the form of
|
GetVulnerabilityOccurrencesSummaryRequest
Request to get a vulnerability summary for some set of occurrences.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project to get a vulnerability summary for in the form of
|
|
filter |
string |
|
The filter expression. |
ListNoteOccurrencesRequest
Request to list occurrences for a note.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the note to list occurrences for in the form of
|
|
filter |
string |
|
The filter expression. |
|
pageSize |
number |
|
Number of occurrences to return in the list. |
|
pageToken |
string |
|
Token to provide to skip to a particular spot in the list. |
ListNoteOccurrencesResponse
Response for listing occurrences for a note.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
occurrences |
Array of Object |
|
The occurrences attached to the specified note. This object should have the same structure as Occurrence |
|
nextPageToken |
string |
|
Token to provide to skip to a particular spot in the list. |
ListNotesRequest
Request to list notes.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project to list notes for in the form of
|
|
filter |
string |
|
The filter expression. |
|
pageSize |
number |
|
Number of notes to return in the list. |
|
pageToken |
string |
|
Token to provide to skip to a particular spot in the list. |
ListNotesResponse
Response for listing notes.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
notes |
Array of Object |
|
The notes requested. This object should have the same structure as Note |
|
nextPageToken |
string |
|
The next pagination token in the list response. It should be used as
|
ListOccurrencesRequest
Request to list occurrences.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
parent |
string |
|
The name of the project to list occurrences for in the form of
|
|
filter |
string |
|
The filter expression. |
|
pageSize |
number |
|
Number of occurrences to return in the list. |
|
pageToken |
string |
|
Token to provide to skip to a particular spot in the list. |
ListOccurrencesResponse
Response for listing occurrences.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
occurrences |
Array of Object |
|
The occurrences requested. This object should have the same structure as Occurrence |
|
nextPageToken |
string |
|
The next pagination token in the list response. It should be used as
|
Note
A type of analysis that can be done for a resource.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
Output only. The name of the note in the form of
|
|
shortDescription |
string |
|
A one sentence description of this note. |
|
longDescription |
string |
|
A detailed description of this note. |
|
kind |
number |
|
Output only. The type of analysis. This field can be used as a filter in list requests. The number should be among the values of NoteKind |
|
relatedUrl |
Array of Object |
|
URLs associated with this note. This object should have the same structure as RelatedUrl |
|
expirationTime |
Object |
|
Time of expiration for this note. Empty if note does not expire. This object should have the same structure as Timestamp |
|
createTime |
Object |
|
Output only. The time this note was created. This field can be used as a filter in list requests. This object should have the same structure as Timestamp |
|
updateTime |
Object |
|
Output only. The time this note was last updated. This field can be used as a filter in list requests. This object should have the same structure as Timestamp |
|
relatedNoteNames |
Array of string |
|
Other notes related to this note. |
|
vulnerability |
Object |
|
A note describing a package vulnerability. This object should have the same structure as Vulnerability |
|
build |
Object |
|
A note describing build provenance for a verifiable build. This object should have the same structure as Build |
|
baseImage |
Object |
|
A note describing a base image. This object should have the same structure as Basis |
|
package |
Object |
|
A note describing a package hosted by various package managers. This object should have the same structure as Package |
|
deployable |
Object |
|
A note describing something that can be deployed. This object should have the same structure as Deployable |
|
discovery |
Object |
|
A note describing the initial analysis of a resource. This object should have the same structure as Discovery |
|
attestationAuthority |
Object |
|
A note describing an attestation role. This object should have the same structure as Authority |
Occurrence
An instance of an analysis type that has been found on a resource.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
Output only. The name of the occurrence in the form of
|
|
resource |
Object |
|
Required. Immutable. The resource for which the occurrence applies. This object should have the same structure as Resource |
|
noteName |
string |
|
Required. Immutable. The analysis note associated with this occurrence, in
the form of |
|
kind |
number |
|
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. The number should be among the values of NoteKind |
|
remediation |
string |
|
A description of actions that can be taken to remedy the note. |
|
createTime |
Object |
|
Output only. The time this occurrence was created. This object should have the same structure as Timestamp |
|
updateTime |
Object |
|
Output only. The time this occurrence was last updated. This object should have the same structure as Timestamp |
|
vulnerability |
Object |
|
Describes a security vulnerability. This object should have the same structure as Details |
|
build |
Object |
|
Describes a verifiable build. This object should have the same structure as Details |
|
derivedImage |
Object |
|
Describes how this resource derives from the basis in the associated note. This object should have the same structure as Details |
|
installation |
Object |
|
Describes the installation of a package on the linked resource. This object should have the same structure as Details |
|
deployment |
Object |
|
Describes the deployment of an artifact on a runtime. This object should have the same structure as Details |
|
discovered |
Object |
|
Describes when a resource was discovered. This object should have the same structure as Details |
|
attestation |
Object |
|
Describes an attestation of an artifact. This object should have the same structure as Details |
RelatedUrl
Metadata for any related URL information.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
url |
string |
|
Specific URL associated with the resource. |
|
label |
string |
|
Label to describe usage of the URL. |
Resource
An entity that can have metadata. For example, a Docker image.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the resource. For example, the name of a Docker image - "Debian". |
|
uri |
string |
|
The unique URI of the resource. For example,
|
|
contentHash |
Object |
|
The hash of the resource content. For example, the Docker digest. This object should have the same structure as Hash |
UpdateNoteRequest
Request to update a note.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the note in the form of
|
|
note |
Object |
|
The updated note. This object should have the same structure as Note |
|
updateMask |
Object |
|
The fields to update. This object should have the same structure as FieldMask |
UpdateOccurrenceRequest
Request to update an occurrence.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The name of the occurrence in the form of
|
|
occurrence |
Object |
|
The updated occurrence. This object should have the same structure as Occurrence |
|
updateMask |
Object |
|
The fields to update. This object should have the same structure as FieldMask |
VulnerabilityOccurrencesSummary
A summary of how many vulnerability occurrences there are per resource and severity type.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
counts |
Array of Object |
|
A listing by resource of the number of fixable and total vulnerabilities. This object should have the same structure as FixableTotalByDigest |