target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Folders.Sources.Findings.html Maven / Gradle / Ivy
SecurityCommandCenter.Folders.Sources.Findings (Security Command Center API v1-rev20240926-2.0.0)
com.google.api.services.securitycenter.v1
Class SecurityCommandCenter.Folders.Sources.Findings
- java.lang.Object
-
- com.google.api.services.securitycenter.v1.SecurityCommandCenter.Folders.Sources.Findings
-
- Enclosing class:
- SecurityCommandCenter.Folders.Sources
public class SecurityCommandCenter.Folders.Sources.Findings
extends Object
The "findings" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SecurityCommandCenter.Folders.Sources.Findings.ExternalSystems
The "externalSystems" collection of methods.
class
SecurityCommandCenter.Folders.Sources.Findings.Group
class
SecurityCommandCenter.Folders.Sources.Findings.List
class
SecurityCommandCenter.Folders.Sources.Findings.Patch
class
SecurityCommandCenter.Folders.Sources.Findings.SetMute
class
SecurityCommandCenter.Folders.Sources.Findings.SetState
class
SecurityCommandCenter.Folders.Sources.Findings.UpdateSecurityMarks
-
Constructor Summary
Constructors
Constructor and Description
Findings()
-
Method Summary
-
-
Method Detail
-
group
public SecurityCommandCenter.Folders.Sources.Findings.Group group(String parent,
GroupFindingsRequest content)
throws IOException
Filters an organization or source's findings and groups them by their specified properties. To
group across all sources provide a `-` as the source id. Example:
/v1/organizations/{organization_id}/sources/-/findings,
/v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings
Create a request for the method "findings.group".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Name of the source to groupBy. Its format is
`organizations/[organization_id]/sources/[source_id]`,
`folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`.
To groupBy across all sources provide a source_id of `-`. For example:
`organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or
`projects/{project_id}/sources/-`
content
- the GroupFindingsRequest
- Returns:
- the request
- Throws:
IOException
-
list
public SecurityCommandCenter.Folders.Sources.Findings.List list(String parent)
throws IOException
Lists an organization or source's findings. To list across all sources provide a `-` as the
source id. Example: /v1/organizations/{organization_id}/sources/-/findings
Create a request for the method "findings.list".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Name of the source the findings belong to. Its format is
`organizations/[organization_id]/sources/[source_id]`,
`folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`.
To list across all sources provide a source_id of `-`. For example:
`organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or
`projects/{projects_id}/sources/-`
- Returns:
- the request
- Throws:
IOException
-
patch
public SecurityCommandCenter.Folders.Sources.Findings.Patch patch(String name,
Finding content)
throws IOException
Creates or updates a finding. The corresponding source must exist for a finding creation to
succeed.
Create a request for the method "findings.patch".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The [relative resource
name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the
finding. Example:
"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
"folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
"projects/{project_id}/sources/{source_id}/findings/{finding_id}".
content
- the Finding
- Returns:
- the request
- Throws:
IOException
-
setMute
public SecurityCommandCenter.Folders.Sources.Findings.SetMute setMute(String name,
SetMuteRequest content)
throws IOException
Updates the mute state of a finding.
Create a request for the method "findings.setMute".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The [relative resource
name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the
finding. Example:
`organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`,
`folders/{folder_id}/sources/{source_id}/findings/{finding_id}`,
`projects/{project_id}/sources/{source_id}/findings/{finding_id}`.
content
- the SetMuteRequest
- Returns:
- the request
- Throws:
IOException
-
setState
public SecurityCommandCenter.Folders.Sources.Findings.SetState setState(String name,
SetFindingStateRequest content)
throws IOException
Updates the state of a finding.
Create a request for the method "findings.setState".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The [relative resource
name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the
finding. Example:
`organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`,
`folders/{folder_id}/sources/{source_id}/findings/{finding_id}`,
`projects/{project_id}/sources/{source_id}/findings/{finding_id}`.
content
- the SetFindingStateRequest
- Returns:
- the request
- Throws:
IOException
-
updateSecurityMarks
public SecurityCommandCenter.Folders.Sources.Findings.UpdateSecurityMarks updateSecurityMarks(String name,
SecurityMarks content)
throws IOException
Updates security marks.
Create a request for the method "findings.updateSecurityMarks".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- The relative resource name of the SecurityMarks. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples:
"organizations/{organization_id}/assets/{asset_id}/securityMarks"
"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
content
- the SecurityMarks
- Returns:
- the request
- Throws:
IOException
-
externalSystems
public SecurityCommandCenter.Folders.Sources.Findings.ExternalSystems externalSystems()
An accessor for creating requests from the ExternalSystems collection.
The typical use is:
SecurityCommandCenter securitycenter = new SecurityCommandCenter(...);
SecurityCommandCenter.ExternalSystems.List request = securitycenter.externalSystems().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy