blob: a6c94b819ec7a393faffc550b097546ec94e8c4b [file] [log] [blame] [edit]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="securitycenter_v1.html">Security Command Center API</a> . <a href="securitycenter_v1.projects.html">projects</a> . <a href="securitycenter_v1.projects.sources.html">sources</a> . <a href="securitycenter_v1.projects.sources.findings.html">findings</a> . <a href="securitycenter_v1.projects.sources.findings.externalSystems.html">externalSystems</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates external system. This is for a given finding.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Updates external system. This is for a given finding.
Args:
name: string, Full resource name of the external system, for example: &quot;organizations/1234/sources/5678/findings/123456/externalSystems/jira&quot;, &quot;folders/1234/sources/5678/findings/123456/externalSystems/jira&quot;, &quot;projects/1234/sources/5678/findings/123456/externalSystems/jira&quot; (required)
body: object, The request body.
The object takes the form of:
{ # Representation of third party SIEM/SOAR fields within SCC.
&quot;assignees&quot;: [ # References primary/secondary etc assignees in the external system.
&quot;A String&quot;,
],
&quot;caseCloseTime&quot;: &quot;A String&quot;, # The time when the case was closed, as reported by the external system.
&quot;caseCreateTime&quot;: &quot;A String&quot;, # The time when the case was created, as reported by the external system.
&quot;casePriority&quot;: &quot;A String&quot;, # The priority of the finding&#x27;s corresponding case in the external system.
&quot;caseSla&quot;: &quot;A String&quot;, # The SLA of the finding&#x27;s corresponding case in the external system.
&quot;caseUri&quot;: &quot;A String&quot;, # The link to the finding&#x27;s corresponding case in the external system.
&quot;externalSystemUpdateTime&quot;: &quot;A String&quot;, # The time when the case was last updated, as reported by the external system.
&quot;externalUid&quot;: &quot;A String&quot;, # The identifier that&#x27;s used to track the finding&#x27;s corresponding case in the external system.
&quot;name&quot;: &quot;A String&quot;, # Full resource name of the external system, for example: &quot;organizations/1234/sources/5678/findings/123456/externalSystems/jira&quot;, &quot;folders/1234/sources/5678/findings/123456/externalSystems/jira&quot;, &quot;projects/1234/sources/5678/findings/123456/externalSystems/jira&quot;
&quot;status&quot;: &quot;A String&quot;, # The most recent status of the finding&#x27;s corresponding case, as reported by the external system.
&quot;ticketInfo&quot;: { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
&quot;assignee&quot;: &quot;A String&quot;, # The assignee of the ticket in the ticket system.
&quot;description&quot;: &quot;A String&quot;, # The description of the ticket in the ticket system.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the ticket in the ticket system.
&quot;status&quot;: &quot;A String&quot;, # The latest status of the ticket, as reported by the ticket system.
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the ticket was last updated, as reported by the ticket system.
&quot;uri&quot;: &quot;A String&quot;, # The link to the ticket in the ticket system.
},
}
updateMask: string, The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Representation of third party SIEM/SOAR fields within SCC.
&quot;assignees&quot;: [ # References primary/secondary etc assignees in the external system.
&quot;A String&quot;,
],
&quot;caseCloseTime&quot;: &quot;A String&quot;, # The time when the case was closed, as reported by the external system.
&quot;caseCreateTime&quot;: &quot;A String&quot;, # The time when the case was created, as reported by the external system.
&quot;casePriority&quot;: &quot;A String&quot;, # The priority of the finding&#x27;s corresponding case in the external system.
&quot;caseSla&quot;: &quot;A String&quot;, # The SLA of the finding&#x27;s corresponding case in the external system.
&quot;caseUri&quot;: &quot;A String&quot;, # The link to the finding&#x27;s corresponding case in the external system.
&quot;externalSystemUpdateTime&quot;: &quot;A String&quot;, # The time when the case was last updated, as reported by the external system.
&quot;externalUid&quot;: &quot;A String&quot;, # The identifier that&#x27;s used to track the finding&#x27;s corresponding case in the external system.
&quot;name&quot;: &quot;A String&quot;, # Full resource name of the external system, for example: &quot;organizations/1234/sources/5678/findings/123456/externalSystems/jira&quot;, &quot;folders/1234/sources/5678/findings/123456/externalSystems/jira&quot;, &quot;projects/1234/sources/5678/findings/123456/externalSystems/jira&quot;
&quot;status&quot;: &quot;A String&quot;, # The most recent status of the finding&#x27;s corresponding case, as reported by the external system.
&quot;ticketInfo&quot;: { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
&quot;assignee&quot;: &quot;A String&quot;, # The assignee of the ticket in the ticket system.
&quot;description&quot;: &quot;A String&quot;, # The description of the ticket in the ticket system.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the ticket in the ticket system.
&quot;status&quot;: &quot;A String&quot;, # The latest status of the ticket, as reported by the ticket system.
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the ticket was last updated, as reported by the ticket system.
&quot;uri&quot;: &quot;A String&quot;, # The link to the ticket in the ticket system.
},
}</pre>
</div>
</body></html>