QuestionQ63Verified/SecurityCopy linkReport a problemAsk AstroTutorSave questionWhich of the following can remove the risk of CI/CD pipelines exposing secrets in containers?APeer-reviewed pull requestsBUse of a VM instead of containersCPrivate image repositoriesDCanary testsShow AnswerAnswerExplanationPeer-reviewed pull requests provide a pre-merge control through which reviewers can detect and reject hard-coded credentials or unsafe CI/CD configuration before it becomes part of the build and container image. Required pull-request approvals can be enforced with protected-branch rules. Private image repositories limit access to images but do not prevent secrets from being included in their layers. GitHub Docs: Managing a branch protection ruleLearn moreGitHub Docs: Managing a branch protection ruleMicrosoft Learn: Security considerations for container instancesShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion