Let’s Get Certified
Module 07 / 07 · Security administration

Roll out security configurations and measure coverage

Plan a staged rollout, delegate access and distinguish intended configuration from observed scanning.

Measure rollout intent and analysis health separately

Inventory the repositories in scope by owner, visibility, GitHub deployment and eligibility. Check licensing and version support for private code and GitHub Enterprise Server. Pilot the configuration across representative languages and build systems, including one difficult build. Review actual analysis results before expanding. A default for new repositories and an enforced configuration for an existing estate address different rollout problems.

Use security managers or scoped roles for delegated oversight and apply least privilege to alert access and integrations. Define who approves exceptions and how they expire. Keep audit evidence for configuration changes. For automation, inventory with pagination, apply the intended configuration to eligible repositories, record failures and re-read resulting settings. Check the latest successful scan separately.

Compare billing reports for the relevant security product and eligible active committers with your repository inventory. Counting enabled repositories shows how broadly a feature is enabled. Use the billing report to estimate cost. Reconcile policy exceptions, unsupported environments and actual usage with the organization owner.

Plan a staged change

Select one public service, one eligible private service and one multi-language build for a pilot. Record each repository’s current settings and last successful analysis. Apply the configuration, check the per-repository attachment result, then compare the next scan against the baseline. Before widening the rollout, record which failures require a configuration change and which require the build owner.

Worked case 1

Eight repositories are configured, six have a recent successful scan and two failed yesterday. How should a rollout owner report coverage?

Check your reasoning

Report eight configured and six with verified current analysis out of eight in scope. Assign the two failed scans to their owners. Keep them in the denominator while they are repaired.

Worked case 2

A new private repository received the expected default, but an older repository did not. What should the administrator do?

Check your reasoning

Inspect configuration attachment and eligibility for the older repository. Apply the approved configuration to the existing scope and confirm the resulting feature status and scan health.

Reconcile scan coverage

Save this as coverage.py and run python3 coverage.py. Each row represents an in-scope repository. The final field records the status for the expected revision. Predict both coverage fractions before you run it.

repositories = [
    ("store", True, "success"),
    ("ledger", True, "failed"),
    ("reports", False, "missing"),
    ("mobile", True, "stale"),
]
configured = sum(enabled for _, enabled, _ in repositories)
current = sum(enabled and status == "success"
              for _, enabled, status in repositories)
print(f"Configured: {configured}/{len(repositories)}")
print(f"Current successful scan: {current}/{len(repositories)}")
for name, enabled, status in repositories:
    if not enabled or status != "success":
        print(name, status)
Check your output

Expected lines: Configured: 3/4, Current successful scan: 1/4, ledger failed, reports missing, mobile stale. Repairing ledger’s failed analysis moves current coverage to 2/4 while configured coverage stays at 3/4. The stale result does not cover the expected revision.

GitHub security configurations · GH-500 skills outline

Related lesson in GitHub Administration. Explain a bill and assemble an audit trail.

Practice with the recording

Developers need to fix alerts in their repositories, and a central team needs an organization-wide view. Must every developer become a security manager?

Check your reasoning

Assign remediation work with repository-scoped access and reserve organization-wide authority for the appropriate security team. Verify alert visibility and permitted actions under a representative account for each role. Record who may dismiss or approve exceptions.

Current GH-500 course · 1:59:28 · freeCodeCamp · GitHub Advanced Security course · 2:30:49

Apply the current exam objectives

Pilot security configurations on repositories with different languages and CI systems. Confirm which security products and features are available on the target Enterprise Cloud or Enterprise Server deployment. Compare effective configuration, scan freshness and exception ownership before widening enforcement.

Governance across repositories

Apply a pilot security configuration and check inheritance on new and existing repositories. Compare security manager, administrator and developer access to configuration and alerts. Use a scoped API inventory to verify effective settings and recent analyses before expanding the rollout.

Knowledge check

Roll out security configurations and measure coverage quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Analysis coverage