Skip to content

Commit 2cc9408

Browse files
author
Peter Wagstaff
committed
Added family names, moved files around
1 parent c04a21e commit 2cc9408

5 files changed

Lines changed: 33 additions & 21888 deletions

File tree

fedramp_high_overlay.json renamed to fedramp_high/extracted_fedramp_high_overlay.json

File renamed without changes.
File renamed without changes.
112 KB
Binary file not shown.

index.html

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -774,11 +774,11 @@ <h2 class="toggles-title">Additional Security Assumptions</h2>
774774
// Load overlays
775775
const sl5Response = await fetch('sl5_overlay/extracted_sl5_overlay.json');
776776
sl5Data = await sl5Response.json();
777-
const fedRampResponse = await fetch('fedramp_high_overlay.json');
777+
const fedRampResponse = await fetch('fedramp_high/extracted_fedramp_high_overlay.json');
778778
const fedRampText = await fedRampResponse.text();
779779
const fedRampCleaned = fedRampText.replace(/: NaN,/g, ': null,').replace(/: NaN}/g, ': null}');
780780
fedRampData = JSON.parse(fedRampCleaned);
781-
const fedRampPlusResponse = await fetch('extracted_fedramp_plus_overlay.json');
781+
const fedRampPlusResponse = await fetch('fedramp_plus/extracted_fedramp_plus_overlay.json');
782782
fedRampPlusData = await fedRampPlusResponse.json();
783783
const classifiedResponse = await fetch('classified_information/extracted_classified_information_overlay.json');
784784
classifiedData = await classifiedResponse.json();
@@ -811,6 +811,34 @@ <h2 class="toggles-title">Additional Security Assumptions</h2>
811811
// --------------------
812812
// Populate Family Filter
813813
// --------------------
814+
// Mapping of family abbreviations to full names
815+
const FAMILY_NAMES = {
816+
'AC': 'Access Control',
817+
'AT': 'Awareness and Training',
818+
'AU': 'Audit and Accountability',
819+
'CA': 'Assessment, Authorization, and Monitoring',
820+
'CM': 'Configuration Management',
821+
'CP': 'Contingency Planning',
822+
'IA': 'Identification and Authentication',
823+
'IR': 'Incident Response',
824+
'IS': 'Interface Security',
825+
'MA': 'Maintenance',
826+
'MP': 'Media Protection',
827+
'NS': 'Network Separation',
828+
'PE': 'Physical and Environmental Protection',
829+
'PL': 'Planning',
830+
'PM': 'Program Management',
831+
'PS': 'Personnel Security',
832+
'PT': 'PII Processing and Transparency',
833+
'RA': 'Risk Assessment',
834+
'SA': 'System and Services Acquisition',
835+
'SC': 'System and Communications Protection',
836+
'SI': 'System and Information Integrity',
837+
'SR': 'Supply Chain Risk Management',
838+
'ZT': 'Zero Trust',
839+
'Unknown': 'Unknown'
840+
};
841+
814842
function populateFamilyFilter() {
815843
const families = [...new Set(allControls.map(control => control.family))].sort();
816844
const familyFilter = document.getElementById('familyFilter');
@@ -823,7 +851,9 @@ <h2 class="toggles-title">Additional Security Assumptions</h2>
823851
families.forEach(family => {
824852
const option = document.createElement('option');
825853
option.value = family;
826-
option.textContent = family;
854+
// Show abbreviation and full name
855+
const fullName = FAMILY_NAMES[family] || family;
856+
option.textContent = `${family} - ${fullName}`;
827857
familyFilter.appendChild(option);
828858
});
829859
// Attach event listeners after populating

0 commit comments

Comments
 (0)