Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateOccurrenceParams

Parameters for the createOccurrence operation.

Hierarchy

  • CreateOccurrenceParams

Index

Properties

accountId

accountId: string

Account ID.

Optional headers

headers: OutgoingHttpHeaders

Optional newContext

newContext: Context

Details about the context of this Occurrence.

Optional newCreateTime

newCreateTime: string

Output only. The time this Occurrence was created.

Optional newFinding

newFinding: Finding

Details of the occurrence of a finding.

newId

newId: string

newKind

newKind: ApiNoteKind

Output only. This explicitly denotes which of the Occurrence details are specified. This field can be used as a filter in list requests.

Optional newKpi

newKpi: Kpi

Details of the occurrence of a KPI.

Optional newName

newName: string

Output only. The name of the Occurrence in the form "providers/{provider_id}/occurrences/{occuurence_id}".

newNoteName

newNoteName: string

An analysis note associated with this image, in the form "providers/{provider_id}/notes/{note_id}" This field can be used as a filter in list requests.

Optional newProviderId

newProviderId: string

Optional newRemediation

newRemediation: string

Optional newResourceUrl

newResourceUrl: string

The unique URL of the resource, image or the container, for which the Occurrence applies. For example, https://gcr.io/provider/image@sha256:foo. This field can be used as a filter in list requests.

Optional newUpdateTime

newUpdateTime: string

Output only. The time this Occurrence was last updated.

providerId

providerId: string

Part of parent. This contains the provider_id for example: providers/{provider_id}.

Optional replaceIfExists

replaceIfExists: boolean

It allows replacing an existing occurrence when set to true.

Generated using TypeDoc