| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.environments.html">environments</a> . <a href="apigee_v1.organizations.environments.securityIncidents.html">securityIncidents</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p> |
| 79 |
<p class="firstline">BatchUpdateSecurityIncident updates multiple existing security incidents.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#close">close()</a></code></p> |
| 82 |
<p class="firstline">Close httplib2 connections.</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if security incident is not present for the specified organization and environment.</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 88 |
<p class="firstline">ListSecurityIncidents lists all the security incident associated with the environment.</p> |
| 89 |
<p class="toc_element"> |
| 90 |
<code><a href="#list_next">list_next()</a></code></p> |
| 91 |
<p class="firstline">Retrieves the next page of results.</p> |
| 92 |
<p class="toc_element"> |
| 93 |
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> |
| 94 |
<p class="firstline">UpdateSecurityIncidents updates an existing security incident.</p> |
| 95 |
<h3>Method Details</h3> |
| 96 |
<div class="method"> |
| 97 |
<code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code> |
| 98 |
<pre>BatchUpdateSecurityIncident updates multiple existing security incidents. |
| 99 |
|
| 100 |
Args: |
| 101 |
parent: string, Optional. The parent resource shared by all security incidents being updated. If this is set, the parent field in the UpdateSecurityIncidentRequest messages must either be empty or match this field. (required) |
| 102 |
body: object, The request body. |
| 103 |
The object takes the form of: |
| 104 |
|
| 105 |
{ # Request for BatchUpdateSecurityIncident. |
| 106 |
"requests": [ # Optional. Required. The request message specifying the resources to update. A maximum of 1000 can be modified in a batch. |
| 107 |
{ # Request for UpdateSecurityIncident. |
| 108 |
"securityIncident": { # Represents an SecurityIncident resource. # Required. The security incident to update. Must contain all existing populated fields of the current incident. |
| 109 |
"detectionTypes": [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
| 110 |
"A String", |
| 111 |
], |
| 112 |
"displayName": "A String", # Optional. Display name of the security incident. |
| 113 |
"firstDetectedTime": "A String", # Output only. The time when events associated with the incident were first detected. |
| 114 |
"lastDetectedTime": "A String", # Output only. The time when events associated with the incident were last detected. |
| 115 |
"lastObservabilityChangeTime": "A String", # Output only. The time when the incident observability was last changed. |
| 116 |
"name": "A 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 |
| 117 |
"observability": "A String", # Optional. Indicates if the user archived this incident. |
| 118 |
"riskLevel": "A String", # Output only. Risk level of the incident. |
| 119 |
"trafficCount": "A String", # Total traffic detected as part of the incident. |
| 120 |
}, |
| 121 |
"updateMask": "A String", # Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange() |
| 122 |
}, |
| 123 |
], |
| 124 |
} |
| 125 |
|
| 126 |
x__xgafv: string, V1 error format. |
| 127 |
Allowed values |
| 128 |
1 - v1 error format |
| 129 |
2 - v2 error format |
| 130 |
|
| 131 |
Returns: |
| 132 |
An object of the form: |
| 133 |
|
| 134 |
{ # Response for BatchUpdateSecurityIncident. |
| 135 |
"securityIncidents": [ # Output only. Updated security incidents |
| 136 |
{ # Represents an SecurityIncident resource. |
| 137 |
"detectionTypes": [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
| 138 |
"A String", |
| 139 |
], |
| 140 |
"displayName": "A String", # Optional. Display name of the security incident. |
| 141 |
"firstDetectedTime": "A String", # Output only. The time when events associated with the incident were first detected. |
| 142 |
"lastDetectedTime": "A String", # Output only. The time when events associated with the incident were last detected. |
| 143 |
"lastObservabilityChangeTime": "A String", # Output only. The time when the incident observability was last changed. |
| 144 |
"name": "A 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 |
| 145 |
"observability": "A String", # Optional. Indicates if the user archived this incident. |
| 146 |
"riskLevel": "A String", # Output only. Risk level of the incident. |
| 147 |
"trafficCount": "A String", # Total traffic detected as part of the incident. |
| 148 |
}, |
| 149 |
], |
| 150 |
}</pre> |
| 151 |
</div> |
| 152 |
|
| 153 |
<div class="method"> |
| 154 |
<code class="details" id="close">close()</code> |
| 155 |
<pre>Close httplib2 connections.</pre> |
| 156 |
</div> |
| 157 |
|
| 158 |
<div class="method"> |
| 159 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 160 |
<pre>GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if security incident is not present for the specified organization and environment. |
| 161 |
|
| 162 |
Args: |
| 163 |
name: string, Required. Security incident in the following format: `organizations/{org}/environments/{environment}/securityIncidents/{incident}'. Example: organizations/testOrg/environments/testEnv/securityIncidents/1234-4567-890-111 (required) |
| 164 |
x__xgafv: string, V1 error format. |
| 165 |
Allowed values |
| 166 |
1 - v1 error format |
| 167 |
2 - v2 error format |
| 168 |
|
| 169 |
Returns: |
| 170 |
An object of the form: |
| 171 |
|
| 172 |
{ # Represents an SecurityIncident resource. |
| 173 |
"detectionTypes": [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
| 174 |
"A String", |
| 175 |
], |
| 176 |
"displayName": "A String", # Optional. Display name of the security incident. |
| 177 |
"firstDetectedTime": "A String", # Output only. The time when events associated with the incident were first detected. |
| 178 |
"lastDetectedTime": "A String", # Output only. The time when events associated with the incident were last detected. |
| 179 |
"lastObservabilityChangeTime": "A String", # Output only. The time when the incident observability was last changed. |
| 180 |
"name": "A 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 |
| 181 |
"observability": "A String", # Optional. Indicates if the user archived this incident. |
| 182 |
"riskLevel": "A String", # Output only. Risk level of the incident. |
| 183 |
"trafficCount": "A String", # Total traffic detected as part of the incident. |
| 184 |
}</pre> |
| 185 |
</div> |
| 186 |
|
| 187 |
<div class="method"> |
| 188 |
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 189 |
<pre>ListSecurityIncidents lists all the security incident associated with the environment. |
| 190 |
|
| 191 |
Args: |
| 192 |
parent: string, Required. For a specific organization, list of all the security incidents. Format: `organizations/{org}/environments/{environment}` (required) |
| 193 |
filter: string, The filter expression to be used to get the list of security incidents, where filtering can be done on API Proxies. Example: filter = "api_proxy = /", "first_detected_time >", "last_detected_time <" |
| 194 |
pageSize: integer, Optional. The maximum number of incidents to return. The service may return fewer than this value. If unspecified, at most 50 incidents will be returned. |
| 195 |
pageToken: string, Optional. A page token, received from a previous `ListSecurityIncident` call. Provide this to retrieve the subsequent page. |
| 196 |
x__xgafv: string, V1 error format. |
| 197 |
Allowed values |
| 198 |
1 - v1 error format |
| 199 |
2 - v2 error format |
| 200 |
|
| 201 |
Returns: |
| 202 |
An object of the form: |
| 203 |
|
| 204 |
{ # Response for ListSecurityIncidents. |
| 205 |
"nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| 206 |
"securityIncidents": [ # List of security incidents in the organization |
| 207 |
{ # Represents an SecurityIncident resource. |
| 208 |
"detectionTypes": [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
| 209 |
"A String", |
| 210 |
], |
| 211 |
"displayName": "A String", # Optional. Display name of the security incident. |
| 212 |
"firstDetectedTime": "A String", # Output only. The time when events associated with the incident were first detected. |
| 213 |
"lastDetectedTime": "A String", # Output only. The time when events associated with the incident were last detected. |
| 214 |
"lastObservabilityChangeTime": "A String", # Output only. The time when the incident observability was last changed. |
| 215 |
"name": "A 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 |
| 216 |
"observability": "A String", # Optional. Indicates if the user archived this incident. |
| 217 |
"riskLevel": "A String", # Output only. Risk level of the incident. |
| 218 |
"trafficCount": "A String", # Total traffic detected as part of the incident. |
| 219 |
}, |
| 220 |
], |
| 221 |
}</pre> |
| 222 |
</div> |
| 223 |
|
| 224 |
<div class="method"> |
| 225 |
<code class="details" id="list_next">list_next()</code> |
| 226 |
<pre>Retrieves the next page of results. |
| 227 |
|
| 228 |
Args: |
| 229 |
previous_request: The request for the previous page. (required) |
| 230 |
previous_response: The response from the request for the previous page. (required) |
| 231 |
|
| 232 |
Returns: |
| 233 |
A request object that you can call 'execute()' on to request the next |
| 234 |
page. Returns None if there are no more items in the collection. |
| 235 |
</pre> |
| 236 |
</div> |
| 237 |
|
| 238 |
<div class="method"> |
| 239 |
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code> |
| 240 |
<pre>UpdateSecurityIncidents updates an existing security incident. |
| 241 |
|
| 242 |
Args: |
| 243 |
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 (required) |
| 244 |
body: object, The request body. |
| 245 |
The object takes the form of: |
| 246 |
|
| 247 |
{ # Represents an SecurityIncident resource. |
| 248 |
"detectionTypes": [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
| 249 |
"A String", |
| 250 |
], |
| 251 |
"displayName": "A String", # Optional. Display name of the security incident. |
| 252 |
"firstDetectedTime": "A String", # Output only. The time when events associated with the incident were first detected. |
| 253 |
"lastDetectedTime": "A String", # Output only. The time when events associated with the incident were last detected. |
| 254 |
"lastObservabilityChangeTime": "A String", # Output only. The time when the incident observability was last changed. |
| 255 |
"name": "A 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 |
| 256 |
"observability": "A String", # Optional. Indicates if the user archived this incident. |
| 257 |
"riskLevel": "A String", # Output only. Risk level of the incident. |
| 258 |
"trafficCount": "A String", # Total traffic detected as part of the incident. |
| 259 |
} |
| 260 |
|
| 261 |
updateMask: string, Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange() |
| 262 |
x__xgafv: string, V1 error format. |
| 263 |
Allowed values |
| 264 |
1 - v1 error format |
| 265 |
2 - v2 error format |
| 266 |
|
| 267 |
Returns: |
| 268 |
An object of the form: |
| 269 |
|
| 270 |
{ # Represents an SecurityIncident resource. |
| 271 |
"detectionTypes": [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection. |
| 272 |
"A String", |
| 273 |
], |
| 274 |
"displayName": "A String", # Optional. Display name of the security incident. |
| 275 |
"firstDetectedTime": "A String", # Output only. The time when events associated with the incident were first detected. |
| 276 |
"lastDetectedTime": "A String", # Output only. The time when events associated with the incident were last detected. |
| 277 |
"lastObservabilityChangeTime": "A String", # Output only. The time when the incident observability was last changed. |
| 278 |
"name": "A 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 |
| 279 |
"observability": "A String", # Optional. Indicates if the user archived this incident. |
| 280 |
"riskLevel": "A String", # Output only. Risk level of the incident. |
| 281 |
"trafficCount": "A String", # Total traffic detected as part of the incident. |
| 282 |
}</pre> |
| 283 |
</div> |
| 284 |
|
| 285 |
</body></html> |