All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Organizations.Sources.Findings.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241111-2.0.0
Show newest version






SecurityCommandCenter.Organizations.Sources.Findings (Security Command Center API v1-rev20240926-2.0.0)












com.google.api.services.securitycenter.v1

Class SecurityCommandCenter.Organizations.Sources.Findings

  • java.lang.Object
    • com.google.api.services.securitycenter.v1.SecurityCommandCenter.Organizations.Sources.Findings
    • Constructor Detail

      • Findings

        public Findings()
    • Method Detail

      • create

        public SecurityCommandCenter.Organizations.Sources.Findings.Create create(String parent,
                                                                                  Finding content)
                                                                           throws IOException
        Creates a finding. The corresponding source must exist for finding creation to succeed. Create a request for the method "findings.create". 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. Resource name of the new finding's parent. Its format should be `organizations/[organization_id]/sources/[source_id]`.
        content - the Finding
        Returns:
        the request
        Throws:
        IOException
      • group

        public SecurityCommandCenter.Organizations.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.Organizations.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.Organizations.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.Organizations.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.Organizations.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.Organizations.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.Organizations.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