github / github/platform-samples
the block confidential script is not blocking the kubeconfig file
- Lenguaje dominante
- Shell
- Estrellas
- 2.2k
- Forks
- 1.9k
- Merge medio
- 7 d 19 h
- PR fusionados (30 d)
- 1
Descripción
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..
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- devops, security
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100