security_incidents
Creates, updates, deletes, gets or lists a security_incidents
resource.
Overview
Name | security_incidents |
Type | Resource |
Id | google.apigee.security_incidents |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111 |
detectionTypes | array | Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
displayName | string | Optional. Display name of the security incident. |
firstDetectedTime | string | Output only. The time when events associated with the incident were first detected. |
lastDetectedTime | string | Output only. The time when events associated with the incident were last detected. |
lastObservabilityChangeTime | string | Output only. The time when the incident observability was last changed. |
observability | string | Optional. Indicates if the user archived this incident. |
riskLevel | string | Output only. Risk level of the incident. |
trafficCount | string | Total traffic detected as part of the incident. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_environments_security_incidents_get | SELECT | environmentsId, organizationsId, securityIncidentsId | GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if security incident is not present for the specified organization and environment. |
organizations_environments_security_incidents_list | SELECT | environmentsId, organizationsId | ListSecurityIncidents lists all the security incident associated with the environment. |
organizations_environments_security_incidents_batch_update | UPDATE | environmentsId, organizationsId | BatchUpdateSecurityIncident updates multiple existing security incidents. |
organizations_environments_security_incidents_patch | UPDATE | environmentsId, organizationsId, securityIncidentsId | UpdateSecurityIncidents 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 }}';