2. Secure Configuration and Visibility

Secure Configuration and Change Control

Build repeatable secure defaults and manage cloud change as a reviewed, testable process rather than an accumulation of console settings.

About this learning content: Courses, lessons, assessments, explanations and illustrations may be created with the help of artificial intelligence. We review and check the material and do our best to avoid incorrect or outdated information, but mistakes, omissions or ambiguous questions may remain. Please verify information before relying on it for professional, security, legal or operational decisions. Read the full notice or report an issue.

In this lesson, you will learn to:

  • Create a cloud configuration-control approach that establishes secure defaults, tests changes, records exceptions, and detects drift.

Secure Configuration and Change Control

This lesson explains baseline design, infrastructure as code, exception management, and the operational checks that keep configuration drift visible.

Secure defaults are more reliable than repeated manual decisions

Cloud environments can change rapidly. A manually configured setting may be correct at one moment and silently diverge after a new account, service, deployment, or emergency change. Secure defaults reduce the number of high-impact choices left to memory and make expected settings easier to review.

A baseline should state outcomes, not merely list vendor options. Examples include requiring strong authentication for administration, preventing public data exposure unless explicitly approved, centralizing audit records, restricting unused network paths, encrypting sensitive data, and tagging assets with owners and environments. Implementation differs by provider, but a baseline remains useful when it can be tested and explained.

Infrastructure as code can make configuration repeatable, reviewable, and easier to compare with the desired state. It is not inherently secure: templates can reproduce an unsafe pattern quickly, and a powerful deployment identity can be abused. Protect the source repository, review changes, limit pipeline permissions, test in an appropriate environment, and maintain separation between routine development and high-impact production changes.

Define an exception route. Some workloads may need unusual connectivity, an older setting, or a temporary exposure while a migration completes. Record the business reason, risk owner, compensating controls, expiry, and review date. An undocumented exception becomes invisible technical debt.

Detect drift and validate the change path

Drift is a difference between the intended secure state and the state that actually exists. It can result from manual changes, incomplete deployments, inherited settings, emergency work, provider feature changes, or a baseline that never covered a new service. Finding drift is not enough; the team must decide whether the state is an error, an approved exception, or evidence that the baseline needs to evolve.

Use preventive controls where an unsafe configuration has a clear, unacceptable outcome. Examples may include a policy that blocks public exposure of a sensitive storage class or prevents removal of required audit settings. Use detective controls when a change can be legitimate in some circumstances but requires review. Combine both with periodic inventory and a path to remediation.

Test the change path. Can a developer propose a necessary configuration change without using an administrator’s personal account? Do reviewers see the security-relevant impact? Does a failed deployment leave a partially exposed resource? Are policy violations reported to an owner who can resolve them? Automation without a responsible operating process simply moves configuration risk faster.

Keep the signal useful. A posture tool that produces thousands of unprioritized findings can train teams to ignore meaningful risk. Group findings by asset impact, exposure, ownership, and control objective, then track remediation and exception expiry. The desired outcome is a small number of understood, actionable deviations.