FoldersSourcesFindings
class FoldersSourcesFindings extends Resource (View source)
The "findings" collection of methods.
Typical usage is:
$securitycenterService = new Google\Service\SecurityCommandCenter(...);
$findings = $securitycenterService->folders_sources_findings;
Methods
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 (findings.group)
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
(findings.listFoldersSourcesFindings)
Updates the mute state of a finding. (findings.setMute)
Updates the state of a finding. (findings.setState)
Updates security marks. (findings.updateSecurityMarks)
Details
GroupFindingsResponse
group(string $parent, GroupFindingsRequest $postBody, array $optParams = [])
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 (findings.group)
ListFindingsResponse
listFoldersSourcesFindings(string $parent, array $optParams = [])
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
(findings.listFoldersSourcesFindings)
Finding
patch(string $name, Finding $postBody, array $optParams = [])
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed. (findings.patch)
Finding
setMute(string $name, SetMuteRequest $postBody, array $optParams = [])
Updates the mute state of a finding. (findings.setMute)
Finding
setState(string $name, SetFindingStateRequest $postBody, array $optParams = [])
Updates the state of a finding. (findings.setState)
SecurityMarks
updateSecurityMarks(string $name, SecurityMarks $postBody, array $optParams = [])
Updates security marks. (findings.updateSecurityMarks)