You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: grafeas/v1/swagger/grafeas.swagger.json
+43-1Lines changed: 43 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -850,18 +850,31 @@
850
850
"default": "PLATFORM_UNSPECIFIED",
851
851
"description": "Types of platforms.\n\n - PLATFORM_UNSPECIFIED: Unknown.\n - GKE: Google Container Engine.\n - FLEX: Google App Engine: Flexible Environment.\n - CUSTOM: Custom user-defined platform."
852
852
},
853
+
"DiscoveryOccurrenceAnalysisCompleted": {
854
+
"type": "object",
855
+
"properties": {
856
+
"analysisType": {
857
+
"type": "array",
858
+
"items": {
859
+
"type": "string"
860
+
}
861
+
}
862
+
},
863
+
"description": "Indicates which analysis completed successfully. Multiple types of\nanalysis can be performed on a single resource."
864
+
},
853
865
"DiscoveryOccurrenceAnalysisStatus": {
854
866
"type": "string",
855
867
"enum": [
856
868
"ANALYSIS_STATUS_UNSPECIFIED",
857
869
"PENDING",
858
870
"SCANNING",
859
871
"FINISHED_SUCCESS",
872
+
"COMPLETE",
860
873
"FINISHED_FAILED",
861
874
"FINISHED_UNSUPPORTED"
862
875
],
863
876
"default": "ANALYSIS_STATUS_UNSPECIFIED",
864
-
"description": "Analysis status for a resource. Currently for initial analysis only (not\nupdated in continuous analysis).\n\n - ANALYSIS_STATUS_UNSPECIFIED: Unknown.\n - PENDING: Resource is known but no action has been taken yet.\n - SCANNING: Resource is being analyzed.\n - FINISHED_SUCCESS: Analysis has finished successfully.\n - FINISHED_FAILED: Analysis has finished unsuccessfully, the analysis itself is in a bad\nstate.\n - FINISHED_UNSUPPORTED: The resource is known not to be supported"
877
+
"description": "Analysis status for a resource. Currently for initial analysis only (not\nupdated in continuous analysis).\n\n - ANALYSIS_STATUS_UNSPECIFIED: Unknown.\n - PENDING: Resource is known but no action has been taken yet.\n - SCANNING: Resource is being analyzed.\n - FINISHED_SUCCESS: Analysis has finished successfully.\n - COMPLETE: Analysis has completed.\n - FINISHED_FAILED: Analysis has finished unsuccessfully, the analysis itself is in a bad\nstate.\n - FINISHED_UNSUPPORTED: The resource is known not to be supported."
"description": "Indicates any errors encountered during analysis of a resource. There\ncould be 0 or more of these errors."
1952
+
},
1920
1953
"analysisStatusError": {
1921
1954
"$ref": "#/definitions/rpcStatus",
1922
1955
"description": "When an error is encountered this will contain a LocalizedMessage under\ndetails to show to the user. The LocalizedMessage is output only and\npopulated by the API."
@@ -3091,6 +3124,10 @@
3091
3124
"type": "string",
3092
3125
"format": "date-time",
3093
3126
"description": "The time this information was last changed at the source. This is an\nupstream timestamp from the underlying information source - e.g. Ubuntu\nsecurity tracker."
3127
+
},
3128
+
"cvssVersion": {
3129
+
"$ref": "#/definitions/v1CVSSVersion",
3130
+
"description": "CVSS version used to populate cvss_score and severity."
3094
3131
}
3095
3132
},
3096
3133
"description": "A security vulnerability that can be found in resources."
@@ -3150,6 +3187,11 @@
3150
3187
"type": "boolean",
3151
3188
"description": "Output only. Whether at least one of the affected packages has a fix\navailable.",
3152
3189
"readOnly": true
3190
+
},
3191
+
"cvssVersion": {
3192
+
"$ref": "#/definitions/v1CVSSVersion",
3193
+
"description": "Output only. CVSS version used to populate cvss_score and severity.",
3194
+
"readOnly": true
3153
3195
}
3154
3196
},
3155
3197
"description": "An occurrence of a severity vulnerability on a resource."
0 commit comments