A versão do GA da autorização binária fornece uma API REST atualizada e um conjunto de comandos gcloud. Atualize todos os scripts ou automações que acessam essas interfaces da seguinte maneira:
API REST
Use os pontos de extremidade da API REST do GA em relação ao seguinte URL
https://binaryauthorization.googleapis.com/v1/ em vez de
https://binaryauthorization.googleapis.com/v1beta1.
Ao criar um novo atestador ao chamar a versão do GA da API REST, você envia uma mensagem JSON que descreve o atestado como parte da solicitação. Na versão Beta da API, a mensagem JSON continha um campo chamado UserOwnedDrydockNote. Na versão de GA,
o nome desse campo é UserOwnedGrafeasNote.
CLI do Google Cloud
Use os comandos gcloud do GA em gcloud container binauthz
em vez de gcloud beta container binauthz.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-03-06 UTC."],[[["The Binary Authorization Beta API was discontinued on September 16, 2019, and will cease to function after March 16, 2020, requiring migration to the GA version."],["Users of the Binary Authorization Beta API must migrate to the GA version to avoid service interruption, while no action is required for those not using the Beta version."],["Migration to the GA version involves updating scripts and automations to use the GA REST API endpoints (`https://binaryauthorization.googleapis.com/v1/`) and the GA `gcloud` command set (`gcloud container binauthz`)."],["The GA version of the REST API uses `UserOwnedGrafeasNote` in JSON messages for creating attestors, replacing the Beta version's `UserOwnedDrydockNote`."],["Artifact Analysis Beta API users are recommended to start using the generally available version of the API instead."]]],[]]