Debian Codegraph @

docs/dyn/apigee_v1.organizations.securityProfiles.environments.html

raw
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.securityProfiles.html">securityProfiles</a> . <a href="apigee_v1.organizations.securityProfiles.environments.html">environments</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#computeEnvironmentScores">computeEnvironmentScores(profileEnvironment, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment.</p>
83 <p class="toc_element">
84 <code><a href="#computeEnvironmentScores_next">computeEnvironmentScores_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <p class="toc_element">
87 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">CreateSecurityProfileEnvironmentAssociation creates profile environment association i.e. attaches environment to security profile.</p>
89 <p class="toc_element">
90 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">DeleteSecurityProfileEnvironmentAssociation removes profile environment association i.e. detaches environment from security profile.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="computeEnvironmentScores">computeEnvironmentScores(profileEnvironment, body=None, x__xgafv=None)</code>
100 <pre>ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment.
101
102 Args:
103 profileEnvironment: string, Required. Name of organization and environment and profile id for which score needs to be computed. Format: organizations/{org}/securityProfiles/{profile}/environments/{env} (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # Request for ComputeEnvironmentScores.
108 &quot;filters&quot;: [ # Optional. Filters are used to filter scored components. Return all the components if no filter is mentioned. Example: [{ &quot;scorePath&quot;: &quot;/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source&quot; }, { &quot;scorePath&quot;: &quot;/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/target&quot;, }] This will return components with path: &quot;/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source&quot; OR &quot;/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/target&quot;
109 { # Filter scores by component path. Used custom filter instead of AIP-160 as the use cases are highly constrained and predictable.
110 &quot;scorePath&quot;: &quot;A String&quot;, # Optional. Return scores for this component. Example: &quot;/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source&quot;
111 },
112 ],
113 &quot;pageSize&quot;: 42, # Optional. The maximum number of subcomponents to be returned in a single page. The service may return fewer than this value. If unspecified, at most 100 subcomponents will be returned in a single page.
114 &quot;pageToken&quot;: &quot;A String&quot;, # Optional. A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
115 &quot;timeRange&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Required. Time range for score calculation. At most 14 days of scores will be returned, and both the start and end dates must be within the last 90 days.
116 &quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
117 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
118 },
119 }
120
121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126 Returns:
127 An object of the form:
128
129 { # Response for ComputeEnvironmentScores.
130 &quot;nextPageToken&quot;: &quot;A String&quot;, # A page token, received from a previous `ComputeScore` call. Provide this to retrieve the subsequent page.
131 &quot;scores&quot;: [ # List of scores. One score per day.
132 { # Represents Security Score.
133 &quot;component&quot;: { # Component is an individual security element that is scored. # Component containing score, recommendations and actions.
134 &quot;calculateTime&quot;: &quot;A String&quot;, # Time when score was calculated.
135 &quot;dataCaptureTime&quot;: &quot;A String&quot;, # Time in the requested time period when data was last captured to compute the score.
136 &quot;drilldownPaths&quot;: [ # List of paths for next components.
137 &quot;A String&quot;,
138 ],
139 &quot;recommendations&quot;: [ # List of recommendations to improve API security.
140 { # Recommendation based on security concerns and score.
141 &quot;actions&quot;: [ # Actions for the recommendation to improve the security score.
142 { # Action to improve security score.
143 &quot;actionContext&quot;: { # Action context are all the relevant details for the action. # Action context for the action.
144 &quot;documentationLink&quot;: &quot;A String&quot;, # Documentation link for the action.
145 },
146 &quot;description&quot;: &quot;A String&quot;, # Description of the action.
147 },
148 ],
149 &quot;description&quot;: &quot;A String&quot;, # Description of the recommendation.
150 &quot;impact&quot;: 42, # Potential impact of this recommendation on the overall score. This denotes how important this recommendation is to improve the score.
151 &quot;title&quot;: &quot;A String&quot;, # Title represents recommendation title.
152 },
153 ],
154 &quot;score&quot;: 42, # Score for the component.
155 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component. Example: /org@myorg/envgroup@myenvgroup/proxies/proxy@myproxy
156 },
157 &quot;subcomponents&quot;: [ # List of all the drilldown score components.
158 { # Component is an individual security element that is scored.
159 &quot;calculateTime&quot;: &quot;A String&quot;, # Time when score was calculated.
160 &quot;dataCaptureTime&quot;: &quot;A String&quot;, # Time in the requested time period when data was last captured to compute the score.
161 &quot;drilldownPaths&quot;: [ # List of paths for next components.
162 &quot;A String&quot;,
163 ],
164 &quot;recommendations&quot;: [ # List of recommendations to improve API security.
165 { # Recommendation based on security concerns and score.
166 &quot;actions&quot;: [ # Actions for the recommendation to improve the security score.
167 { # Action to improve security score.
168 &quot;actionContext&quot;: { # Action context are all the relevant details for the action. # Action context for the action.
169 &quot;documentationLink&quot;: &quot;A String&quot;, # Documentation link for the action.
170 },
171 &quot;description&quot;: &quot;A String&quot;, # Description of the action.
172 },
173 ],
174 &quot;description&quot;: &quot;A String&quot;, # Description of the recommendation.
175 &quot;impact&quot;: 42, # Potential impact of this recommendation on the overall score. This denotes how important this recommendation is to improve the score.
176 &quot;title&quot;: &quot;A String&quot;, # Title represents recommendation title.
177 },
178 ],
179 &quot;score&quot;: 42, # Score for the component.
180 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component. Example: /org@myorg/envgroup@myenvgroup/proxies/proxy@myproxy
181 },
182 ],
183 &quot;timeRange&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Start and end time for the score.
184 &quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
185 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
186 },
187 },
188 ],
189 }</pre>
190 </div>
191
192 <div class="method">
193 <code class="details" id="computeEnvironmentScores_next">computeEnvironmentScores_next()</code>
194 <pre>Retrieves the next page of results.
195
196 Args:
197 previous_request: The request for the previous page. (required)
198 previous_response: The response from the request for the previous page. (required)
199
200 Returns:
201 A request object that you can call &#x27;execute()&#x27; on to request the next
202 page. Returns None if there are no more items in the collection.
203 </pre>
204 </div>
205
206 <div class="method">
207 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
208 <pre>CreateSecurityProfileEnvironmentAssociation creates profile environment association i.e. attaches environment to security profile.
209
210 Args:
211 parent: string, Required. Name of organization and security profile ID. Format: organizations/{org}/securityProfiles/{profile} (required)
212 body: object, The request body.
213 The object takes the form of:
214
215 { # Represents a SecurityProfileEnvironmentAssociation resource.
216 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. The time when environment was attached to the security profile.
217 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the environment that the profile is attached to.
218 &quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Revision ID of the security profile.
219 }
220
221 x__xgafv: string, V1 error format.
222 Allowed values
223 1 - v1 error format
224 2 - v2 error format
225
226 Returns:
227 An object of the form:
228
229 { # Represents a SecurityProfileEnvironmentAssociation resource.
230 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. The time when environment was attached to the security profile.
231 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the environment that the profile is attached to.
232 &quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Revision ID of the security profile.
233 }</pre>
234 </div>
235
236 <div class="method">
237 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
238 <pre>DeleteSecurityProfileEnvironmentAssociation removes profile environment association i.e. detaches environment from security profile.
239
240 Args:
241 name: string, Required. The name of the environment attachment to delete. Format: organizations/{org}/securityProfiles/{profile}/environments/{env} (required)
242 x__xgafv: string, V1 error format.
243 Allowed values
244 1 - v1 error format
245 2 - v2 error format
246
247 Returns:
248 An object of the form:
249
250 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
251 }</pre>
252 </div>
253
254 </body></html>