Quiz 9 Question 9 of 20

A security audit reveals that an agent tasked with generating configuration files has committed API keys, database connection strings with passwords, and private key material directly into a public repository. The agent had no secret detection configured and treated configuration values the same as any other file content. What guardrail was missing and what is the remediation?

Select an answer to reveal the explanation.

Motivation