Method: folders.locations.eventThreatDetectionCustomModules.validate

지정된 Event Threat Detection 커스텀 모듈을 검증합니다.

HTTP 요청

POST https://securitycentermanagement.googleapis.com/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:validate

URL은 gRPC 트랜스코딩 문법을 사용합니다.

경로 매개변수

매개변수
parent

string

필수 입력란입니다. 맞춤 모듈을 검증할 상위 요소의 리소스 이름으로 다음 형식 중 하나입니다.

  • organizations/{organization}/locations/{location}

요청 본문

요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.

JSON 표현
{
  "rawText": string,
  "type": string
}
필드
rawText

string

필수 입력란입니다. 모듈 콘텐츠의 원시 텍스트입니다. 오류 메시지를 생성하는 데 사용됩니다.

type

string

필수 입력란입니다. 모듈의 유형입니다. 예를 들면 CONFIGURABLE_BAD_IP입니다.

응답 본문

성공한 경우 응답 본문에 ValidateEventThreatDetectionCustomModuleResponse의 인스턴스가 포함됩니다.

승인 범위

다음 OAuth 범위가 필요합니다.

  • https://www.googleapis.com/auth/cloud-platform

자세한 내용은 인증 개요를 참조하세요.

IAM 권한

parent 리소스에 대해서는 다음 IAM 권한이 필요합니다.

  • securitycentermanagement.eventThreatDetectionCustomModules.validate

자세한 내용은 IAM 문서를 참조하세요.