projects

POST /v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setState

Changed on

Request

  • Base URL
    https://securitycenter.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/securitycenter
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/securitycenter

Path parameters

projectsId, string required
sourcesId, string required
findingsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Request body

SetFindingStateRequest required
startTime, string google-datetime
state, 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE'

Response

Successful response

Finding required
access, Access
affectedResources, AffectedResources
agent, Agent
agentAnomaly, AgentAnomaly
agentDataAccessEvents, AgentDataAccessEvent[]
agentSessions, AgentSession[]
aiModel, AiModel
application, Application
artifactGuardPolicies, ArtifactGuardPolicies
attackExposure, AttackExposure
backupDisasterRecovery, BackupDisasterRecovery
canonicalName, string
category, string
chokepoint, Chokepoint
cloudArmor, CloudArmor
cloudDlpDataProfile, CloudDlpDataProfile
cloudDlpInspection, CloudDlpInspection
cloudRun, CloudRun
complianceDetails, ComplianceDetails
compliances, Compliance[]
connections, Connection[]
contacts, object
containers, Container[]
createTime, string google-datetime
dataAccessEvents, DataAccessEvent[]
dataFlowEvents, DataFlowEvent[]
dataRetentionDeletionEvents, DataRetentionDeletionEvent[]
database, Database
description, string
discoveredWorkload, DiscoveredWorkload
disk, Disk
eventTime, string google-datetime
exfiltration, Exfiltration
externalExposure, ExternalExposure
externalSystems, object
externalUri, string
files, File[]
findingClass, 'FINDING_CLASS_UNSPECIFIED' | 'THREAT' | 'VULNERABILITY' | 'MISCONFIGURATION' | 'OBSERVATION' | 'SCC_ERROR' | 'POSTURE_VIOLATION' | 'TOXIC_COMBINATION' | 'SENSITIVE_DATA_RISK' | 'CHOKEPOINT' | 'EXTERNAL_EXPOSURE' | 'SECRET'
groupMemberships, GroupMembership[]
iamBindings, IamBinding[]
iamDetails, GoogleCloudSecuritycenterV1IamDetails
indicator, Indicator
ipRules, IpRules
job, Job
kernelRootkit, KernelRootkit
kubernetes, Kubernetes
loadBalancers, LoadBalancer[]
logEntries, LogEntry[]
mitreAttack, MitreAttack
moduleName, string
mute, 'MUTE_UNSPECIFIED' | 'MUTED' | 'UNMUTED' | 'UNDEFINED'
muteInfo, MuteInfo
muteInitiator, string
muteUpdateTime, string google-datetime
name, string
networks, Network[]
nextSteps, string
notebook, Notebook
orgPolicies, OrgPolicy[]
parent, string
parentDisplayName, string
policyViolationSummary, PolicyViolationSummary
processes, Process[]
resourceName, string
secret, Secret
securityMarks, SecurityMarks
securityPosture, SecurityPosture
severity, 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'
sourceProperties, object
state, 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE'
toxicCombination, ToxicCombination
vertexAi, VertexAi
vulnerability, Vulnerability

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/securitycenter was removed from the endpoint's security scheme Oauth2

    1 more change in this revision