<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">On-premises or any cloud edition v1.15</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_websecurityscanner_v1)
- [On-premises or any cloud edition v1.15](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/reference/googcl_websecurityscanner_v1.md.txt)

## Class

```abap
/GOOG/CL_WEBSECURITYSCANNER_V1
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Web Security Scanner API v1`

For general information about a class in ABAP SDK for Google Cloud, see [API client stub](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `Authentication` | PUBLIC |
| `TY_002` | `CrawledUrl` | PUBLIC |
| `TY_003` | `CustomAccount` | PUBLIC |
| `TY_005` | `Finding` | PUBLIC |
| `TY_006` | `FindingTypeStats` | PUBLIC |
| `TY_007` | `Form` | PUBLIC |
| `TY_008` | `GoogleAccount` | PUBLIC |
| `TY_009` | `Header` | PUBLIC |
| `TY_010` | `IapCredential` | PUBLIC |
| `TY_011` | `IapTestServiceAccountInfo` | PUBLIC |
| `TY_012` | `ListCrawledUrlsResponse` | PUBLIC |
| `TY_013` | `ListFindingTypeStatsResponse` | PUBLIC |
| `TY_014` | `ListFindingsResponse` | PUBLIC |
| `TY_015` | `ListScanConfigsResponse` | PUBLIC |
| `TY_016` | `ListScanRunsResponse` | PUBLIC |
| `TY_017` | `OutdatedLibrary` | PUBLIC |
| `TY_018` | `ScanConfig` | PUBLIC |
| `TY_019` | `ScanConfigError` | PUBLIC |
| `TY_020` | `ScanRun` | PUBLIC |
| `TY_021` | `ScanRunErrorTrace` | PUBLIC |
| `TY_022` | `ScanRunWarningTrace` | PUBLIC |
| `TY_023` | `Schedule` | PUBLIC |
| `TY_026` | `ViolatingResource` | PUBLIC |
| `TY_027` | `VulnerableHeaders` | PUBLIC |
| `TY_028` | `VulnerableParameters` | PUBLIC |
| `TY_029` | `Xss` | PUBLIC |
| `TY_030` | `Xxe` | PUBLIC |
| `TY_T_002` | `CrawledUrl` | PUBLIC |
| `TY_T_005` | `Finding` | PUBLIC |
| `TY_T_006` | `FindingTypeStats` | PUBLIC |
| `TY_T_009` | `Header` | PUBLIC |
| `TY_T_018` | `ScanConfig` | PUBLIC |
| `TY_T_020` | `ScanRun` | PUBLIC |
| `TY_T_022` | `ScanRunWarningTrace` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_ROOT_URL` | `STRING` | API Root URL | https://websecurityscanner.googleapis.com | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | websecurityscanner:v1 | PUBLIC |
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20250302 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version | 1.10 | PUBLIC |
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version |   | PUBLIC |

## Methods

For general information about a method in ABAP SDK for Google Cloud, see [API method](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#api_method).

### CONSTRUCTOR

- Description: Constructor
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_KEY_NAME` | IMPORTING | `/GOOG/KEYNAME` | Google Cloud Key Name |
| `IV_LOG_OBJ` | IMPORTING | `BALOBJ_D` | Application log: Object name (Application code) |
| `IV_LOG_SUBOBJ` | IMPORTING | `BALSUBOBJ` | Application Log: Subobject |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_SCAN_CONFIGS

- Description: websecurityscanner.projects.scanConfigs.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IS_INPUT` | IMPORTING | `TY_018` | ScanConfig |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_018` | ScanConfig |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_SCAN_CONFIGS

- Description: websecurityscanner.projects.scanConfigs.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_FINDINGS

- Description: projects.scanConfigs.scanRuns.findings.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IV_P_SCAN_RUNS_ID` | IMPORTING | `STRING` | scanRunsId |
| `IV_P_FINDINGS_ID` | IMPORTING | `STRING` | findingsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_005` | Finding |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_SCAN_CONFIGS

- Description: websecurityscanner.projects.scanConfigs.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_018` | ScanConfig |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_SCAN_RUNS

- Description: websecurityscanner.projects.scanConfigs.scanRuns.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IV_P_SCAN_RUNS_ID` | IMPORTING | `STRING` | scanRunsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_020` | ScanRun |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_CRAWLED_URLS

- Description: projects.scanConfigs.scanRuns.crawledUrls.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IV_P_SCAN_RUNS_ID` | IMPORTING | `STRING` | scanRunsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_012` | ListCrawledUrlsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_FINDINGS

- Description: projects.scanConfigs.scanRuns.findings.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FILTER` | IMPORTING | `STRING` | filter |
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IV_P_SCAN_RUNS_ID` | IMPORTING | `STRING` | scanRunsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_014` | ListFindingsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_FINDING_TYPE_STATS

- Description: projects.scanConfigs.scanRuns.findingTypeStats.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IV_P_SCAN_RUNS_ID` | IMPORTING | `STRING` | scanRunsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_013` | ListFindingTypeStatsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_SCAN_CONFIGS

- Description: websecurityscanner.projects.scanConfigs.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_015` | ListScanConfigsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_SCAN_RUNS

- Description: websecurityscanner.projects.scanConfigs.scanRuns.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_016` | ListScanRunsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_SCAN_CONFIGS

- Description: websecurityscanner.projects.scanConfigs.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IS_INPUT` | IMPORTING | `TY_018` | ScanConfig |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_018` | ScanConfig |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### START_SCAN_CONFIGS

- Description: websecurityscanner.projects.scanConfigs.start
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IS_INPUT` | IMPORTING | `DATA` | Input Data |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_020` | ScanRun |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### STOP_SCAN_RUNS

- Description: websecurityscanner.projects.scanConfigs.scanRuns.stop
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_SCAN_CONFIGS_ID` | IMPORTING | `STRING` | scanConfigsId |
| `IV_P_SCAN_RUNS_ID` | IMPORTING | `STRING` | scanRunsId |
| `IS_INPUT` | IMPORTING | `DATA` | Input Data |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_020` | ScanRun |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC