Class OrganizationsResource.SourcesResource.FindingsResource
The "findings" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta1
Assembly: Google.Apis.SecurityCommandCenter.v1beta1.dll
Syntax
public class OrganizationsResource.SourcesResource.FindingsResource
Constructors
FindingsResource(IClientService)
Constructs a new resource.
Declaration
public FindingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudSecuritycenterV1beta1Finding, string)
Creates a finding. The corresponding source must exist for finding creation to succeed.
Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.CreateRequest Create(GoogleCloudSecuritycenterV1beta1Finding body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudSecuritycenterV1beta1Finding | body | The body of the request. |
string | parent | Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]". |
Returns
Type | Description |
---|---|
OrganizationsResource.SourcesResource.FindingsResource.CreateRequest |
Group(GroupFindingsRequest, string)
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:
/v1beta1/organizations/{organization_id}/sources/-/findings
Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.GroupRequest Group(GroupFindingsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GroupFindingsRequest | body | The body of the request. |
string | parent | Required. Name of the source to groupBy. Its format is
"organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a
source_id of |
Returns
Type | Description |
---|---|
OrganizationsResource.SourcesResource.FindingsResource.GroupRequest |
List(string)
Lists an organization or source's findings. To list across all sources provide a -
as the source
id. Example: /v1beta1/organizations/{organization_id}/sources/-/findings
Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the source the findings belong to. Its format is
"organizations/[organization_id]/sources/[source_id]". To list across all sources provide a
source_id of |
Returns
Type | Description |
---|---|
OrganizationsResource.SourcesResource.FindingsResource.ListRequest |
Patch(GoogleCloudSecuritycenterV1beta1Finding, string)
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.PatchRequest Patch(GoogleCloudSecuritycenterV1beta1Finding body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudSecuritycenterV1beta1Finding | body | The body of the request. |
string | name | The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" |
Returns
Type | Description |
---|---|
OrganizationsResource.SourcesResource.FindingsResource.PatchRequest |
SetState(SetFindingStateRequest, string)
Updates the state of a finding.
Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.SetStateRequest SetState(SetFindingStateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SetFindingStateRequest | body | The body of the request. |
string | name | Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". |
Returns
Type | Description |
---|---|
OrganizationsResource.SourcesResource.FindingsResource.SetStateRequest |
UpdateSecurityMarks(GoogleCloudSecuritycenterV1beta1SecurityMarks, string)
Updates security marks.
Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.UpdateSecurityMarksRequest UpdateSecurityMarks(GoogleCloudSecuritycenterV1beta1SecurityMarks body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudSecuritycenterV1beta1SecurityMarks | body | The body of the request. |
string | 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". |
Returns
Type | Description |
---|---|
OrganizationsResource.SourcesResource.FindingsResource.UpdateSecurityMarksRequest |