REST Resource: organizations.securityProfilesV2

Resource: SecurityProfileV2

Security profile for risk assessment version 2.

JSON representation
{
  "name": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "profileAssessmentConfigs": {
    string: {
      object (ProfileAssessmentConfig)
    },
    ...
  },
  "googleDefined": boolean
}
Fields
name

string

Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}

description

string

Optional. The description of the security profile.

createTime

string (Timestamp format)

Output only. The time of the security profile creation.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The time of the security profile update.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

profileAssessmentConfigs

map (key: string, value: object (ProfileAssessmentConfig))

Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

googleDefined

boolean

Output only. Whether the security profile is google defined.

ProfileAssessmentConfig

The configuration definition for a specific assessment.

JSON representation
{
  "weight": enum (Weight)
}
Fields
weight

enum (Weight)

The weight of the assessment.

Weight

The weight of the assessment.

Enums
WEIGHT_UNSPECIFIED The weight is unspecified.
MINOR The weight is minor.
MODERATE The weight is moderate.
MAJOR The weight is major.

Methods

create

Create a security profile v2.

delete

Delete a security profile v2.

get

Get a security profile v2.

list

List security profiles v2.

patch

Update a security profile V2.