environments_security_actions_config
Creates, updates, deletes, gets or lists a environments_security_actions_config
resource.
Overview
Name | environments_security_actions_config |
Type | Resource |
Id | google.apigee.environments_security_actions_config |
Fields
Name | Datatype | Description |
---|---|---|
name | string | This is a singleton resource, the name will always be set by SecurityActions and any user input will be ignored. The name is always: organizations/{org}/environments/{env}/security_actions_config |
enabled | boolean | The flag that controls whether this feature is enabled. This is unset by default. When this flag is false , even if individual rules are enabled, no SecurityActions will be enforced. |
updateTime | string | Output only. The update time for configuration. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_environments_get_security_actions_config | SELECT | environmentsId, organizationsId | GetSecurityActionConfig returns the current SecurityActions configuration. |
organizations_environments_update_security_actions_config | UPDATE | environmentsId, organizationsId | UpdateSecurityActionConfig updates the current SecurityActions configuration. This method is used to enable/disable the feature at the environment level. |
SELECT
examples
GetSecurityActionConfig returns the current SecurityActions configuration.
SELECT
name,
enabled,
updateTime
FROM google.apigee.environments_security_actions_config
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';
UPDATE
example
Updates a environments_security_actions_config
resource.
/*+ update */
UPDATE google.apigee.environments_security_actions_config
SET
enabled = true|false,
name = '{{ name }}'
WHERE
environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';