Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame^] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="containeranalysis_v1alpha1.html">Container Analysis API</a> . <a href="containeranalysis_v1alpha1.projects.html">projects</a> . <a href="containeranalysis_v1alpha1.projects.notes.html">notes</a> . <a href="containeranalysis_v1alpha1.projects.notes.occurrences.html">occurrences</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#list">list(name, pageToken=None, x__xgafv=None, pageSize=None, filter=None)</a></code></p> |
| 79 | <p class="firstline">Lists `Occurrences` referencing the specified `Note`. Use this method to</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 82 | <p class="firstline">Retrieves the next page of results.</p> |
| 83 | <h3>Method Details</h3> |
| 84 | <div class="method"> |
| 85 | <code class="details" id="list">list(name, pageToken=None, x__xgafv=None, pageSize=None, filter=None)</code> |
| 86 | <pre>Lists `Occurrences` referencing the specified `Note`. Use this method to |
| 87 | get all occurrences referencing your `Note` across all your customer |
| 88 | projects. |
| 89 | |
| 90 | Args: |
| 91 | name: string, The name field will contain the note name for example: |
| 92 | "provider/{provider_id}/notes/{note_id}" (required) |
| 93 | pageToken: string, Token to provide to skip to a particular spot in the list. |
| 94 | x__xgafv: string, V1 error format. |
| 95 | Allowed values |
| 96 | 1 - v1 error format |
| 97 | 2 - v2 error format |
| 98 | pageSize: integer, Number of notes to return in the list. |
| 99 | filter: string, The filter expression. |
| 100 | |
| 101 | Returns: |
| 102 | An object of the form: |
| 103 | |
| 104 | { # Response including listed occurrences for a note. |
| 105 | "nextPageToken": "A String", # Token to receive the next page of notes. |
| 106 | "occurrences": [ # The occurrences attached to the specified note. |
| 107 | { # `Occurrence` includes information about analysis occurrences for an image. |
| 108 | "resource": { # # |
| 109 | # The resource for which the `Occurrence` applies. |
| 110 | # Resource is an entity that can have metadata. E.g., a Docker image. |
| 111 | "contentHash": { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest. |
| 112 | "type": "A String", # The type of hash that was performed. |
| 113 | "value": "A String", # The hash value. |
| 114 | }, |
| 115 | "uri": "A String", # The unique URI of the resource. E.g., |
| 116 | # "https://gcr.io/project/image@sha256:foo" for a Docker image. |
| 117 | "name": "A String", # The name of the resource. E.g., the name of a Docker image - "Debian". |
| 118 | }, |
| 119 | "updateTime": "A String", # Output only. The time this `Occurrence` was last updated. |
| 120 | "installation": { # This represents how a particular software package may be installed on # Describes the installation of a package on the linked resource. |
| 121 | # a system. |
| 122 | "location": [ # All of the places within the filesystem versions of this package |
| 123 | # have been found. |
| 124 | { # An occurrence of a particular package installation found within a |
| 125 | # system's filesystem. |
| 126 | # e.g. glibc was found in /var/lib/dpkg/status |
| 127 | "path": "A String", # The path from which we gathered that this package/version is installed. |
| 128 | "cpeUri": "A String", # The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) |
| 129 | # denoting the package manager version distributing a package. |
| 130 | "version": { # Version contains structured information about the version of the package. # The version installed at this location. |
| 131 | # For a discussion of this in Debian/Ubuntu: |
| 132 | # http://serverfault.com/questions/604541/debian-packages-version-convention |
| 133 | # For a discussion of this in Redhat/Fedora/Centos: |
| 134 | # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ |
| 135 | "kind": "A String", # Distinguish between sentinel MIN/MAX versions and normal versions. |
| 136 | # If kind is not NORMAL, then the other fields are ignored. |
| 137 | "revision": "A String", # The iteration of the package build from the above version. |
| 138 | "name": "A String", # The main part of the version name. |
| 139 | "epoch": 42, # Used to correct mistakes in the version numbering scheme. |
| 140 | }, |
| 141 | }, |
| 142 | ], |
| 143 | "name": "A String", # Output only. The name of the installed package. |
| 144 | }, |
| 145 | "name": "A String", # Output only. The name of the `Occurrence` in the form |
| 146 | # "projects/{project_id}/occurrences/{OCCURRENCE_ID}" |
| 147 | "kind": "A String", # Output only. This explicitly denotes which of the `Occurrence` details are |
| 148 | # specified. This field can be used as a filter in list requests. |
| 149 | "buildDetails": { # Message encapsulating build provenance details. # Build details for a verifiable build. |
| 150 | "provenance": { # Provenance of a build. Contains all information needed to verify the full # The actual provenance |
| 151 | # details about the build from source to completion. |
| 152 | "finishTime": "A String", # Time at which execution of the build was finished. |
| 153 | "commands": [ # Commands requested by the build. |
| 154 | { # Command describes a step performed as part of the build pipeline. |
| 155 | "waitFor": [ # The ID(s) of the Command(s) that this Command depends on. |
| 156 | "A String", |
| 157 | ], |
| 158 | "name": "A String", # Name of the command, as presented on the command line, or if the command is |
| 159 | # packaged as a Docker container, as presented to `docker pull`. |
| 160 | "args": [ # Command-line arguments used when executing this Command. |
| 161 | "A String", |
| 162 | ], |
| 163 | "env": [ # Environment variables set before running this Command. |
| 164 | "A String", |
| 165 | ], |
| 166 | "id": "A String", # Optional unique identifier for this Command, used in wait_for to reference |
| 167 | # this Command as a dependency. |
| 168 | "dir": "A String", # Working directory (relative to project source root) used when running |
| 169 | # this Command. |
| 170 | }, |
| 171 | ], |
| 172 | "sourceProvenance": { # Source describes the location of the source used for the build. # Details of the Source input to the build. |
| 173 | "artifactStorageSource": { # StorageSource describes the location of the source in an archive file in # If provided, the input binary artifacts for the build came from this |
| 174 | # location. |
| 175 | # Google Cloud Storage. |
| 176 | "generation": "A String", # Google Cloud Storage generation for the object. |
| 177 | "object": "A String", # Google Cloud Storage object containing source. |
| 178 | "bucket": "A String", # Google Cloud Storage bucket containing source (see [Bucket Name |
| 179 | # Requirements] |
| 180 | # (https://cloud.google.com/storage/docs/bucket-naming#requirements)). |
| 181 | }, |
| 182 | "repoSource": { # RepoSource describes the location of the source in a Google Cloud Source # If provided, get source from this location in a Cloud Repo. |
| 183 | # Repository. |
| 184 | "projectId": "A String", # ID of the project that owns the repo. |
| 185 | "branchName": "A String", # Name of the branch to build. |
| 186 | "repoName": "A String", # Name of the repo. |
| 187 | "tagName": "A String", # Name of the tag to build. |
| 188 | "commitSha": "A String", # Explicit commit SHA to build. |
| 189 | }, |
| 190 | "fileHashes": { # Hash(es) of the build source, which can be used to verify that the original |
| 191 | # source integrity was maintained in the build. |
| 192 | # |
| 193 | # The keys to this map are file paths used as build source and the values |
| 194 | # contain the hash values for those files. |
| 195 | # |
| 196 | # If the build source came in a single package such as a gzipped tarfile |
| 197 | # (.tar.gz), the FileHash will be for the single path to that file. |
| 198 | "a_key": { # Container message for hashes of byte content of files, used in Source |
| 199 | # messages to verify integrity of source input to the build. |
| 200 | "fileHash": [ # Collection of file hashes. |
| 201 | { # Container message for hash values. |
| 202 | "type": "A String", # The type of hash that was performed. |
| 203 | "value": "A String", # The hash value. |
| 204 | }, |
| 205 | ], |
| 206 | }, |
| 207 | }, |
| 208 | "additionalContexts": [ # If provided, some of the source code used for the build may be found in |
| 209 | # these locations, in the case where the source repository had multiple |
| 210 | # remotes or submodules. This list will not include the context specified in |
| 211 | # the context field. |
| 212 | { # A SourceContext is a reference to a tree of files. A SourceContext together |
| 213 | # with a path point to a unique revision of a single file or directory. |
| 214 | "git": { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g., GitHub). |
| 215 | # repository (e.g., GitHub). |
| 216 | "url": "A String", # Git repository URL. |
| 217 | "revisionId": "A String", # Required. |
| 218 | # Git commit hash. |
| 219 | }, |
| 220 | "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud # A SourceContext referring to a revision in a Google Cloud Source Repo. |
| 221 | # Source Repo. |
| 222 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 223 | "kind": "A String", # The alias kind. |
| 224 | "name": "A String", # The alias name. |
| 225 | }, |
| 226 | "revisionId": "A String", # A revision ID. |
| 227 | "repoId": { # A unique identifier for a Cloud Repo. # The ID of the repo. |
| 228 | "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g., # A combination of a project ID and a repo name. |
| 229 | # winged-cargo-31) and a repo name within that project. |
| 230 | "projectId": "A String", # The ID of the project. |
| 231 | "repoName": "A String", # The name of the repo. Leave empty for the default repo. |
| 232 | }, |
| 233 | "uid": "A String", # A server-assigned, globally unique identifier. |
| 234 | }, |
| 235 | }, |
| 236 | "labels": { # Labels with user defined metadata. |
| 237 | "a_key": "A String", |
| 238 | }, |
| 239 | "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project. |
| 240 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 241 | "kind": "A String", # The alias kind. |
| 242 | "name": "A String", # The alias name. |
| 243 | }, |
| 244 | "revisionId": "A String", # A revision (commit) ID. |
| 245 | "gerritProject": "A String", # The full project name within the host. Projects may be nested, so |
| 246 | # "project/subproject" is a valid project name. The "repo name" is |
| 247 | # the hostURI/project. |
| 248 | "hostUri": "A String", # The URI of a running Gerrit instance. |
| 249 | }, |
| 250 | }, |
| 251 | ], |
| 252 | "context": { # A SourceContext is a reference to a tree of files. A SourceContext together # If provided, the source code used for the build came from this location. |
| 253 | # with a path point to a unique revision of a single file or directory. |
| 254 | "git": { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g., GitHub). |
| 255 | # repository (e.g., GitHub). |
| 256 | "url": "A String", # Git repository URL. |
| 257 | "revisionId": "A String", # Required. |
| 258 | # Git commit hash. |
| 259 | }, |
| 260 | "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud # A SourceContext referring to a revision in a Google Cloud Source Repo. |
| 261 | # Source Repo. |
| 262 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 263 | "kind": "A String", # The alias kind. |
| 264 | "name": "A String", # The alias name. |
| 265 | }, |
| 266 | "revisionId": "A String", # A revision ID. |
| 267 | "repoId": { # A unique identifier for a Cloud Repo. # The ID of the repo. |
| 268 | "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g., # A combination of a project ID and a repo name. |
| 269 | # winged-cargo-31) and a repo name within that project. |
| 270 | "projectId": "A String", # The ID of the project. |
| 271 | "repoName": "A String", # The name of the repo. Leave empty for the default repo. |
| 272 | }, |
| 273 | "uid": "A String", # A server-assigned, globally unique identifier. |
| 274 | }, |
| 275 | }, |
| 276 | "labels": { # Labels with user defined metadata. |
| 277 | "a_key": "A String", |
| 278 | }, |
| 279 | "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project. |
| 280 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 281 | "kind": "A String", # The alias kind. |
| 282 | "name": "A String", # The alias name. |
| 283 | }, |
| 284 | "revisionId": "A String", # A revision (commit) ID. |
| 285 | "gerritProject": "A String", # The full project name within the host. Projects may be nested, so |
| 286 | # "project/subproject" is a valid project name. The "repo name" is |
| 287 | # the hostURI/project. |
| 288 | "hostUri": "A String", # The URI of a running Gerrit instance. |
| 289 | }, |
| 290 | }, |
| 291 | "storageSource": { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud |
| 292 | # Storage. |
| 293 | # Google Cloud Storage. |
| 294 | "generation": "A String", # Google Cloud Storage generation for the object. |
| 295 | "object": "A String", # Google Cloud Storage object containing source. |
| 296 | "bucket": "A String", # Google Cloud Storage bucket containing source (see [Bucket Name |
| 297 | # Requirements] |
| 298 | # (https://cloud.google.com/storage/docs/bucket-naming#requirements)). |
| 299 | }, |
| 300 | }, |
| 301 | "buildOptions": { # Special options applied to this build. This is a catch-all field where |
| 302 | # build providers can enter any desired additional details. |
| 303 | "a_key": "A String", |
| 304 | }, |
| 305 | "creator": "A String", # E-mail address of the user who initiated this build. Note that this was the |
| 306 | # user's e-mail address at the time the build was initiated; this address may |
| 307 | # not represent the same end-user for all time. |
| 308 | "logsBucket": "A String", # Google Cloud Storage bucket where logs were written. |
| 309 | "builderVersion": "A String", # Version string of the builder at the time this build was executed. |
| 310 | "createTime": "A String", # Time at which the build was created. |
| 311 | "builtArtifacts": [ # Output of the build. |
| 312 | { # Artifact describes a build product. |
| 313 | "checksum": "A String", # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a |
| 314 | # container. |
| 315 | "id": "A String", # Artifact ID, if any; for container images, this will be a URL by digest |
| 316 | # like gcr.io/projectID/imagename@sha256:123456 |
| 317 | "name": "A String", # Name of the artifact. This may be the path to a binary or jar file, or in |
| 318 | # the case of a container build, the name used to push the container image to |
| 319 | # Google Container Registry, as presented to `docker push`. |
| 320 | # |
| 321 | # This field is deprecated in favor of the plural `names` field; it continues |
| 322 | # to exist here to allow existing BuildProvenance serialized to json in |
| 323 | # google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to |
| 324 | # deserialize back into proto. |
| 325 | "names": [ # Related artifact names. This may be the path to a binary or jar file, or in |
| 326 | # the case of a container build, the name used to push the container image to |
| 327 | # Google Container Registry, as presented to `docker push`. Note that a |
| 328 | # single Artifact ID can have multiple names, for example if two tags are |
| 329 | # applied to one image. |
| 330 | "A String", |
| 331 | ], |
| 332 | }, |
| 333 | ], |
| 334 | "triggerId": "A String", # Trigger identifier if the build was triggered automatically; empty if not. |
| 335 | "startTime": "A String", # Time at which execution of the build was started. |
| 336 | "projectId": "A String", # ID of the project. |
| 337 | "id": "A String", # Unique identifier of the build. |
| 338 | }, |
| 339 | "provenanceBytes": "A String", # Serialized JSON representation of the provenance, used in generating the |
| 340 | # `BuildSignature` in the corresponding Result. After verifying the |
| 341 | # signature, `provenance_bytes` can be unmarshalled and compared to the |
| 342 | # provenance to confirm that it is unchanged. A base64-encoded string |
| 343 | # representation of the provenance bytes is used for the signature in order |
| 344 | # to interoperate with openssl which expects this format for signature |
| 345 | # verification. |
| 346 | # |
| 347 | # The serialized form is captured both to avoid ambiguity in how the |
| 348 | # provenance is marshalled to json as well to prevent incompatibilities with |
| 349 | # future changes. |
| 350 | }, |
| 351 | "discovered": { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource. |
| 352 | "analysisStatus": "A String", # The status of discovery for the resource. |
| 353 | "operation": { # This resource represents a long-running operation that is the result of a # Output only. An operation that indicates the status of the current scan. |
| 354 | # This field is deprecated, do not use. |
| 355 | # network API call. |
| 356 | "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation. |
| 357 | # different programming environments, including REST APIs and RPC APIs. It is |
| 358 | # used by [gRPC](https://github.com/grpc). Each `Status` message contains |
| 359 | # three pieces of data: error code, error message, and error details. |
| 360 | # |
| 361 | # You can find out more about this error model and how to work with it in the |
| 362 | # [API Design Guide](https://cloud.google.com/apis/design/errors). |
| 363 | "message": "A String", # A developer-facing error message, which should be in English. Any |
| 364 | # user-facing error message should be localized and sent in the |
| 365 | # google.rpc.Status.details field, or localized by the client. |
| 366 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 367 | "details": [ # A list of messages that carry the error details. There is a common set of |
| 368 | # message types for APIs to use. |
| 369 | { |
| 370 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 371 | }, |
| 372 | ], |
| 373 | }, |
| 374 | "done": True or False, # If the value is `false`, it means the operation is still in progress. |
| 375 | # If `true`, the operation is completed, and either `error` or `response` is |
| 376 | # available. |
| 377 | "response": { # The normal response of the operation in case of success. If the original |
| 378 | # method returns no data on success, such as `Delete`, the response is |
| 379 | # `google.protobuf.Empty`. If the original method is standard |
| 380 | # `Get`/`Create`/`Update`, the response should be the resource. For other |
| 381 | # methods, the response should have the type `XxxResponse`, where `Xxx` |
| 382 | # is the original method name. For example, if the original method name |
| 383 | # is `TakeSnapshot()`, the inferred response type is |
| 384 | # `TakeSnapshotResponse`. |
| 385 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 386 | }, |
| 387 | "name": "A String", # The server-assigned name, which is only unique within the same service that |
| 388 | # originally returns it. If you use the default HTTP mapping, the |
| 389 | # `name` should be a resource name ending with `operations/{unique_id}`. |
| 390 | "metadata": { # Service-specific metadata associated with the operation. It typically |
| 391 | # contains progress information and common metadata such as create time. |
| 392 | # Some services might not provide such metadata. Any method that returns a |
| 393 | # long-running operation should document the metadata type, if any. |
| 394 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 395 | }, |
| 396 | }, |
| 397 | "analysisStatusError": { # The `Status` type defines a logical error model that is suitable for # When an error is encountered this will contain a LocalizedMessage under |
| 398 | # details to show to the user. The LocalizedMessage output only and |
| 399 | # populated by the API. |
| 400 | # different programming environments, including REST APIs and RPC APIs. It is |
| 401 | # used by [gRPC](https://github.com/grpc). Each `Status` message contains |
| 402 | # three pieces of data: error code, error message, and error details. |
| 403 | # |
| 404 | # You can find out more about this error model and how to work with it in the |
| 405 | # [API Design Guide](https://cloud.google.com/apis/design/errors). |
| 406 | "message": "A String", # A developer-facing error message, which should be in English. Any |
| 407 | # user-facing error message should be localized and sent in the |
| 408 | # google.rpc.Status.details field, or localized by the client. |
| 409 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 410 | "details": [ # A list of messages that carry the error details. There is a common set of |
| 411 | # message types for APIs to use. |
| 412 | { |
| 413 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
| 414 | }, |
| 415 | ], |
| 416 | }, |
| 417 | "continuousAnalysis": "A String", # Whether the resource is continuously analyzed. |
| 418 | }, |
| 419 | "attestation": { # Occurrence that represents a single "attestation". The authenticity of an # Describes an attestation of an artifact. |
| 420 | # Attestation can be verified using the attached signature. If the verifier |
| 421 | # trusts the public key of the signer, then verifying the signature is |
| 422 | # sufficient to establish trust. In this circumstance, the |
| 423 | # AttestationAuthority to which this Attestation is attached is primarily |
| 424 | # useful for look-up (how to find this Attestation if you already know the |
| 425 | # Authority and artifact to be verified) and intent (which authority was this |
| 426 | # attestation intended to sign for). |
| 427 | "pgpSignedAttestation": { # An attestation wrapper with a PGP-compatible signature. |
| 428 | # This message only supports `ATTACHED` signatures, where the payload that is |
| 429 | # signed is included alongside the signature itself in the same file. |
| 430 | "pgpKeyId": "A String", # The cryptographic fingerprint of the key used to generate the signature, |
| 431 | # as output by, e.g. `gpg --list-keys`. This should be the version 4, full |
| 432 | # 160-bit fingerprint, expressed as a 40 character hexadecimal string. See |
| 433 | # https://tools.ietf.org/html/rfc4880#section-12.2 for details. |
| 434 | # Implementations may choose to acknowledge "LONG", "SHORT", or other |
| 435 | # abbreviated key IDs, but only the full fingerprint is guaranteed to work. |
| 436 | # In gpg, the full fingerprint can be retrieved from the `fpr` field |
| 437 | # returned when calling --list-keys with --with-colons. For example: |
| 438 | # ``` |
| 439 | # gpg --with-colons --with-fingerprint --force-v4-certs \ |
| 440 | # --list-keys attester@example.com |
| 441 | # tru::1:1513631572:0:3:1:5 |
| 442 | # pub:...<SNIP>... |
| 443 | # fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: |
| 444 | # ``` |
| 445 | # Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`. |
| 446 | "contentType": "A String", # Type (for example schema) of the attestation payload that was signed. |
| 447 | # The verifier must ensure that the provided type is one that the verifier |
| 448 | # supports, and that the attestation payload is a valid instantiation of that |
| 449 | # type (for example by validating a JSON schema). |
| 450 | "signature": "A String", # The raw content of the signature, as output by GNU Privacy Guard (GPG) or |
| 451 | # equivalent. Since this message only supports attached signatures, the |
| 452 | # payload that was signed must be attached. While the signature format |
| 453 | # supported is dependent on the verification implementation, currently only |
| 454 | # ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than |
| 455 | # `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor |
| 456 | # --output=signature.gpg payload.json` will create the signature content |
| 457 | # expected in this field in `signature.gpg` for the `payload.json` |
| 458 | # attestation payload. |
| 459 | }, |
| 460 | }, |
| 461 | "noteName": "A String", # An analysis note associated with this image, in the form |
| 462 | # "providers/{provider_id}/notes/{NOTE_ID}" |
| 463 | # This field can be used as a filter in list requests. |
| 464 | "deployment": { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime. |
| 465 | "resourceUri": [ # Output only. Resource URI for the artifact being deployed taken from the |
| 466 | # deployable field with the same name. |
| 467 | "A String", |
| 468 | ], |
| 469 | "userEmail": "A String", # Identity of the user that triggered this deployment. |
| 470 | "address": "A String", # Address of the runtime element hosting this deployment. |
| 471 | "platform": "A String", # Platform hosting this deployment. |
| 472 | "deployTime": "A String", # Beginning of the lifetime of this deployment. |
| 473 | "undeployTime": "A String", # End of the lifetime of this deployment. |
| 474 | "config": "A String", # Configuration used to create this deployment. |
| 475 | }, |
| 476 | "remediation": "A String", # A description of actions that can be taken to remedy the `Note` |
| 477 | "vulnerabilityDetails": { # Used by Occurrence to point to where the vulnerability exists and how # Details of a security vulnerability note. |
| 478 | # to fix it. |
| 479 | "packageIssue": [ # The set of affected locations and their fixes (if available) within |
| 480 | # the associated resource. |
| 481 | { # This message wraps a location affected by a vulnerability and its |
| 482 | # associated fix (if one is available). |
| 483 | "severityName": "A String", |
| 484 | "affectedLocation": { # The location of the vulnerability # The location of the vulnerability. |
| 485 | "cpeUri": "A String", # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) |
| 486 | # format. Examples include distro or storage location for vulnerable jar. |
| 487 | # This field can be used as a filter in list requests. |
| 488 | "version": { # Version contains structured information about the version of the package. # The version of the package being described. This field can be used as a |
| 489 | # filter in list requests. |
| 490 | # For a discussion of this in Debian/Ubuntu: |
| 491 | # http://serverfault.com/questions/604541/debian-packages-version-convention |
| 492 | # For a discussion of this in Redhat/Fedora/Centos: |
| 493 | # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ |
| 494 | "kind": "A String", # Distinguish between sentinel MIN/MAX versions and normal versions. |
| 495 | # If kind is not NORMAL, then the other fields are ignored. |
| 496 | "revision": "A String", # The iteration of the package build from the above version. |
| 497 | "name": "A String", # The main part of the version name. |
| 498 | "epoch": 42, # Used to correct mistakes in the version numbering scheme. |
| 499 | }, |
| 500 | "package": "A String", # The package being described. |
| 501 | }, |
| 502 | "fixedLocation": { # The location of the vulnerability # The location of the available fix for vulnerability. |
| 503 | "cpeUri": "A String", # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) |
| 504 | # format. Examples include distro or storage location for vulnerable jar. |
| 505 | # This field can be used as a filter in list requests. |
| 506 | "version": { # Version contains structured information about the version of the package. # The version of the package being described. This field can be used as a |
| 507 | # filter in list requests. |
| 508 | # For a discussion of this in Debian/Ubuntu: |
| 509 | # http://serverfault.com/questions/604541/debian-packages-version-convention |
| 510 | # For a discussion of this in Redhat/Fedora/Centos: |
| 511 | # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ |
| 512 | "kind": "A String", # Distinguish between sentinel MIN/MAX versions and normal versions. |
| 513 | # If kind is not NORMAL, then the other fields are ignored. |
| 514 | "revision": "A String", # The iteration of the package build from the above version. |
| 515 | "name": "A String", # The main part of the version name. |
| 516 | "epoch": 42, # Used to correct mistakes in the version numbering scheme. |
| 517 | }, |
| 518 | "package": "A String", # The package being described. |
| 519 | }, |
| 520 | }, |
| 521 | ], |
| 522 | "type": "A String", # The type of package; whether native or non native(ruby gems, |
| 523 | # node.js packages etc) |
| 524 | "cvssScore": 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a |
| 525 | # scale of 0-10 where 0 indicates low severity and 10 indicates high |
| 526 | # severity. |
| 527 | "severity": "A String", # Output only. The note provider assigned Severity of the vulnerability. |
| 528 | "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when that is |
| 529 | # available and note provider assigned severity when distro has not yet |
| 530 | # assigned a severity for this vulnerability. |
| 531 | }, |
| 532 | "createTime": "A String", # Output only. The time this `Occurrence` was created. |
| 533 | "derivedImage": { # Derived describes the derived image portion (Occurrence) of the # Describes how this resource derives from the basis |
| 534 | # in the associated note. |
| 535 | # DockerImage relationship. This image would be produced from a Dockerfile |
| 536 | # with FROM <DockerImage.Basis in attached Note>. |
| 537 | "distance": 42, # Output only. The number of layers by which this image differs from the |
| 538 | # associated image basis. |
| 539 | "baseResourceUrl": "A String", # Output only. This contains the base image URL for the derived image |
| 540 | # occurrence. |
| 541 | "layerInfo": [ # This contains layer-specific metadata, if populated it has length |
| 542 | # "distance" and is ordered with [distance] being the layer immediately |
| 543 | # following the base image and [1] being the final layer. |
| 544 | { # Layer holds metadata specific to a layer of a Docker image. |
| 545 | "arguments": "A String", # The recovered arguments to the Dockerfile directive. |
| 546 | "directive": "A String", # The recovered Dockerfile directive used to construct this layer. |
| 547 | }, |
| 548 | ], |
| 549 | "fingerprint": { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image. |
| 550 | "v1Name": "A String", # The layer-id of the final layer in the Docker image's v1 |
| 551 | # representation. |
| 552 | # This field can be used as a filter in list requests. |
| 553 | "v2Blob": [ # The ordered list of v2 blobs that represent a given image. |
| 554 | "A String", |
| 555 | ], |
| 556 | "v2Name": "A String", # Output only. The name of the image's v2 blobs computed via: |
| 557 | # [bottom] := v2_blobbottom := sha256(v2_blob[N] + " " + v2_name[N+1]) |
| 558 | # Only the name of the final blob is kept. |
| 559 | # This field can be used as a filter in list requests. |
| 560 | }, |
| 561 | }, |
| 562 | "resourceUrl": "A String", # The unique URL of the image or the container for which the `Occurrence` |
| 563 | # applies. For example, https://gcr.io/project/image@sha256:foo This field |
| 564 | # can be used as a filter in list requests. |
| 565 | }, |
| 566 | ], |
| 567 | }</pre> |
| 568 | </div> |
| 569 | |
| 570 | <div class="method"> |
| 571 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 572 | <pre>Retrieves the next page of results. |
| 573 | |
| 574 | Args: |
| 575 | previous_request: The request for the previous page. (required) |
| 576 | previous_response: The response from the request for the previous page. (required) |
| 577 | |
| 578 | Returns: |
| 579 | A request object that you can call 'execute()' on to request the next |
| 580 | page. Returns None if there are no more items in the collection. |
| 581 | </pre> |
| 582 | </div> |
| 583 | |
| 584 | </body></html> |