Skip to content

Commit 7332429

Browse files
feat(securitycenter): update the api
#### securitycenter:v1 The following keys were added: - resources.folders.resources.eventThreatDetectionSettings.methods.validateCustomModule (Total Keys: 12) - resources.folders.resources.eventThreatDetectionSettings.resources.customModules.methods.create (Total Keys: 12) - resources.folders.resources.eventThreatDetectionSettings.resources.customModules.methods.delete (Total Keys: 11) - resources.folders.resources.eventThreatDetectionSettings.resources.customModules.methods.get (Total Keys: 11) - resources.folders.resources.eventThreatDetectionSettings.resources.customModules.methods.list (Total Keys: 16) - resources.folders.resources.eventThreatDetectionSettings.resources.customModules.methods.patch (Total Keys: 15) - resources.organizations.resources.eventThreatDetectionSettings.methods.validateCustomModule (Total Keys: 12) - resources.organizations.resources.eventThreatDetectionSettings.resources.customModules.methods.create (Total Keys: 12) - resources.organizations.resources.eventThreatDetectionSettings.resources.customModules.methods.delete (Total Keys: 11) - resources.organizations.resources.eventThreatDetectionSettings.resources.customModules.methods.get (Total Keys: 11) - resources.organizations.resources.eventThreatDetectionSettings.resources.customModules.methods.list (Total Keys: 16) - resources.organizations.resources.eventThreatDetectionSettings.resources.customModules.methods.patch (Total Keys: 15) - resources.projects.resources.eventThreatDetectionSettings.methods.validateCustomModule (Total Keys: 12) - resources.projects.resources.eventThreatDetectionSettings.resources.customModules.methods.create (Total Keys: 12) - resources.projects.resources.eventThreatDetectionSettings.resources.customModules.methods.delete (Total Keys: 11) - resources.projects.resources.eventThreatDetectionSettings.resources.customModules.methods.get (Total Keys: 11) - resources.projects.resources.eventThreatDetectionSettings.resources.customModules.methods.list (Total Keys: 16) - resources.projects.resources.eventThreatDetectionSettings.resources.customModules.methods.patch (Total Keys: 15) - schemas.CustomModuleValidationError (Total Keys: 9) - schemas.EventThreatDetectionCustomModule (Total Keys: 13) - schemas.ListEventThreatDetectionCustomModulesResponse (Total Keys: 5) - schemas.Position (Total Keys: 4) - schemas.ValidateEventThreatDetectionCustomModuleRequest (Total Keys: 4) - schemas.ValidateEventThreatDetectionCustomModuleResponse (Total Keys: 3)
1 parent 0f6ae24 commit 7332429

12 files changed

+2010
-14
lines changed

docs/dyn/securitycenter_v1.folders.eventThreatDetectionSettings.customModules.html

Lines changed: 288 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
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.eventThreatDetectionSettings.html">eventThreatDetectionSettings</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="securitycenter_v1.folders.eventThreatDetectionSettings.customModules.html">customModules()</a></code>
79+
</p>
80+
<p class="firstline">Returns the customModules 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+
<p class="toc_element">
86+
<code><a href="#validateCustomModule">validateCustomModule(parent, body=None, x__xgafv=None)</a></code></p>
87+
<p class="firstline">Validates the given Event Threat Detection Custom Module.</p>
88+
<h3>Method Details</h3>
89+
<div class="method">
90+
<code class="details" id="close">close()</code>
91+
<pre>Close httplib2 connections.</pre>
92+
</div>
93+
94+
<div class="method">
95+
<code class="details" id="validateCustomModule">validateCustomModule(parent, body=None, x__xgafv=None)</code>
96+
<pre>Validates the given Event Threat Detection Custom Module.
97+
98+
Args:
99+
parent: string, Required. Resource name of the parent to validate the Custom Module under. Its format is: * &quot;organizations/{organization}/eventThreatDetectionSettings&quot;. * &quot;folders/{folder}/eventThreatDetectionSettings&quot;. * &quot;projects/{project}/eventThreatDetectionSettings&quot;. (required)
100+
body: object, The request body.
101+
The object takes the form of:
102+
103+
{ # Request to validate an EventThreatDetectionCustomModule.
104+
&quot;rawText&quot;: &quot;A String&quot;, # Required. The raw text of the module&#x27;s contents. Used to generate error messages.
105+
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).
106+
}
107+
108+
x__xgafv: string, V1 error format.
109+
Allowed values
110+
1 - v1 error format
111+
2 - v2 error format
112+
113+
Returns:
114+
An object of the form:
115+
116+
{ # Response to validating an Event Threat Detection Custom Module.
117+
&quot;errors&quot;: { # A list of zero or more errors encountered while validating the uploaded configuration of an Event Threat Detection Custom Module. # A list of errors returned by the validator. If the list is empty, there were no errors.
118+
&quot;errors&quot;: [
119+
{ # An error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.
120+
&quot;description&quot;: &quot;A String&quot;, # A description of the error, suitable for human consumption. Required.
121+
&quot;end&quot;: { # A position in the uploaded text version of a module. # The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed..
122+
&quot;columnNumber&quot;: 42,
123+
&quot;lineNumber&quot;: 42,
124+
},
125+
&quot;fieldPath&quot;: &quot;A String&quot;, # The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected.
126+
&quot;start&quot;: { # A position in the uploaded text version of a module. # The initial position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.
127+
&quot;columnNumber&quot;: 42,
128+
&quot;lineNumber&quot;: 42,
129+
},
130+
},
131+
],
132+
},
133+
}</pre>
134+
</div>
135+
136+
</body></html>

docs/dyn/securitycenter_v1.folders.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the bigQueryExports Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="securitycenter_v1.folders.eventThreatDetectionSettings.html">eventThreatDetectionSettings()</a></code>
89+
</p>
90+
<p class="firstline">Returns the eventThreatDetectionSettings Resource.</p>
91+
8792
<p class="toc_element">
8893
<code><a href="securitycenter_v1.folders.findings.html">findings()</a></code>
8994
</p>

0 commit comments

Comments
 (0)