OrganizationsSourcesFindings
class OrganizationsSourcesFindings extends Resource (View source)
The "findings" collection of methods.
Typical usage is:
$securitycenterService = new Google\Service\SecurityCommandCenter(...);
$findings = $securitycenterService->organizations_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.listOrganizationsSourcesFindings)
Updates the mute state of a finding. (findings.setMute)
Updates the state of a finding. (findings.setState)
Updates security marks. (findings.updateSecurityMarks)
Details
Finding
create(string $parent, Finding $postBody, array $optParams = [])
Creates a finding. The corresponding source must exist for finding creation to succeed. (findings.create)
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
listOrganizationsSourcesFindings(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.listOrganizationsSourcesFindings)
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)