Cybersecurity Fundamentals series — Part 6. This post continues Part 1: A Complete Beginner’s Guide, Part 2: Security Controls, Part 3: The CIA Triad, Part 4: Non-Repudiation, and Part 5: Authentication, Authorization, and Accounting. Each post in the series takes one topic and covers it in depth. This one covers how to measure where your security stands against where it should be: gap analysis.

A security gap analysis compares where an organization’s security is today with where it needs to be, lists the differences (the gaps), and plans how to close them, starting with the most serious.

Most organizations do not fail at security because they have no controls at all. They fail because of gaps: a policy that exists but nobody follows, a system that never got patched, a team that was never trained, a rule written for the old network and not the new one. You cannot fix what you have not found, and you cannot find it without comparing what you have against a clear target.

That is what a gap analysis does. In Part 2, you learned the categories and types of controls. A gap analysis asks a practical question about all of them: which controls do we need, which do we have, and what is missing or weak? It is also the natural next step after AAA, since reviewing who has access to what is a classic gap-finding exercise.

What Is a Gap Analysis?

The idea is simple: where are we now, where do we want to be, and what is the distance between them? In cybersecurity, it is used to decide what security work to do next, and it is repeated over time because both threats and organizations change.

The concept is easy. The work is not. Doing it well means finding out what is really happening in the environment, not just what the documents say, and then building a realistic plan to get from the current state to the target state. For a large organization, it can take weeks, months, or longer, and involve many people.

Step 0: Choose the Baseline

A gap needs something to measure against. The baseline defines the target state, and there are several common sources:

BaselineWhat it is
NIST SP 800-171U.S. requirements for protecting controlled unclassified information in non-federal systems. Check which revision is current, since NIST updates its publications.
ISO/IEC 27001An international standard for an information security management system
CIS Critical Security ControlsA prioritized list of recommended security practices
Industry or legal rulesFor example, requirements for payment cards, health data, or student records
A custom baselineYour own list of requirements written for your organization’s needs

The baseline you choose shapes what counts as a gap, so choose it based on your legal obligations, your customers’ expectations, and your risks.

The Steps of a Gap Analysis

1. Assess People

Look at the human side of security. Do staff have formal security experience or training? Do they know the organization’s security policies and procedures? A well-written policy nobody has read is a gap.

2. Assess Processes and Policies

Check whether your systems and daily practices actually follow the formal security documents. If the policy says every account is reviewed each quarter, is it really? Differences between policy and practice are among the most common gaps.

3. Analyze the Systems

Compare the technology that is really running (servers, devices, networks, applications, cloud services) with the baseline, and note the weaknesses. Then check whether another control already makes up for a weakness. A compensating control can reduce the severity of a gap.

4. Break Broad Areas into Specific Controls

Baselines are organized into large areas, such as access control. Split each one into small, checkable items. For example, “account management” can become:

  • User registration and removal
  • How access is provisioned
  • Management of privileged access rights
  • Regular review of user access rights

5. Build the Comparison

For each specific item, and for every process, device, and location it applies to, record the current state and the desired state. This is the heart of the analysis, and it is mostly data gathering: interviews, document reviews, configuration checks, and scans.

6. Plan the Path

For every gap, work out how to get from now to the target. That usually takes time and money, may need new equipment or software, and must go through change control so that fixes do not break other things. Finding a gap is one question. Deciding how to close it is often the harder one.

7. Write the Report

Document the findings and the recommendations, as described in the next section.

What a Gap Analysis Report Contains

  • Where you are today compared with the baseline
  • The path forward, so leaders can see the cost and effort of getting there
  • Recommendations for meeting the baseline
  • A summary table with a rating for each requirement, and each location or system if there are several

A common way to show the ratings is with colors:

RatingMeaningAction
GreenClose to meeting the baselineFinish and maintain
YellowPartway therePlan and schedule
RedFar from the baseline, needs a lot of workAddress first

Behind each color, the report explains the reason and summarizes how to implement the missing controls. Teams usually fix red items first, then yellow, then green, to get the biggest security improvement for the effort.

A Small Worked Example

Suppose a small company wants to measure its access control against its baseline. It scores each requirement on a scale from 0 (nothing in place) to 4 (fully meets the baseline) and sets a target for each:

RequirementNowGoalGap
User registration and removal242
Privileged access management143
Periodic review of user access132
Multi-factor authentication341
Security awareness training231

The gap is simply goal - now. You can have a short script rate and sort them, which is a handy way to prioritize when a list gets long:

# Maturity levels: 0 = nothing in place ... 4 = fully meets the baseline
requirements = [
    ("User registration and removal", 2, 4),
    ("Privileged access management", 1, 4),
    ("Periodic review of user access", 1, 3),
    ("Multi-factor authentication", 3, 4),
    ("Security awareness training", 2, 3),
]


def rating(gap):
    if gap >= 3:
        return "RED"
    if gap == 2:
        return "YELLOW"
    return "GREEN"


rows = [(name, current, target, target - current) for name, current, target in requirements]
rows.sort(key=lambda row: row[3], reverse=True)  # biggest gaps first

print(f"{'Requirement':<34}{'Now':>4}{'Goal':>6}{'Gap':>5}  Rating")
for name, current, target, gap in rows:
    print(f"{name:<34}{current:>4}{target:>6}{gap:>5}  {rating(gap)}")
Requirement                        Now  Goal  Gap  Rating
Privileged access management         1     4    3  RED
User registration and removal        2     4    2  YELLOW
Periodic review of user access       1     3    2  YELLOW
Multi-factor authentication          3     4    1  GREEN
Security awareness training          2     3    1  GREEN

The cut-offs for red, yellow, and green are choices, not a standard. What matters is that you pick them, explain them, and apply them the same way every time. Privileged access management comes out first, so that is where the company starts. Real analyses add more detail, such as the importance of each system, the cost of the fix, and the risk if the gap is left open.

Types of Gaps You May Find

Kind of gapExample
PeopleStaff have had no security training, or do not know the incident reporting process
Process and policyThe offboarding policy exists, but accounts of former staff stay active
TechnicalAn old server missing patches, or no multi-factor authentication on remote access
CoverageOne branch office follows the standard and another does not
DocumentationControls are in place, but nothing is written down to prove it

Who Performs a Gap Analysis

It can be done by your own staff, by an outside consultant, or by both. An outside view helps you find blind spots, and your own staff know how things really work. Many organizations also repeat it after major changes, such as a merger, a move to the cloud, or a new regulation.

Common Mistakes

  • Using the policy documents as the evidence. Check how things actually work.
  • Skipping people and processes. A gap analysis that only looks at technology misses many of the real problems.
  • No clear baseline. Without a target, there is no way to say what a gap is.
  • A report that gathers dust. The value comes from acting on it. Assign owners, costs, and dates.
  • Doing it once. Security needs change, so repeat the process.
  • Trying to fix everything at once. Prioritize by risk and effort.

Quick Summary

  • A gap analysis compares the current state with a target state and plans how to close the difference.
  • Choose a baseline first, such as NIST, ISO/IEC 27001, the CIS Controls, or a custom list.
  • Assess people, processes and policies, and systems, break big areas into specific controls, and compare current against desired.
  • Plan the path, including cost, equipment, and change control.
  • The report uses ratings, often green, yellow, and red, and recommends fixing red first.

What’s Next in This Series

Next, the series looks at zero trust, a security model that assumes no user or device should be trusted just because of where it is. To practice, take one control from Part 2, such as a backup or an access review, and score where your own home or workplace stands from 0 to 4.

For another explanation, Professor Messer offers a free video lesson as part of his CompTIA Security+ SY0-701 course: Gap Analysis. For a view of how an organization with limited staff and budgets handles priorities, see K-12 data privacy.

Conclusion

A gap analysis turns “are we secure?” into a list you can work through: here is the target, here is where we are, and here is what it takes to close the distance. Choose a baseline, look honestly at people, processes, and systems, rate what you find, and fix the biggest gaps first. The value is not in the report but in the follow-through, and in repeating the exercise as your organization changes.

Next in the Cybersecurity Fundamentals series: Zero Trust Security Explained: Never Trust, Always Verify, a model that trusts nothing by default and verifies every request.

Cybersecurity Fundamentals series: Part 1: A Complete Beginner’s Guide · Part 2: Security Controls · Part 3: The CIA Triad · Part 4: Non-Repudiation · Part 5: Authentication, Authorization, and Accounting · Part 6: Gap Analysis · Part 7: Zero Trust · Part 8: Physical Security · Part 9: Deception and Disruption