Skip to content

Commit c04b402

Browse files
feat(ondemandscanning): update the api
#### ondemandscanning:v1 The following keys were added: - schemas.PackageData.properties.packageType.type (Total Keys: 1) #### ondemandscanning:v1beta1 The following keys were added: - schemas.PackageData.properties.packageType.type (Total Keys: 1)
1 parent 831ba93 commit c04b402

File tree

4 files changed

+44
-6
lines changed

4 files changed

+44
-6
lines changed

docs/dyn/ondemandscanning_v1.projects.locations.scans.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ <h3>Method Details</h3>
102102
&quot;os&quot;: &quot;A String&quot;, # The OS affected by a vulnerability This field is deprecated and the information is in cpe_uri
103103
&quot;osVersion&quot;: &quot;A String&quot;, # The version of the OS This field is deprecated and the information is in cpe_uri
104104
&quot;package&quot;: &quot;A String&quot;, # The package being analysed for vulnerabilities
105+
&quot;packageType&quot;: &quot;A String&quot;, # The type of package: os, maven, go, etc.
105106
&quot;unused&quot;: &quot;A String&quot;,
106107
&quot;version&quot;: &quot;A String&quot;, # The version of the package being analysed
107108
},

docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ <h3>Method Details</h3>
102102
&quot;os&quot;: &quot;A String&quot;, # The OS affected by a vulnerability This field is deprecated and the information is in cpe_uri
103103
&quot;osVersion&quot;: &quot;A String&quot;, # The version of the OS This field is deprecated and the information is in cpe_uri
104104
&quot;package&quot;: &quot;A String&quot;, # The package being analysed for vulnerabilities
105+
&quot;packageType&quot;: &quot;A String&quot;, # The type of package: os, maven, go, etc.
105106
&quot;unused&quot;: &quot;A String&quot;,
106107
&quot;version&quot;: &quot;A String&quot;, # The version of the package being analysed
107108
},

googleapiclient/discovery_cache/documents/ondemandscanning.v1.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20210524",
342+
"revision": "20210618",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1053,7 +1053,8 @@
10531053
"DEPLOYMENT",
10541054
"DISCOVERY",
10551055
"ATTESTATION",
1056-
"UPGRADE"
1056+
"UPGRADE",
1057+
"COMPLIANCE"
10571058
],
10581059
"enumDescriptions": [
10591060
"Default value. This value is unused.",
@@ -1064,7 +1065,8 @@
10641065
"The note and occurrence track deployment events.",
10651066
"The note and occurrence track the initial discovery status of a resource.",
10661067
"This represents a logical \"role\" that can attest to artifacts.",
1067-
"This represents an available package upgrade."
1068+
"This represents an available package upgrade.",
1069+
"This represents a Compliance Note"
10681070
],
10691071
"type": "string"
10701072
},
@@ -1158,6 +1160,22 @@
11581160
"description": "The package being analysed for vulnerabilities",
11591161
"type": "string"
11601162
},
1163+
"packageType": {
1164+
"description": "The type of package: os, maven, go, etc.",
1165+
"enum": [
1166+
"PACKAGE_TYPE_UNSPECIFIED",
1167+
"OS",
1168+
"MAVEN",
1169+
"GO"
1170+
],
1171+
"enumDescriptions": [
1172+
"",
1173+
"Operating System",
1174+
"",
1175+
""
1176+
],
1177+
"type": "string"
1178+
},
11611179
"unused": {
11621180
"type": "string"
11631181
},

googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20210524",
342+
"revision": "20210618",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1053,7 +1053,8 @@
10531053
"DEPLOYMENT",
10541054
"DISCOVERY",
10551055
"ATTESTATION",
1056-
"UPGRADE"
1056+
"UPGRADE",
1057+
"COMPLIANCE"
10571058
],
10581059
"enumDescriptions": [
10591060
"Default value. This value is unused.",
@@ -1064,7 +1065,8 @@
10641065
"The note and occurrence track deployment events.",
10651066
"The note and occurrence track the initial discovery status of a resource.",
10661067
"This represents a logical \"role\" that can attest to artifacts.",
1067-
"This represents an available package upgrade."
1068+
"This represents an available package upgrade.",
1069+
"This represents a Compliance Note"
10681070
],
10691071
"type": "string"
10701072
},
@@ -1158,6 +1160,22 @@
11581160
"description": "The package being analysed for vulnerabilities",
11591161
"type": "string"
11601162
},
1163+
"packageType": {
1164+
"description": "The type of package: os, maven, go, etc.",
1165+
"enum": [
1166+
"PACKAGE_TYPE_UNSPECIFIED",
1167+
"OS",
1168+
"MAVEN",
1169+
"GO"
1170+
],
1171+
"enumDescriptions": [
1172+
"",
1173+
"Operating System",
1174+
"",
1175+
""
1176+
],
1177+
"type": "string"
1178+
},
11611179
"unused": {
11621180
"type": "string"
11631181
},

0 commit comments

Comments
 (0)