Skip to content

container-registry: API deprecation #10180

Description

@glasnt

The container-registry samples are currently returning errors in testing (e.g. #10129)

[ERROR] PERMISSION_DENIED: note creation is not allowed for note kind VULNERABILITY

Failing tests (10/10 @Tests for this doc set)

  • testFindVulnerabilitiesForImage
  • testCreateOccurrence
  • testOccurrencesForImage
  • testDeleteOccurrence
  • testPollDiscoveryOccurrenceFinished
  • testFindHighSeverityVulnerabilitiesForImage
  • testOccurrencesForNote
  • testCreateNote
  • testDeleteNote
  • testPubSub

This API has been deprecated; example docs page cited in samples https://cloud.google.com/container-registry/docs/container-analysis#supported_metadata_types

However, they're still referenced in active docs: https://cloud.google.com/artifact-analysis/docs/create-notes-occurrences#artifact-analysis-create-note-java

A temporary workaround to unblock #10129 is to skip these tests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions