grafeas.v1beta1. discovery
Source: index.
Properties
Abstract types
Properties
AnalysisStatus number
Analysis status for a resource. Currently for initial analysis only (not updated in continuous analysis).
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
ANALYSIS_STATUS_UNSPECIFIED |
|
|
Unknown. |
|
PENDING |
|
|
Resource is known but no action has been taken yet. |
|
SCANNING |
|
|
Resource is being analyzed. |
|
FINISHED_SUCCESS |
|
|
Analysis has finished successfully. |
|
FINISHED_FAILED |
|
|
Analysis has finished unsuccessfully, the analysis itself is in a bad state. |
|
FINISHED_UNSUPPORTED |
|
|
The resource is known not to be supported |
ContinuousAnalysis number
Whether the resource is continuously analyzed.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
CONTINUOUS_ANALYSIS_UNSPECIFIED |
|
|
Unknown. |
|
ACTIVE |
|
|
The resource is continuously analyzed. |
|
INACTIVE |
|
|
The resource is ignored for continuous analysis. |
Abstract types
Details
Details of a discovery occurrence.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
discovered |
Object |
|
Analysis status for the discovered resource. This object should have the same structure as Discovered |
Discovered
Provides information about the analysis status of a discovered resource.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
continuousAnalysis |
number |
|
Whether the resource is continuously analyzed. The number should be among the values of ContinuousAnalysis |
|
lastAnalysisTime |
Object |
|
The last time continuous analysis was done for this resource. This object should have the same structure as Timestamp |
|
analysisStatus |
number |
|
The status of discovery for the resource. The number should be among the values of AnalysisStatus |
|
analysisStatusError |
Object |
|
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API. This object should have the same structure as Status |
Discovery
A note that indicates a type of analysis a provider would perform. This note
exists in a provider's project. A Discovery occurrence is created in a
consumer's project at the start of analysis.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
analysisKind |
number |
|
The kind of analysis that is handled by this discovery. The number should be among the values of NoteKind |