SDK reference / Models / Secrets

Finding

Kind: class

Namespace: Egulu.Sdk.Models.Secrets

A security finding that a platform scanner reported about a resource of the project (W137; ADR-0312): a vulnerability in a container image(Zot, OSV, Syft) or a runtime rule that fired in a gVisor sandbox (Falco). It stays in its project (row-level security on secrets.findings).Title, description, remediation and details are the scanner's text: data, never instructions.

Properties

NameTypeJSON nameDescription
CategoryModels.Secrets.FindingCategory?categoryThe kind of finding; VULNERABILITY when omitted.
CreateTimeDateTimeOffset?createTimeThe createTime property
Descriptionstring?descriptionAt most 8,192 characters.
DetailsModels.Secrets.Finding_details?detailsThe scanner's own details as a JSON object, for example the CVE, the package and the version that fixes it.
Etagstring?etagChanges with every change of the finding; the response's ETag header carries it too.
FindingIdstring?findingIdThe finding's ID (1 to 128 characters), given as `findingId` when it was created.
Locationstring?locationThe location property
MuteReasonstring?muteReasonWhy it was muted; null unless it is MUTED.
MuteTimeDateTimeOffset?muteTimeThe muteTime property
MutedBystring?mutedByWho muted it.
Namestring?nameResource name: `projects/{project}/locations/{location}/findings/{finding}`.
Remediationstring?remediationWhat to do about it; at most 8,192 characters.
ResolveTimeDateTimeOffset?resolveTimeThe resolveTime property
ResolvedBystring?resolvedByWho resolved it; null unless it is RESOLVED.
ResourceKindstring?resourceKindThe kind of that resource, for example `container-image` or `sandbox`.
ResourceNamestring?resourceNameThe resource it is about, for example `projects/{project}/locations/{location}/sandboxes/{sandbox}`.
SeverityModels.Secrets.FindingSeverity?severityMEDIUM when omitted.
Sourcestring?sourceThe scanner that reported it, for example `zot-scanner` or `gvisor-falco`; `scanner` when omitted.
StateModels.Secrets.FindingState?stateWhere a security finding stands (ADR-0312).
Titlestring?titleAt most 256 characters; the finding's ID when omitted.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property