chore: migrate google-devtools-containeranalysis to librarian#8522
chore: migrate google-devtools-containeranalysis to librarian#8522suztomo wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request removes the Grafeas service client and its associated proto files (both v1 and v1beta1) from the google-devtools-containeranalysis package. This includes deleting the corresponding proto definitions, generated clients, samples, path templates, and tests. Additionally, timeout configurations are added to the IAM methods (SetIamPolicy, GetIamPolicy, TestIamPermissions), and metadata is updated in .repo-metadata.json. As there are no review comments provided, I have no additional feedback to offer on these changes.
|
|
The grafeas classes are available via the dependency in packages/google-devtools-containeranalysis/package.json: |
Migrate google-devtools-containeranalysis to Librarian.
What is Grafeas?
Grafeas is an open-source artifact metadata API designed to audit, govern, and secure software supply chains. In Google Cloud, Container Analysis is the managed service implementation of Grafeas, used for storing vulnerability scans, build provenance, and attestations (which are verified by Binary Authorization at deployment time).
Customer-Facing Changes (Breaking Changes)
This migration separates the Grafeas client and protos from the Container Analysis package, delegating them to the dedicated
@google-cloud/grafeaspackage. This introduces the following breaking changes:Grafeas Client Export Removed:
GrafeasV1Beta1Clientis no longer exported from@google-cloud/containeranalysis/build/src/v1beta1.@google-cloud/grafeasinstead:Grafeas Path Helpers Removed from
ContainerAnalysisClient(v1):The helper methods for constructing and parsing
noteandoccurrenceresource paths have been removed from theContainerAnalysisClientclass inv1because they are Grafeas-specific resources.notePath,matchProjectFromNoteName,matchNoteFromNoteName,occurrencePath,matchProjectFromOccurrenceName,matchOccurrenceFromOccurrenceName.`projects/${project}/notes/${note}`) or obtain them from theGrafeasClientinstance (which can be retrieved viaclient.getGrafeasClient()at runtime).