|
903 | 903 | } |
904 | 904 | } |
905 | 905 | }, |
906 | | -"revision": "20260130", |
| 906 | +"revision": "20260205", |
907 | 907 | "rootUrl": "https://securityposture.googleapis.com/", |
908 | 908 | "schemas": { |
909 | 909 | "AssetDetails": { |
|
1238 | 1238 | }, |
1239 | 1239 | "type": "object" |
1240 | 1240 | }, |
| 1241 | +"IacValidationFailureCriteria": { |
| 1242 | +"description": "Represents the criteria for considering an IaC validation as a failure.", |
| 1243 | +"id": "IacValidationFailureCriteria", |
| 1244 | +"properties": { |
| 1245 | +"createTime": { |
| 1246 | +"description": "Output only. The time at which the resource was created.", |
| 1247 | +"format": "google-datetime", |
| 1248 | +"readOnly": true, |
| 1249 | +"type": "string" |
| 1250 | +}, |
| 1251 | +"etag": { |
| 1252 | +"description": "Optional. The etag for optimistic concurrency.", |
| 1253 | +"type": "string" |
| 1254 | +}, |
| 1255 | +"name": { |
| 1256 | +"description": "Identifier. The resource name of the IacValidationFailureCriteria. Format: organizations/{organization}/locations/{location}/iacValidationFailureCriteria", |
| 1257 | +"type": "string" |
| 1258 | +}, |
| 1259 | +"severityCountThresholds": { |
| 1260 | +"description": "Optional. A list of severity thresholds. An IaC validation fails if any threshold is exceeded.", |
| 1261 | +"items": { |
| 1262 | +"$ref": "SeverityCountThreshold" |
| 1263 | +}, |
| 1264 | +"type": "array" |
| 1265 | +}, |
| 1266 | +"updateTime": { |
| 1267 | +"description": "Output only. The time at which the resource was last updated.", |
| 1268 | +"format": "google-datetime", |
| 1269 | +"readOnly": true, |
| 1270 | +"type": "string" |
| 1271 | +} |
| 1272 | +}, |
| 1273 | +"type": "object" |
| 1274 | +}, |
1241 | 1275 | "ListLocationsResponse": { |
1242 | 1276 | "description": "The response message for Locations.ListLocations.", |
1243 | 1277 | "id": "ListLocationsResponse", |
|
2070 | 2104 | }, |
2071 | 2105 | "type": "object" |
2072 | 2106 | }, |
| 2107 | +"SeverityCountThreshold": { |
| 2108 | +"description": "Represents a threshold for a specific severity.", |
| 2109 | +"id": "SeverityCountThreshold", |
| 2110 | +"properties": { |
| 2111 | +"severity": { |
| 2112 | +"description": "Optional. The severity level, reusing the existing Violation.Severity.", |
| 2113 | +"enum": [ |
| 2114 | +"SEVERITY_UNSPECIFIED", |
| 2115 | +"CRITICAL", |
| 2116 | +"HIGH", |
| 2117 | +"MEDIUM", |
| 2118 | +"LOW" |
| 2119 | +], |
| 2120 | +"enumDescriptions": [ |
| 2121 | +"Default value. This value is unused.", |
| 2122 | +"Critical severity.", |
| 2123 | +"High severity.", |
| 2124 | +"Medium severity.", |
| 2125 | +"Low severity." |
| 2126 | +], |
| 2127 | +"type": "string" |
| 2128 | +}, |
| 2129 | +"thresholdCount": { |
| 2130 | +"description": "Optional. If violation count meets or exceeds this threshold, validation fails.", |
| 2131 | +"format": "int32", |
| 2132 | +"type": "integer" |
| 2133 | +} |
| 2134 | +}, |
| 2135 | +"type": "object" |
| 2136 | +}, |
2073 | 2137 | "Status": { |
2074 | 2138 | "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
2075 | 2139 | "id": "Status", |
|
0 commit comments