Skip to main content

security_incidents

Creates, updates, deletes, gets or lists a security_incidents resource.

Overview

Namesecurity_incidents
TypeResource
Idgoogle.apigee.security_incidents

Fields

NameDatatypeDescription
namestringImmutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
detectionTypesarrayOutput only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
displayNamestringOptional. Display name of the security incident.
firstDetectedTimestringOutput only. The time when events associated with the incident were first detected.
lastDetectedTimestringOutput only. The time when events associated with the incident were last detected.
lastObservabilityChangeTimestringOutput only. The time when the incident observability was last changed.
observabilitystringOptional. Indicates if the user archived this incident.
riskLevelstringOutput only. Risk level of the incident.
trafficCountstringTotal traffic detected as part of the incident.

Methods

NameAccessible byRequired ParamsDescription
organizations_environments_security_incidents_getSELECTenvironmentsId, organizationsId, securityIncidentsIdGetSecurityIncident gets the specified security incident. Returns NOT_FOUND if security incident is not present for the specified organization and environment.
organizations_environments_security_incidents_listSELECTenvironmentsId, organizationsIdListSecurityIncidents lists all the security incident associated with the environment.
organizations_environments_security_incidents_batch_updateUPDATEenvironmentsId, organizationsIdBatchUpdateSecurityIncident updates multiple existing security incidents.
organizations_environments_security_incidents_patchUPDATEenvironmentsId, organizationsId, securityIncidentsIdUpdateSecurityIncidents updates an existing security incident.

SELECT examples

ListSecurityIncidents lists all the security incident associated with the environment.

SELECT
name,
detectionTypes,
displayName,
firstDetectedTime,
lastDetectedTime,
lastObservabilityChangeTime,
observability,
riskLevel,
trafficCount
FROM google.apigee.security_incidents
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';

UPDATE example

Updates a security_incidents resource.

/*+ update */
UPDATE google.apigee.security_incidents
SET
requests = '{{ requests }}'
WHERE
environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';