Liking cljdoc? Tell your friends :D

happygapi.containeranalysis.projects

Container Analysis API: projects. An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts. See: https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects

Container Analysis API: projects.
An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.
See: https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects
raw docstring

notes-batchCreate$clj

(notes-batchCreate$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/batchCreate

Required parameters: parent

Optional parameters: none

Body:

{:notes {}}

Creates new notes in batch.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/batchCreate

Required parameters: parent

Optional parameters: none

Body: 

{:notes {}}

Creates new notes in batch.
sourceraw docstring

notes-create$clj

(notes-create$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/create

Required parameters: parent

Optional parameters: noteId

Body:

{:relatedUrl [{:label string, :url string}], :package {:name string, :distribution [Distribution]}, :discovery {:analysisKind string}, :sbom {:spdxVersion string, :dataLicence string}, :relatedNoteNames [string], :deployable {:resourceUri [string]}, :expirationTime string, :name string, :createTime string, :vulnerability {:windowsDetails [WindowsDetail], :severity string, :sourceUpdateTime string, :details [Detail], :cvssV3 CVSSv3, :cvssScore number}, :spdxRelationship {}, :updateTime string, :attestationAuthority {:hint Hint}, :shortDescription string, :baseImage {:fingerprint Fingerprint, :resourceUrl string}, :build {:builderVersion string, :signature BuildSignature}, :kind string, :spdxFile {:title string, :checksum [string], :fileType string}, :spdxPackage {:supplier string, :detailedDescription string, :homePage string, :filesLicenseInfo [string], :copyright string, :verificationCode string, :analyzed boolean, :title string, :checksum string, :externalRefs [ExternalRef], :summaryDescription string, :attribution string, :licenseDeclared string, :downloadLocation string, :version string, :originator string}, :intoto {:stepName string, :signingKeys [SigningKey], :threshold string, :expectedMaterials [ArtifactRule], :expectedProducts [ArtifactRule], :expectedCommand [string]}, :longDescription string}

Creates a new note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/create

Required parameters: parent

Optional parameters: noteId

Body: 

{:relatedUrl [{:label string, :url string}],
 :package {:name string, :distribution [Distribution]},
 :discovery {:analysisKind string},
 :sbom {:spdxVersion string, :dataLicence string},
 :relatedNoteNames [string],
 :deployable {:resourceUri [string]},
 :expirationTime string,
 :name string,
 :createTime string,
 :vulnerability {:windowsDetails [WindowsDetail],
                 :severity string,
                 :sourceUpdateTime string,
                 :details [Detail],
                 :cvssV3 CVSSv3,
                 :cvssScore number},
 :spdxRelationship {},
 :updateTime string,
 :attestationAuthority {:hint Hint},
 :shortDescription string,
 :baseImage {:fingerprint Fingerprint, :resourceUrl string},
 :build {:builderVersion string, :signature BuildSignature},
 :kind string,
 :spdxFile {:title string, :checksum [string], :fileType string},
 :spdxPackage {:supplier string,
               :detailedDescription string,
               :homePage string,
               :filesLicenseInfo [string],
               :copyright string,
               :verificationCode string,
               :analyzed boolean,
               :title string,
               :checksum string,
               :externalRefs [ExternalRef],
               :summaryDescription string,
               :attribution string,
               :licenseDeclared string,
               :downloadLocation string,
               :version string,
               :originator string},
 :intoto {:stepName string,
          :signingKeys [SigningKey],
          :threshold string,
          :expectedMaterials [ArtifactRule],
          :expectedProducts [ArtifactRule],
          :expectedCommand [string]},
 :longDescription string}

Creates a new note.
sourceraw docstring

notes-delete$clj

(notes-delete$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/delete

Required parameters: name

Optional parameters: none

Deletes the specified note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/delete

Required parameters: name

Optional parameters: none

Deletes the specified note.
sourceraw docstring

notes-get$clj

(notes-get$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/get

Required parameters: name

Optional parameters: none

Gets the specified note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/get

Required parameters: name

Optional parameters: none

Gets the specified note.
sourceraw docstring

notes-getIamPolicy$clj

(notes-getIamPolicy$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a note or an occurrence resource. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
sourceraw docstring

notes-list$clj

(notes-list$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/list

Required parameters: parent

Optional parameters: filter, pageSize, pageToken

Lists notes for the specified project.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/list

Required parameters: parent

Optional parameters: filter, pageSize, pageToken

Lists notes for the specified project.
sourceraw docstring

notes-occurrences-list$clj

(notes-occurrences-list$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/occurrences/list

Required parameters: name

Optional parameters: pageSize, pageToken, filter

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/occurrences/list

Required parameters: name

Optional parameters: pageSize, pageToken, filter

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.
sourceraw docstring

notes-patch$clj

(notes-patch$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:relatedUrl [{:label string, :url string}], :package {:name string, :distribution [Distribution]}, :discovery {:analysisKind string}, :sbom {:spdxVersion string, :dataLicence string}, :relatedNoteNames [string], :deployable {:resourceUri [string]}, :expirationTime string, :name string, :createTime string, :vulnerability {:windowsDetails [WindowsDetail], :severity string, :sourceUpdateTime string, :details [Detail], :cvssV3 CVSSv3, :cvssScore number}, :spdxRelationship {}, :updateTime string, :attestationAuthority {:hint Hint}, :shortDescription string, :baseImage {:fingerprint Fingerprint, :resourceUrl string}, :build {:builderVersion string, :signature BuildSignature}, :kind string, :spdxFile {:title string, :checksum [string], :fileType string}, :spdxPackage {:supplier string, :detailedDescription string, :homePage string, :filesLicenseInfo [string], :copyright string, :verificationCode string, :analyzed boolean, :title string, :checksum string, :externalRefs [ExternalRef], :summaryDescription string, :attribution string, :licenseDeclared string, :downloadLocation string, :version string, :originator string}, :intoto {:stepName string, :signingKeys [SigningKey], :threshold string, :expectedMaterials [ArtifactRule], :expectedProducts [ArtifactRule], :expectedCommand [string]}, :longDescription string}

Updates the specified note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:relatedUrl [{:label string, :url string}],
 :package {:name string, :distribution [Distribution]},
 :discovery {:analysisKind string},
 :sbom {:spdxVersion string, :dataLicence string},
 :relatedNoteNames [string],
 :deployable {:resourceUri [string]},
 :expirationTime string,
 :name string,
 :createTime string,
 :vulnerability {:windowsDetails [WindowsDetail],
                 :severity string,
                 :sourceUpdateTime string,
                 :details [Detail],
                 :cvssV3 CVSSv3,
                 :cvssScore number},
 :spdxRelationship {},
 :updateTime string,
 :attestationAuthority {:hint Hint},
 :shortDescription string,
 :baseImage {:fingerprint Fingerprint, :resourceUrl string},
 :build {:builderVersion string, :signature BuildSignature},
 :kind string,
 :spdxFile {:title string, :checksum [string], :fileType string},
 :spdxPackage {:supplier string,
               :detailedDescription string,
               :homePage string,
               :filesLicenseInfo [string],
               :copyright string,
               :verificationCode string,
               :analyzed boolean,
               :title string,
               :checksum string,
               :externalRefs [ExternalRef],
               :summaryDescription string,
               :attribution string,
               :licenseDeclared string,
               :downloadLocation string,
               :version string,
               :originator string},
 :intoto {:stepName string,
          :signingKeys [SigningKey],
          :threshold string,
          :expectedMaterials [ArtifactRule],
          :expectedProducts [ArtifactRule],
          :expectedCommand [string]},
 :longDescription string}

Updates the specified note.
sourceraw docstring

notes-setIamPolicy$clj

(notes-setIamPolicy$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:bindings [Binding], :version integer, :etag string}}

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:bindings [Binding], :version integer, :etag string}}

Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
sourceraw docstring

notes-testIamPermissions$clj

(notes-testIamPermissions$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, containeranalysis.notes.list). The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/notes/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
sourceraw docstring

occurrences-batchCreate$clj

(occurrences-batchCreate$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/batchCreate

Required parameters: parent

Optional parameters: none

Body:

{:occurrences [{:noteName string, :remediation string, :sbom DocumentOccurrence, :name string, :createTime string, :discovered GrafeasV1beta1DiscoveryDetails, :vulnerability GrafeasV1beta1VulnerabilityDetails, :spdxRelationship RelationshipOccurrence, :updateTime string, :build GrafeasV1beta1BuildDetails, :installation GrafeasV1beta1PackageDetails, :derivedImage GrafeasV1beta1ImageDetails, :attestation Details, :resource Resource, :kind string, :spdxFile FileOccurrence, :deployment GrafeasV1beta1DeploymentDetails, :spdxPackage PackageOccurrence, :intoto GrafeasV1beta1IntotoDetails}]}

Creates new occurrences in batch.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/batchCreate

Required parameters: parent

Optional parameters: none

Body: 

{:occurrences [{:noteName string,
                :remediation string,
                :sbom DocumentOccurrence,
                :name string,
                :createTime string,
                :discovered GrafeasV1beta1DiscoveryDetails,
                :vulnerability GrafeasV1beta1VulnerabilityDetails,
                :spdxRelationship RelationshipOccurrence,
                :updateTime string,
                :build GrafeasV1beta1BuildDetails,
                :installation GrafeasV1beta1PackageDetails,
                :derivedImage GrafeasV1beta1ImageDetails,
                :attestation Details,
                :resource Resource,
                :kind string,
                :spdxFile FileOccurrence,
                :deployment GrafeasV1beta1DeploymentDetails,
                :spdxPackage PackageOccurrence,
                :intoto GrafeasV1beta1IntotoDetails}]}

Creates new occurrences in batch.
sourceraw docstring

occurrences-create$clj

(occurrences-create$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/create

Required parameters: parent

Optional parameters: none

Body:

{:noteName string, :remediation string, :sbom {:creators [string], :licenseListVersion string, :createTime string, :title string, :creatorComment string, :id string, :documentComment string, :namespace string, :externalDocumentRefs [string]}, :name string, :createTime string, :discovered {:discovered Discovered}, :vulnerability {:packageIssue [PackageIssue], :relatedUrls [RelatedUrl], :effectiveSeverity string, :severity string, :shortDescription string, :longDescription string, :type string, :cvssScore number}, :spdxRelationship {:target string, :comment string, :type string, :source string}, :updateTime string, :build {:provenanceBytes string, :provenance BuildProvenance}, :installation {:installation Installation}, :derivedImage {:derivedImage Derived}, :attestation {:attestation Attestation}, :resource {:uri string, :name string, :contentHash Hash}, :kind string, :spdxFile {:licenseComments string, :licenseConcluded string, :filesLicenseInfo [string], :copyright string, :id string, :contributors [string], :comment string, :notice string, :attributions [string]}, :deployment {:deployment Deployment}, :spdxPackage {:licenseConcluded string, :sourceInfo string, :licenseComments string, :filename string, :id string, :comment string}, :intoto {:signed Link, :signatures [GrafeasV1beta1IntotoSignature]}}

Creates a new occurrence.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/create

Required parameters: parent

Optional parameters: none

Body: 

{:noteName string,
 :remediation string,
 :sbom {:creators [string],
        :licenseListVersion string,
        :createTime string,
        :title string,
        :creatorComment string,
        :id string,
        :documentComment string,
        :namespace string,
        :externalDocumentRefs [string]},
 :name string,
 :createTime string,
 :discovered {:discovered Discovered},
 :vulnerability {:packageIssue [PackageIssue],
                 :relatedUrls [RelatedUrl],
                 :effectiveSeverity string,
                 :severity string,
                 :shortDescription string,
                 :longDescription string,
                 :type string,
                 :cvssScore number},
 :spdxRelationship {:target string,
                    :comment string,
                    :type string,
                    :source string},
 :updateTime string,
 :build {:provenanceBytes string, :provenance BuildProvenance},
 :installation {:installation Installation},
 :derivedImage {:derivedImage Derived},
 :attestation {:attestation Attestation},
 :resource {:uri string, :name string, :contentHash Hash},
 :kind string,
 :spdxFile {:licenseComments string,
            :licenseConcluded string,
            :filesLicenseInfo [string],
            :copyright string,
            :id string,
            :contributors [string],
            :comment string,
            :notice string,
            :attributions [string]},
 :deployment {:deployment Deployment},
 :spdxPackage {:licenseConcluded string,
               :sourceInfo string,
               :licenseComments string,
               :filename string,
               :id string,
               :comment string},
 :intoto {:signed Link, :signatures [GrafeasV1beta1IntotoSignature]}}

Creates a new occurrence.
sourceraw docstring

occurrences-delete$clj

(occurrences-delete$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/delete

Required parameters: name

Optional parameters: none

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/delete

Required parameters: name

Optional parameters: none

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.
sourceraw docstring

occurrences-get$clj

(occurrences-get$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/get

Required parameters: name

Optional parameters: none

Gets the specified occurrence.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/get

Required parameters: name

Optional parameters: none

Gets the specified occurrence.
sourceraw docstring

occurrences-getIamPolicy$clj

(occurrences-getIamPolicy$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a note or an occurrence resource. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
sourceraw docstring

occurrences-getNotes$clj

(occurrences-getNotes$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/getNotes

Required parameters: name

Optional parameters: none

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/getNotes

Required parameters: name

Optional parameters: none

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
sourceraw docstring

occurrences-getVulnerabilitySummary$clj

(occurrences-getVulnerabilitySummary$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/getVulnerabilitySummary

Required parameters: parent

Optional parameters: filter

Gets a summary of the number and severity of occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/getVulnerabilitySummary

Required parameters: parent

Optional parameters: filter

Gets a summary of the number and severity of occurrences.
sourceraw docstring

occurrences-list$clj

(occurrences-list$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/list

Required parameters: parent

Optional parameters: pageSize, pageToken, filter

Lists occurrences for the specified project.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/list

Required parameters: parent

Optional parameters: pageSize, pageToken, filter

Lists occurrences for the specified project.
sourceraw docstring

occurrences-patch$clj

(occurrences-patch$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:noteName string, :remediation string, :sbom {:creators [string], :licenseListVersion string, :createTime string, :title string, :creatorComment string, :id string, :documentComment string, :namespace string, :externalDocumentRefs [string]}, :name string, :createTime string, :discovered {:discovered Discovered}, :vulnerability {:packageIssue [PackageIssue], :relatedUrls [RelatedUrl], :effectiveSeverity string, :severity string, :shortDescription string, :longDescription string, :type string, :cvssScore number}, :spdxRelationship {:target string, :comment string, :type string, :source string}, :updateTime string, :build {:provenanceBytes string, :provenance BuildProvenance}, :installation {:installation Installation}, :derivedImage {:derivedImage Derived}, :attestation {:attestation Attestation}, :resource {:uri string, :name string, :contentHash Hash}, :kind string, :spdxFile {:licenseComments string, :licenseConcluded string, :filesLicenseInfo [string], :copyright string, :id string, :contributors [string], :comment string, :notice string, :attributions [string]}, :deployment {:deployment Deployment}, :spdxPackage {:licenseConcluded string, :sourceInfo string, :licenseComments string, :filename string, :id string, :comment string}, :intoto {:signed Link, :signatures [GrafeasV1beta1IntotoSignature]}}

Updates the specified occurrence.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:noteName string,
 :remediation string,
 :sbom {:creators [string],
        :licenseListVersion string,
        :createTime string,
        :title string,
        :creatorComment string,
        :id string,
        :documentComment string,
        :namespace string,
        :externalDocumentRefs [string]},
 :name string,
 :createTime string,
 :discovered {:discovered Discovered},
 :vulnerability {:packageIssue [PackageIssue],
                 :relatedUrls [RelatedUrl],
                 :effectiveSeverity string,
                 :severity string,
                 :shortDescription string,
                 :longDescription string,
                 :type string,
                 :cvssScore number},
 :spdxRelationship {:target string,
                    :comment string,
                    :type string,
                    :source string},
 :updateTime string,
 :build {:provenanceBytes string, :provenance BuildProvenance},
 :installation {:installation Installation},
 :derivedImage {:derivedImage Derived},
 :attestation {:attestation Attestation},
 :resource {:uri string, :name string, :contentHash Hash},
 :kind string,
 :spdxFile {:licenseComments string,
            :licenseConcluded string,
            :filesLicenseInfo [string],
            :copyright string,
            :id string,
            :contributors [string],
            :comment string,
            :notice string,
            :attributions [string]},
 :deployment {:deployment Deployment},
 :spdxPackage {:licenseConcluded string,
               :sourceInfo string,
               :licenseComments string,
               :filename string,
               :id string,
               :comment string},
 :intoto {:signed Link, :signatures [GrafeasV1beta1IntotoSignature]}}

Updates the specified occurrence.
sourceraw docstring

occurrences-setIamPolicy$clj

(occurrences-setIamPolicy$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:bindings [Binding], :version integer, :etag string}}

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:bindings [Binding], :version integer, :etag string}}

Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
sourceraw docstring

occurrences-testIamPermissions$clj

(occurrences-testIamPermissions$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, containeranalysis.notes.list). The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/occurrences/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
sourceraw docstring

scanConfigs-get$clj

(scanConfigs-get$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/scanConfigs/get

Required parameters: name

Optional parameters: none

Gets the specified scan configuration.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/scanConfigs/get

Required parameters: name

Optional parameters: none

Gets the specified scan configuration.
sourceraw docstring

scanConfigs-list$clj

(scanConfigs-list$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/scanConfigs/list

Required parameters: parent

Optional parameters: filter, pageSize, pageToken

Lists scan configurations for the specified project.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/scanConfigs/list

Required parameters: parent

Optional parameters: filter, pageSize, pageToken

Lists scan configurations for the specified project.
sourceraw docstring

scanConfigs-update$clj

(scanConfigs-update$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/scanConfigs/update

Required parameters: name

Optional parameters: none

Body:

{:updateTime string, :createTime string, :description string, :enabled boolean, :name string}

Updates the specified scan configuration.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1beta1/projects/scanConfigs/update

Required parameters: name

Optional parameters: none

Body: 

{:updateTime string,
 :createTime string,
 :description string,
 :enabled boolean,
 :name string}

Updates the specified scan configuration.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close