Skip to content

Commit 037314c

Browse files
feat(securitycenter): update the api
#### securitycenter:v1 The following keys were added: - resources.folders.resources.locations.resources.muteConfigs.methods.delete (Total Keys: 11) - resources.folders.resources.locations.resources.muteConfigs.methods.get (Total Keys: 11) - resources.folders.resources.locations.resources.muteConfigs.methods.patch (Total Keys: 15) - resources.folders.resources.securityHealthAnalyticsSettings.resources.customModules.methods.simulate (Total Keys: 12) - resources.organizations.resources.locations.resources.muteConfigs.methods.delete (Total Keys: 11) - resources.organizations.resources.locations.resources.muteConfigs.methods.get (Total Keys: 11) - resources.organizations.resources.locations.resources.muteConfigs.methods.patch (Total Keys: 15) - resources.organizations.resources.securityHealthAnalyticsSettings.resources.customModules.methods.simulate (Total Keys: 12) - resources.projects.resources.locations.resources.muteConfigs.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.muteConfigs.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.muteConfigs.methods.patch (Total Keys: 15) - resources.projects.resources.securityHealthAnalyticsSettings.resources.customModules.methods.simulate (Total Keys: 12) - schemas.Finding.properties.orgPolicies (Total Keys: 2) - schemas.OrgPolicy (Total Keys: 3) - schemas.SimulateSecurityHealthAnalyticsCustomModuleRequest (Total Keys: 4) - schemas.SimulateSecurityHealthAnalyticsCustomModuleResponse (Total Keys: 3) - schemas.SimulatedResource (Total Keys: 6) - schemas.SimulatedResult (Total Keys: 5) #### securitycenter:v1beta1 The following keys were added: - schemas.Finding.properties.orgPolicies (Total Keys: 2) - schemas.OrgPolicy (Total Keys: 3) #### securitycenter:v1beta2 The following keys were added: - schemas.Finding.properties.orgPolicies (Total Keys: 2) - schemas.OrgPolicy (Total Keys: 3)
1 parent 0b2d6d3 commit 037314c

24 files changed

+2917
-46
lines changed

docs/dyn/securitycenter_v1.folders.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
8989
</p>
9090
<p class="firstline">Returns the findings Resource.</p>
9191

92+
<p class="toc_element">
93+
<code><a href="securitycenter_v1.folders.locations.html">locations()</a></code>
94+
</p>
95+
<p class="firstline">Returns the locations Resource.</p>
96+
9297
<p class="toc_element">
9398
<code><a href="securitycenter_v1.folders.muteConfigs.html">muteConfigs()</a></code>
9499
</p>
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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="securitycenter_v1.html">Security Command Center API</a> . <a href="securitycenter_v1.folders.html">folders</a> . <a href="securitycenter_v1.folders.locations.html">locations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="securitycenter_v1.folders.locations.muteConfigs.html">muteConfigs()</a></code>
79+
</p>
80+
<p class="firstline">Returns the muteConfigs Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
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="securitycenter_v1.html">Security Command Center API</a> . <a href="securitycenter_v1.folders.html">folders</a> . <a href="securitycenter_v1.folders.locations.html">locations</a> . <a href="securitycenter_v1.folders.locations.muteConfigs.html">muteConfigs</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="#delete">delete(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Deletes an existing mute config.</p>
83+
<p class="toc_element">
84+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Gets a mute config.</p>
86+
<p class="toc_element">
87+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Updates a mute config.</p>
89+
<h3>Method Details</h3>
90+
<div class="method">
91+
<code class="details" id="close">close()</code>
92+
<pre>Close httplib2 connections.</pre>
93+
</div>
94+
95+
<div class="method">
96+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
97+
<pre>Deletes an existing mute config.
98+
99+
Args:
100+
name: string, Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}. (required)
101+
x__xgafv: string, V1 error format.
102+
Allowed values
103+
1 - v1 error format
104+
2 - v2 error format
105+
106+
Returns:
107+
An object of the form:
108+
109+
{ # 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); }
110+
}</pre>
111+
</div>
112+
113+
<div class="method">
114+
<code class="details" id="get">get(name, x__xgafv=None)</code>
115+
<pre>Gets a mute config.
116+
117+
Args:
118+
name: string, Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}. (required)
119+
x__xgafv: string, V1 error format.
120+
Allowed values
121+
1 - v1 error format
122+
2 - v2 error format
123+
124+
Returns:
125+
An object of the form:
126+
127+
{ # A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
128+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
129+
&quot;description&quot;: &quot;A String&quot;, # A description of the mute config.
130+
&quot;displayName&quot;: &quot;A String&quot;, # The human readable name to be displayed for the mute config.
131+
&quot;filter&quot;: &quot;A String&quot;, # Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
132+
&quot;mostRecentEditor&quot;: &quot;A String&quot;, # Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
133+
&quot;name&quot;: &quot;A String&quot;, # This field will be ignored if provided on config creation. Format &quot;organizations/{organization}/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/muteConfigs/{mute_config}&quot; &quot;projects/{project}/muteConfigs/{mute_config}&quot; &quot;organizations/{organization}/locations/global/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/locations/global/muteConfigs/{mute_config}&quot; &quot;projects/{project}/locations/global/muteConfigs/{mute_config}&quot;
134+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
135+
}</pre>
136+
</div>
137+
138+
<div class="method">
139+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
140+
<pre>Updates a mute config.
141+
142+
Args:
143+
name: string, This field will be ignored if provided on config creation. Format &quot;organizations/{organization}/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/muteConfigs/{mute_config}&quot; &quot;projects/{project}/muteConfigs/{mute_config}&quot; &quot;organizations/{organization}/locations/global/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/locations/global/muteConfigs/{mute_config}&quot; &quot;projects/{project}/locations/global/muteConfigs/{mute_config}&quot; (required)
144+
body: object, The request body.
145+
The object takes the form of:
146+
147+
{ # A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
148+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
149+
&quot;description&quot;: &quot;A String&quot;, # A description of the mute config.
150+
&quot;displayName&quot;: &quot;A String&quot;, # The human readable name to be displayed for the mute config.
151+
&quot;filter&quot;: &quot;A String&quot;, # Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
152+
&quot;mostRecentEditor&quot;: &quot;A String&quot;, # Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
153+
&quot;name&quot;: &quot;A String&quot;, # This field will be ignored if provided on config creation. Format &quot;organizations/{organization}/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/muteConfigs/{mute_config}&quot; &quot;projects/{project}/muteConfigs/{mute_config}&quot; &quot;organizations/{organization}/locations/global/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/locations/global/muteConfigs/{mute_config}&quot; &quot;projects/{project}/locations/global/muteConfigs/{mute_config}&quot;
154+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
155+
}
156+
157+
updateMask: string, The list of fields to be updated. If empty all mutable fields will be updated.
158+
x__xgafv: string, V1 error format.
159+
Allowed values
160+
1 - v1 error format
161+
2 - v2 error format
162+
163+
Returns:
164+
An object of the form:
165+
166+
{ # A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
167+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
168+
&quot;description&quot;: &quot;A String&quot;, # A description of the mute config.
169+
&quot;displayName&quot;: &quot;A String&quot;, # The human readable name to be displayed for the mute config.
170+
&quot;filter&quot;: &quot;A String&quot;, # Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
171+
&quot;mostRecentEditor&quot;: &quot;A String&quot;, # Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
172+
&quot;name&quot;: &quot;A String&quot;, # This field will be ignored if provided on config creation. Format &quot;organizations/{organization}/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/muteConfigs/{mute_config}&quot; &quot;projects/{project}/muteConfigs/{mute_config}&quot; &quot;organizations/{organization}/locations/global/muteConfigs/{mute_config}&quot; &quot;folders/{folder}/locations/global/muteConfigs/{mute_config}&quot; &quot;projects/{project}/locations/global/muteConfigs/{mute_config}&quot;
173+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
174+
}</pre>
175+
</div>
176+
177+
</body></html>

0 commit comments

Comments
 (0)