@ivan.lyagin
Hi,
So, I want to use the title property in an isolated manner. Use just that in a specific place, and not in a loop. So, for that, I am using the IndexOf () method to determine which array object should be identified.
Please find below the enitre json file content:-
[
{
“Domain”: {
“Title”: “Introduction”,
“RiskScore”: null,
“ScoreFooter”: null,
“Chart”: null,
“ChartText”: null,
“Area”: [
{
“Title”: “Purpose”,
“RiskScore”: null,
“ScoreFooter”: null,
“SubDomain”: null
}
]
}
},
{
“Domain”: {
“Title”: “Executive Summary”,
“RiskScore”: null,
“ScoreFooter”: null,
“Chart”: null,
“ChartText”: null,
“Area”: null
}
},
{
“Domain”: {
“Title”: "RealRisk Score ",
“RiskScore”: “27”,
“ScoreFooter”: “RealRisk, May 2023”,
“Chart”: [
{
“Field”: “Governance”,
“Value”: “27”
},
{
“Field”: “People & Processes”,
“Value”: “25”
},
{
“Field”: “Protection”,
“Value”: “22”
},
{
“Field”: “Preparedness & Response”,
“Value”: “16”
},
{
“Field”: “Detection”,
“Value”: “11”
},
{
“Field”: “Application & Prodcut Security”,
“Value”: “44”
}
],
“ChartText”: “Figure 1: RealRisk scores by assessment Domain”,
“Area”: null
}
},
{
“Domain”: {
“Title”: “Area Findings”,
“RiskScore”: null,
“ScoreFooter”: null,
“Chart”: null,
“ChartText”: null,
“Area”: [
{
“Title”: “Governance”,
“RiskScore”: “27”,
“ScoreFooter”: “Overall Real Risk, Governance”,
“SubDomain”: [
{
“Title”: “Program Ownership”,
“RiskScore”: “26”
},
{
“Title”: “Policies”,
“RiskScore”: “27”
},
{
“Title”: “Program Management”,
“RiskScore”: “28”
}
]
},
{
“Title”: “People & Processes”,
“RiskScore”: “27”,
“ScoreFooter”: “Overall Real Risk, People & Processes”,
“SubDomain”: [
{
“Title”: “Training & Awareness”,
“RiskScore”: “36”
},
{
“Title”: “User Behavior Testing & Analysis”,
“RiskScore”: “27”
},
{
“Title”: “Onboarding & Offboarding”,
“RiskScore”: “39”
},
{
“Title”: “Business Process Controls”,
“RiskScore”: “11”
}
]
},
{
“Title”: “Protection”,
“RiskScore”: “22”,
“ScoreFooter”: “Overall Real Risk, Protection”,
“SubDomain”: [
{
“Title”: “Technical Configuration Standards & Procedures”,
“RiskScore”: “8”
},
{
“Title”: “Change Control Management”,
“RiskScore”: “9”
},
{
“Title”: “Mobile Devices Management”,
“RiskScore”: “10”
},
{
“Title”: “Remote Access”,
“RiskScore”: “27”
},
{
“Title”: “Data Protection”,
“RiskScore”: “43”
},
{
“Title”: “Email Security”,
“RiskScore”: “13”
},
{
“Title”: “Identity Access Management”,
“RiskScore”: “17”
},
{
“Title”: “Privileged Access Management”,
“RiskScore”: “23”
},
{
“Title”: “Authentication”,
“RiskScore”: “17”
},
{
“Title”: “Endpoint Protection”,
“RiskScore”: “11”
},
{
“Title”: “Patch Management”,
“RiskScore”: “31”
},
{
“Title”: “Physical & Environmental Security”,
“RiskScore”: “21”
}
]
},
{
“Title”: “Preparedness & Response”,
“RiskScore”: “16”,
“ScoreFooter”: “Overall Real Risk, Preparedness & Response”,
“SubDomain”: [
{
“Title”: “Business Impact Analysis”,
“RiskScore”: “8”
},
{
“Title”: “Backups”,
“RiskScore”: “11”
},
{
“Title”: “Business Continuity Planning”,
“RiskScore”: “16”
},
{
“Title”: “Incident Response”,
“RiskScore”: “32”
},
{
“Title”: “Disaster Recovery”,
“RiskScore”: “18”
},
{
“Title”: “Cyber Insurance”,
“RiskScore”: “19”
}
]
},
{
“Title”: “Detection”,
“RiskScore”: “11”,
“ScoreFooter”: “Overall Real Risk, Detection”,
“SubDomain”: [
{
“Title”: “Threat Intelligence & Monitoring”,
“RiskScore”: “3”
},
{
“Title”: “Vulnerability Management”,
“RiskScore”: “5”
},
{
“Title”: “Logging”,
“RiskScore”: “39”
},
{
“Title”: “Penetration Testing”,
“RiskScore”: “31”
}
]
},
{
“Title”: “Application & Product Security”,
“RiskScore”: “44”,
“ScoreFooter”: “Overall Real Risk, Application & Product Security”,
“SubDomain”: [
{
“Title”: “Ownership”,
“RiskScore”: “31”
},
{
“Title”: “Policy and Process”,
“RiskScore”: “55”
},
{
“Title”: “Developer Support for Secure Development”,
“RiskScore”: “17”
},
{
“Title”: “Security by Design”,
“RiskScore”: “19”
},
{
“Title”: “Product and Development Environment Controls”,
“RiskScore”: “58”
},
{
“Title”: “Testing”,
“RiskScore”: “7”
}
]
}
]
}
}
]