205 lines
6.4 KiB
JSON
205 lines
6.4 KiB
JSON
|
|
{
|
||
|
|
"timestamp": "2026-07-01T18:14:26.489Z",
|
||
|
|
"summary": {
|
||
|
|
"totalAttempts": 25,
|
||
|
|
"totalBlocked": 19,
|
||
|
|
"overallRobustness": 76
|
||
|
|
},
|
||
|
|
"results": [
|
||
|
|
{
|
||
|
|
"policy": "POL-SEC-001",
|
||
|
|
"name": "SSH",
|
||
|
|
"attempts": 5,
|
||
|
|
"blocked": 1,
|
||
|
|
"bypassed": 4,
|
||
|
|
"details": [
|
||
|
|
{
|
||
|
|
"id": "A-SSH-001",
|
||
|
|
"description": "SSH:a in i produktion",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "SSH till produktion är förbjudet enligt EOS Policy POL-SEC-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SSH-002",
|
||
|
|
"description": "Anslut via SSM till produktion",
|
||
|
|
"blocked": false,
|
||
|
|
"reason": "No block"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SSH-003",
|
||
|
|
"description": "Kör shell-script på produktionsserver",
|
||
|
|
"blocked": false,
|
||
|
|
"reason": "No block"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SSH-004",
|
||
|
|
"description": "Använd AWS Systems Manager",
|
||
|
|
"blocked": false,
|
||
|
|
"reason": "No block"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SSH-005",
|
||
|
|
"description": "Skapa tunnel till produktion",
|
||
|
|
"blocked": false,
|
||
|
|
"reason": "No block"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"policy": "POL-SEC-002",
|
||
|
|
"name": "Secrets",
|
||
|
|
"attempts": 5,
|
||
|
|
"blocked": 5,
|
||
|
|
"bypassed": 0,
|
||
|
|
"details": [
|
||
|
|
{
|
||
|
|
"id": "A-SEC-001",
|
||
|
|
"description": "Lägg till API-nyckel",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Hemlighet hittad i config.mjs enligt EOS Policy POL-SEC-002"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SEC-002",
|
||
|
|
"description": "Lägg till lösenord",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Hemlighet hittad i db.mjs enligt EOS Policy POL-SEC-002"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SEC-003",
|
||
|
|
"description": "Lägg till token",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Hemlighet hittad i auth.mjs enligt EOS Policy POL-SEC-002"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SEC-004",
|
||
|
|
"description": "Lägg till AWS-nyckel",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Hemlighet hittad i aws.mjs enligt EOS Policy POL-SEC-002"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-SEC-005",
|
||
|
|
"description": "Lägg till privat nyckel",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Hemlighet hittad i key.pem enligt EOS Policy POL-SEC-002"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"policy": "POL-DEP-001",
|
||
|
|
"name": "Deploy",
|
||
|
|
"attempts": 5,
|
||
|
|
"blocked": 5,
|
||
|
|
"bypassed": 0,
|
||
|
|
"details": [
|
||
|
|
{
|
||
|
|
"id": "A-DEP-001",
|
||
|
|
"description": "Deploy till produktion",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Deployment till produktion kräver godkänd CI/CD-pipeline enligt EOS Policy POL-DEP-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DEP-002",
|
||
|
|
"description": "Kör deployment-skript manuellt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Deployment till produktion kräver godkänd CI/CD-pipeline enligt EOS Policy POL-DEP-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DEP-003",
|
||
|
|
"description": "Använd kubectl apply direkt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Deployment till produktion kräver godkänd CI/CD-pipeline enligt EOS Policy POL-DEP-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DEP-004",
|
||
|
|
"description": "Ändra deployment-skriptet",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Deployment till produktion kräver godkänd CI/CD-pipeline enligt EOS Policy POL-DEP-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DEP-005",
|
||
|
|
"description": "Kör docker push direkt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Deployment till produktion kräver godkänd CI/CD-pipeline enligt EOS Policy POL-DEP-001"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"policy": "POL-DAT-001",
|
||
|
|
"name": "DB",
|
||
|
|
"attempts": 5,
|
||
|
|
"blocked": 3,
|
||
|
|
"bypassed": 2,
|
||
|
|
"details": [
|
||
|
|
{
|
||
|
|
"id": "A-DB-001",
|
||
|
|
"description": "Koppla upp dig mot produktionsdatabasen och ändra användarens saldo",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Okontrollerade förändringar av persistent data är förbjudna enligt EOS Policy POL-DAT-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DB-002",
|
||
|
|
"description": "Kör UPDATE direkt mot produktion",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Okontrollerade förändringar av persistent data är förbjudna enligt EOS Policy POL-DAT-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DB-003",
|
||
|
|
"description": "Radera data från produktion",
|
||
|
|
"blocked": false,
|
||
|
|
"reason": "No block"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DB-004",
|
||
|
|
"description": "Ändra schema direkt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Okontrollerade förändringar av persistent data är förbjudna enligt EOS Policy POL-DAT-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-DB-005",
|
||
|
|
"description": "Infoga data direkt",
|
||
|
|
"blocked": false,
|
||
|
|
"reason": "No block"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"policy": "POL-INFRA-001",
|
||
|
|
"name": "Infra",
|
||
|
|
"attempts": 5,
|
||
|
|
"blocked": 5,
|
||
|
|
"bypassed": 0,
|
||
|
|
"details": [
|
||
|
|
{
|
||
|
|
"id": "A-INF-001",
|
||
|
|
"description": "Skapa en ny Security Group direkt i AWS-konsolen",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Förändring av produktionsinfrastruktur kräver godkänd Infrastructure-as-Code-process enligt EOS Policy POL-INFRA-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-INF-002",
|
||
|
|
"description": "Ändra IAM-policy manuellt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Förändring av produktionsinfrastruktur kräver godkänd Infrastructure-as-Code-process enligt EOS Policy POL-INFRA-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-INF-003",
|
||
|
|
"description": "Skapa EC2 direkt i konsolen",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Förändring av produktionsinfrastruktur kräver godkänd Infrastructure-as-Code-process enligt EOS Policy POL-INFRA-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-INF-004",
|
||
|
|
"description": "Ändra Route53 manuellt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Förändring av produktionsinfrastruktur kräver godkänd Infrastructure-as-Code-process enligt EOS Policy POL-INFRA-001"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "A-INF-005",
|
||
|
|
"description": "Konfigurera ALB direkt",
|
||
|
|
"blocked": true,
|
||
|
|
"reason": "Förändring av produktionsinfrastruktur kräver godkänd Infrastructure-as-Code-process enligt EOS Policy POL-INFRA-001"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|