|
233 | 233 | ],
|
234 | 234 | "parameters": {
|
235 | 235 | "name": {
|
236 |
| - "description": "The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", |
| 236 | + "description": "Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", |
237 | 237 | "location": "path",
|
238 | 238 | "pattern": "^projects/[^/]+/scanConfigs/[^/]+$",
|
239 | 239 | "required": true,
|
|
526 | 526 | }
|
527 | 527 | }
|
528 | 528 | },
|
529 |
| - "revision": "20231112", |
| 529 | + "revision": "20250105", |
530 | 530 | "rootUrl": "https://websecurityscanner.googleapis.com/",
|
531 | 531 | "schemas": {
|
532 | 532 | "Authentication": {
|
|
920 | 920 | "description": "Whether to keep scanning even if most requests return HTTP error codes.",
|
921 | 921 | "type": "boolean"
|
922 | 922 | },
|
| 923 | + "latestRun": { |
| 924 | + "$ref": "ScanRun" |
| 925 | + }, |
923 | 926 | "managedScan": {
|
924 | 927 | "description": "Whether the scan config is managed by Web Security Scanner, output only.",
|
925 | 928 | "type": "boolean"
|
|
930 | 933 | "type": "integer"
|
931 | 934 | },
|
932 | 935 | "name": {
|
933 |
| - "description": "The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", |
| 936 | + "description": "Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", |
934 | 937 | "type": "string"
|
935 | 938 | },
|
936 | 939 | "riskLevel": {
|
|
962 | 965 | "description": "Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.",
|
963 | 966 | "type": "boolean"
|
964 | 967 | },
|
| 968 | + "targetPlatforms": { |
| 969 | + "description": "Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.", |
| 970 | + "items": { |
| 971 | + "enum": [ |
| 972 | + "TARGET_PLATFORM_UNSPECIFIED", |
| 973 | + "APP_ENGINE", |
| 974 | + "COMPUTE", |
| 975 | + "CLOUD_RUN", |
| 976 | + "CLOUD_FUNCTIONS" |
| 977 | + ], |
| 978 | + "enumDescriptions": [ |
| 979 | + "The target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.", |
| 980 | + "Google App Engine service.", |
| 981 | + "Google Compute Engine service.", |
| 982 | + "Google Cloud Run service.", |
| 983 | + "Google Cloud Function service." |
| 984 | + ], |
| 985 | + "type": "string" |
| 986 | + }, |
| 987 | + "type": "array" |
| 988 | + }, |
965 | 989 | "userAgent": {
|
966 | 990 | "description": "The user agent used during scanning.",
|
967 | 991 | "enum": [
|
|
0 commit comments