Google Cloud Web Security Scanner V1 Client - Class Code (1.0.1)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class Code.

Output only.

Defines an error reason code. Next id: 44

Protobuf type google.cloud.websecurityscanner.v1.ScanConfigError.Code

Namespace

Google \ Cloud \ WebSecurityScanner \ V1 \ ScanConfigError

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CODE_UNSPECIFIED

Value: 0

There is no error.

Generated from protobuf enum CODE_UNSPECIFIED = 0;

OK

Value: 0

There is no error.

Generated from protobuf enum OK = 0;

INTERNAL_ERROR

Value: 1

Indicates an internal server error.

Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown.

Generated from protobuf enum INTERNAL_ERROR = 1;

APPENGINE_API_BACKEND_ERROR

Value: 2

One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error.

Generated from protobuf enum APPENGINE_API_BACKEND_ERROR = 2;

APPENGINE_API_NOT_ACCESSIBLE

Value: 3

One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings.

Generated from protobuf enum APPENGINE_API_NOT_ACCESSIBLE = 3;

APPENGINE_DEFAULT_HOST_MISSING

Value: 4

One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set.

Generated from protobuf enum APPENGINE_DEFAULT_HOST_MISSING = 4;

CANNOT_USE_GOOGLE_COM_ACCOUNT

Value: 6

Google corporate accounts can not be used for scanning.

Generated from protobuf enum CANNOT_USE_GOOGLE_COM_ACCOUNT = 6;

CANNOT_USE_OWNER_ACCOUNT

Value: 7

The account of the scan creator can not be used for scanning.

Generated from protobuf enum CANNOT_USE_OWNER_ACCOUNT = 7;

COMPUTE_API_BACKEND_ERROR

Value: 8

This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error.

Generated from protobuf enum COMPUTE_API_BACKEND_ERROR = 8;

COMPUTE_API_NOT_ACCESSIBLE

Value: 9

This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings.

Generated from protobuf enum COMPUTE_API_NOT_ACCESSIBLE = 9;

CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT

Value: 10

The Custom Login URL does not belong to the current project.

Generated from protobuf enum CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = 10;

CUSTOM_LOGIN_URL_MALFORMED

Value: 11

The Custom Login URL is malformed (can not be parsed).

Generated from protobuf enum CUSTOM_LOGIN_URL_MALFORMED = 11;

CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS

Value: 12

The Custom Login URL is mapped to a non-routable IP address in DNS.

Generated from protobuf enum CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = 12;

CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS

Value: 13

The Custom Login URL is mapped to an IP address which is not reserved for the current project.

Generated from protobuf enum CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS = 13;

CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS

Value: 14

The Custom Login URL has a non-routable IP address.

Generated from protobuf enum CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS = 14;

CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS

Value: 15

The Custom Login URL has an IP address which is not reserved for the current project.

Generated from protobuf enum CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS = 15;

DUPLICATE_SCAN_NAME

Value: 16

Another scan with the same name (case-sensitive) already exists.

Generated from protobuf enum DUPLICATE_SCAN_NAME = 16;

INVALID_FIELD_VALUE

Value: 18

A field is set to an invalid value.

Generated from protobuf enum INVALID_FIELD_VALUE = 18;

FAILED_TO_AUTHENTICATE_TO_TARGET

Value: 19

There was an error trying to authenticate to the scan target.

Generated from protobuf enum FAILED_TO_AUTHENTICATE_TO_TARGET = 19;

FINDING_TYPE_UNSPECIFIED

Value: 20

Finding type value is not specified in the list findings request.

Generated from protobuf enum FINDING_TYPE_UNSPECIFIED = 20;

FORBIDDEN_TO_SCAN_COMPUTE

Value: 21

Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access.

Generated from protobuf enum FORBIDDEN_TO_SCAN_COMPUTE = 21;

FORBIDDEN_UPDATE_TO_MANAGED_SCAN

Value: 43

User tries to update managed scan

Generated from protobuf enum FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;

MALFORMED_FILTER

Value: 22

The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once.

Generated from protobuf enum MALFORMED_FILTER = 22;

MALFORMED_RESOURCE_NAME

Value: 23

The supplied resource name is malformed (can not be parsed).

Generated from protobuf enum MALFORMED_RESOURCE_NAME = 23;

PROJECT_INACTIVE

Value: 24

The current project is not in an active state.

Generated from protobuf enum PROJECT_INACTIVE = 24;

REQUIRED_FIELD

Value: 25

A required field is not set.

Generated from protobuf enum REQUIRED_FIELD = 25;

RESOURCE_NAME_INCONSISTENT

Value: 26

Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name.

Generated from protobuf enum RESOURCE_NAME_INCONSISTENT = 26;

SCAN_ALREADY_RUNNING

Value: 27

The scan being requested to start is already running.

Generated from protobuf enum SCAN_ALREADY_RUNNING = 27;

SCAN_NOT_RUNNING

Value: 28

The scan that was requested to be stopped is not running.

Generated from protobuf enum SCAN_NOT_RUNNING = 28;

SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT

Value: 29

One of the seed URLs does not belong to the current project.

Generated from protobuf enum SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = 29;

SEED_URL_MALFORMED

Value: 30

One of the seed URLs is malformed (can not be parsed).

Generated from protobuf enum SEED_URL_MALFORMED = 30;

SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS

Value: 31

One of the seed URLs is mapped to a non-routable IP address in DNS.

Generated from protobuf enum SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = 31;

SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS

Value: 32

One of the seed URLs is mapped to an IP address which is not reserved for the current project.

Generated from protobuf enum SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS = 32;

SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS

Value: 33

One of the seed URLs has on-routable IP address.

Generated from protobuf enum SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS = 33;

SEED_URL_HAS_UNRESERVED_IP_ADDRESS

Value: 35

One of the seed URLs has an IP address that is not reserved for the current project.

Generated from protobuf enum SEED_URL_HAS_UNRESERVED_IP_ADDRESS = 35;

SERVICE_ACCOUNT_NOT_CONFIGURED

Value: 36

The Web Security Scanner service account is not configured under the project.

Generated from protobuf enum SERVICE_ACCOUNT_NOT_CONFIGURED = 36;

TOO_MANY_SCANS

Value: 37

A project has reached the maximum number of scans.

Generated from protobuf enum TOO_MANY_SCANS = 37;

UNABLE_TO_RESOLVE_PROJECT_INFO

Value: 38

Resolving the details of the current project fails.

Generated from protobuf enum UNABLE_TO_RESOLVE_PROJECT_INFO = 38;

UNSUPPORTED_BLACKLIST_PATTERN_FORMAT

Value: 39

One or more blacklist patterns were in the wrong format.

Generated from protobuf enum UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;

UNSUPPORTED_FILTER

Value: 40

The supplied filter is not supported.

Generated from protobuf enum UNSUPPORTED_FILTER = 40;

UNSUPPORTED_FINDING_TYPE

Value: 41

The supplied finding type is not supported. For example, we do not provide findings of the given finding type.

Generated from protobuf enum UNSUPPORTED_FINDING_TYPE = 41;

UNSUPPORTED_URL_SCHEME

Value: 42

The URL scheme of one or more of the supplied URLs is not supported.

Generated from protobuf enum UNSUPPORTED_URL_SCHEME = 42;