La versione GA di Autorizzazione binaria fornisce un set di comandi e un'API REST aggiornati.gcloud Aggiorna eventuali script o automazioni che accedono a queste interfacce come segue:
API REST
Utilizza gli endpoint dell'API REST di GA relativi al seguente URLhttps://binaryauthorization.googleapis.com/v1/ anzichéhttps://binaryauthorization.googleapis.com/v1beta1.
Quando crei un nuovo attestatore chiamando la versione GA dell'API REST, invii un messaggio JSON che descrive l'attestatore nell'ambito della richiesta. Nella versione beta dell'API, il messaggio JSON conteneva un campo denominato UserOwnedDrydockNote. Nella versione GA,
il nome di questo campo è UserOwnedGrafeasNote.
Google Cloud CLI
Utilizza i comandi GA gcloud in gcloud container binauthz
invece di gcloud beta container binauthz.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]],[]]