Cvssv3

google.cloud.securitycenter.v1. Cvssv3

Represents a Cvssv3.

Constructor

new Cvssv3(propertiesopt)

Constructs a new Cvssv3.

Parameters:
Name Type Attributes Description
properties google.cloud.securitycenter.v1.ICvssv3 <optional>

Properties to set

Implements:
  • ICvssv3

Members

attackComplexity

Cvssv3 attackComplexity.

attackVector

Cvssv3 attackVector.

availabilityImpact

Cvssv3 availabilityImpact.

baseScore

Cvssv3 baseScore.

confidentialityImpact

Cvssv3 confidentialityImpact.

integrityImpact

Cvssv3 integrityImpact.

privilegesRequired

Cvssv3 privilegesRequired.

scope

Cvssv3 scope.

userInteraction

Cvssv3 userInteraction.

AttackComplexity

AttackComplexity enum.

Properties:
Name Type Description
ATTACK_COMPLEXITY_UNSPECIFIED number

ATTACK_COMPLEXITY_UNSPECIFIED value

ATTACK_COMPLEXITY_LOW number

ATTACK_COMPLEXITY_LOW value

ATTACK_COMPLEXITY_HIGH number

ATTACK_COMPLEXITY_HIGH value

AttackVector

AttackVector enum.

Properties:
Name Type Description
ATTACK_VECTOR_UNSPECIFIED number

ATTACK_VECTOR_UNSPECIFIED value

ATTACK_VECTOR_NETWORK number

ATTACK_VECTOR_NETWORK value

ATTACK_VECTOR_ADJACENT number

ATTACK_VECTOR_ADJACENT value

ATTACK_VECTOR_LOCAL number

ATTACK_VECTOR_LOCAL value

ATTACK_VECTOR_PHYSICAL number

ATTACK_VECTOR_PHYSICAL value

Impact

Impact enum.

Properties:
Name Type Description
IMPACT_UNSPECIFIED number

IMPACT_UNSPECIFIED value

IMPACT_HIGH number

IMPACT_HIGH value

IMPACT_LOW number

IMPACT_LOW value

IMPACT_NONE number

IMPACT_NONE value

PrivilegesRequired

PrivilegesRequired enum.

Properties:
Name Type Description
PRIVILEGES_REQUIRED_UNSPECIFIED number

PRIVILEGES_REQUIRED_UNSPECIFIED value

PRIVILEGES_REQUIRED_NONE number

PRIVILEGES_REQUIRED_NONE value

PRIVILEGES_REQUIRED_LOW number

PRIVILEGES_REQUIRED_LOW value

PRIVILEGES_REQUIRED_HIGH number

PRIVILEGES_REQUIRED_HIGH value

Scope

Scope enum.

Properties:
Name Type Description
SCOPE_UNSPECIFIED number

SCOPE_UNSPECIFIED value

SCOPE_UNCHANGED number

SCOPE_UNCHANGED value

SCOPE_CHANGED number

SCOPE_CHANGED value

UserInteraction

UserInteraction enum.

Properties:
Name Type Description
USER_INTERACTION_UNSPECIFIED number

USER_INTERACTION_UNSPECIFIED value

USER_INTERACTION_NONE number

USER_INTERACTION_NONE value

USER_INTERACTION_REQUIRED number

USER_INTERACTION_REQUIRED value

Methods

toJSON() → {Object.<string, *>}

Converts this Cvssv3 to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.securitycenter.v1.Cvssv3}

Creates a new Cvssv3 instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.securitycenter.v1.ICvssv3 <optional>

Properties to set

Returns:
Type Description
google.cloud.securitycenter.v1.Cvssv3

Cvssv3 instance

(static) decode(reader, lengthopt) → {google.cloud.securitycenter.v1.Cvssv3}

Decodes a Cvssv3 message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.securitycenter.v1.Cvssv3

Cvssv3

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.securitycenter.v1.Cvssv3}

Decodes a Cvssv3 message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.securitycenter.v1.Cvssv3

Cvssv3

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified Cvssv3 message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.securitycenter.v1.ICvssv3

Cvssv3 message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified Cvssv3 message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.securitycenter.v1.ICvssv3

Cvssv3 message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.securitycenter.v1.Cvssv3}

Creates a Cvssv3 message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.securitycenter.v1.Cvssv3

Cvssv3

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Cvssv3

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Cvssv3 message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.securitycenter.v1.Cvssv3

Cvssv3

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a Cvssv3 message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not