github / github/platform-samples

the block confidential script is not blocking the kubeconfig file

Aperta
#244 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
2.2k
Fork
1.9k
Merge medio
7g 19h
PR unite (30g)
1

Descrizione

Hello experts,

We are using the platform samples the block confidential pre-receive script in our environment. It was working as expected.
but when we scanned the GitHub data , we could identify that the kubeconfig files are not getting blocked.

Could you please suggest us to add the best regex to find the kubeconfig file and block it through pre-receive script..

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the platform sample's block confidential pre-receive script and read how its existing secret patterns are matched. Reproduce the scan with a kubeconfig file, then add coverage for that input and confirm the hook rejects it without breaking existing confidential-file checks.

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

Valutazione

Stack tecnologico
shell
Ambito
devops, security
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.