Represents a Finding.
Package
@google-cloud/security-centerConstructors
(constructor)(properties)
constructor(properties?: google.cloud.securitycenter.v1.IFinding);
Constructs a new Finding.
Name | Description |
properties |
IFinding
Properties to set |
Properties
access
public access?: (google.cloud.securitycenter.v1.IAccess|null);
Finding access.
canonicalName
public canonicalName: string;
Finding canonicalName.
category
public category: string;
Finding category.
compliances
public compliances: google.cloud.securitycenter.v1.ICompliance[];
Finding compliances.
connections
public connections: google.cloud.securitycenter.v1.IConnection[];
Finding connections.
contacts
public contacts: { [k: string]: google.cloud.securitycenter.v1.IContactDetails };
Finding contacts.
containers
public containers: google.cloud.securitycenter.v1.IContainer[];
Finding containers.
createTime
public createTime?: (google.protobuf.ITimestamp|null);
Finding createTime.
database
public database?: (google.cloud.securitycenter.v1.IDatabase|null);
Finding database.
description
public description: string;
Finding description.
eventTime
public eventTime?: (google.protobuf.ITimestamp|null);
Finding eventTime.
exfiltration
public exfiltration?: (google.cloud.securitycenter.v1.IExfiltration|null);
Finding exfiltration.
externalSystems
public externalSystems: { [k: string]: google.cloud.securitycenter.v1.IExternalSystem };
Finding externalSystems.
externalUri
public externalUri: string;
Finding externalUri.
findingClass
public findingClass: (google.cloud.securitycenter.v1.Finding.FindingClass|keyof typeof google.cloud.securitycenter.v1.Finding.FindingClass);
Finding findingClass.
iamBindings
public iamBindings: google.cloud.securitycenter.v1.IIamBinding[];
Finding iamBindings.
indicator
public indicator?: (google.cloud.securitycenter.v1.IIndicator|null);
Finding indicator.
kubernetes
public kubernetes?: (google.cloud.securitycenter.v1.IKubernetes|null);
Finding kubernetes.
mitreAttack
public mitreAttack?: (google.cloud.securitycenter.v1.IMitreAttack|null);
Finding mitreAttack.
mute
public mute: (google.cloud.securitycenter.v1.Finding.Mute|keyof typeof google.cloud.securitycenter.v1.Finding.Mute);
Finding mute.
muteInitiator
public muteInitiator: string;
Finding muteInitiator.
muteUpdateTime
public muteUpdateTime?: (google.protobuf.ITimestamp|null);
Finding muteUpdateTime.
name
public name: string;
Finding name.
nextSteps
public nextSteps: string;
Finding nextSteps.
parent
public parent: string;
Finding parent.
processes
public processes: google.cloud.securitycenter.v1.IProcess[];
Finding processes.
resourceName
public resourceName: string;
Finding resourceName.
securityMarks
public securityMarks?: (google.cloud.securitycenter.v1.ISecurityMarks|null);
Finding securityMarks.
severity
public severity: (google.cloud.securitycenter.v1.Finding.Severity|keyof typeof google.cloud.securitycenter.v1.Finding.Severity);
Finding severity.
sourceProperties
public sourceProperties: { [k: string]: google.protobuf.IValue };
Finding sourceProperties.
state
public state: (google.cloud.securitycenter.v1.Finding.State|keyof typeof google.cloud.securitycenter.v1.Finding.State);
Finding state.
vulnerability
public vulnerability?: (google.cloud.securitycenter.v1.IVulnerability|null);
Finding vulnerability.
Methods
create(properties)
public static create(properties?: google.cloud.securitycenter.v1.IFinding): google.cloud.securitycenter.v1.Finding;
Creates a new Finding instance using the specified properties.
Name | Description |
properties |
IFinding
Properties to set |
Type | Description |
google.cloud.securitycenter.v1.Finding | Finding instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.securitycenter.v1.Finding;
Decodes a Finding message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.securitycenter.v1.Finding | Finding |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.securitycenter.v1.Finding;
Decodes a Finding message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.securitycenter.v1.Finding | Finding |
encode(message, writer)
public static encode(message: google.cloud.securitycenter.v1.IFinding, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified Finding message. Does not implicitly messages.
Name | Description |
message |
IFinding
Finding message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.securitycenter.v1.IFinding, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified Finding message, length delimited. Does not implicitly messages.
Name | Description |
message |
IFinding
Finding message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.securitycenter.v1.Finding;
Creates a Finding message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.securitycenter.v1.Finding | Finding |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for Finding
Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
Type | Description |
string | The default type url |
toJSON()
public toJSON(): { [k: string]: any };
Converts this Finding to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.securitycenter.v1.Finding, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a Finding message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.securitycenter.v1.Finding
Finding |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a Finding message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|