Skip to content

Commit 118d055

Browse files
feat(securityposture): update the api
#### securityposture:v1 The following keys were added: - schemas.IacValidationFailureCriteria (Total Keys: 11) - schemas.SeverityCountThreshold (Total Keys: 5)
1 parent 9295ba1 commit 118d055

File tree

1 file changed

+65
-1
lines changed

1 file changed

+65
-1
lines changed

googleapiclient/discovery_cache/documents/securityposture.v1.json

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@
903903
}
904904
}
905905
},
906-
"revision": "20260130",
906+
"revision": "20260205",
907907
"rootUrl": "https://securityposture.googleapis.com/",
908908
"schemas": {
909909
"AssetDetails": {
@@ -1238,6 +1238,40 @@
12381238
},
12391239
"type": "object"
12401240
},
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+
},
12411275
"ListLocationsResponse": {
12421276
"description": "The response message for Locations.ListLocations.",
12431277
"id": "ListLocationsResponse",
@@ -2070,6 +2104,36 @@
20702104
},
20712105
"type": "object"
20722106
},
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+
},
20732137
"Status": {
20742138
"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).",
20752139
"id": "Status",

0 commit comments

Comments
 (0)