Google-only example workflow uses unsupported action inputs

Aperta Adatta ai principianti
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
88/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions
Ambito
ci-cd

Direzione di ricerca

Inizia con il workflow di esempio Google-only e confronta i suoi input di stackql-audit-action con l’elenco degli input supportati indicato nell’issue. Rimuovi gli input non supportati e usa project-id per il progetto GCP configurato, quindi esegui il workflow e conferma che il riepilogo contenga il progetto e i risultati previsti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

While testing the Google-only example workflow, GitHub Actions reports unsupported inputs for stackql-audit-action.

The workflow completes successfully, but the audit summary shows an empty project and 0 findings.

GitHub Actions reports the following warning:

Unexpected input(s) 'gcp-project-id', 'upload-logs', 'log-retention-days',
valid inputs are ['project-id', 'gcp-credentials', 'google-provider-version',
'queries-path', 'fail-on-severity', 'stackql-version']

Observed behavior

The workflow completes with Success, but the generated summary shows:

Project: ``
Checks run: 7
Errors: 0
Total findings: 0

The project value is empty even though a GCP project was configured for the workflow.

Expected behavior

The Google-only example workflow should use the currently supported action inputs so that the configured GCP project is passed correctly to the audit.

Based on the current action inputs, it looks like:

gcp-project-id:

should be:

project-id:

The example also passes:

upload-logs:
log-retention-days:

but these do not appear in the current list of supported action inputs.

Additional context

I found this while validating the Google-only audit workflow for a tutorial.

After using the supported project-id input, the audit was able to query the intended GCP project and return the expected findings.

Lingua principale
Python
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.