changedOutput schema / properties / result / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "format": {
- "const": "summary",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "overallScore": {
- "type": "number"
- },
- "server": {
- "type": "string"
- },
- "skippedCategories": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "format",
- "server",
- "ip",
- "overallScore"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "baselineRegression": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "checks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category": {
- "type": "string"
- },
- "currentValue": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "expectedValue": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "passed": {
- "type": "boolean"
- },
- "severity": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "category",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "maxScore": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "score": {
- "type": "number"
- }
- },
- "required": [
- "name",
- "score",
- "maxScore"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "checks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category": {
- "type": "string"
- },
- "currentValue": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "expectedValue": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "passed": {
- "type": "boolean"
- },
- "severity": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "category",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "complianceDetail": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "controls": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "description",
- "status"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "framework": {
- "type": "string"
- },
- "passRate": {
- "type": "number"
- },
- "passedControls": {
- "type": "number"
- },
- "totalControls": {
- "type": "number"
- }
- },
- "required": [
- "framework",
- "passedControls",
- "totalControls",
- "passRate",
- "controls"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "format": {
- "const": "json",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "overallScore": {
- "type": "number"
- },
- "server": {
- "type": "string"
- },
- "skippedCategories": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "format",
- "server",
- "ip",
- "overallScore",
- "categories"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "format": {
- "const": "score",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "overallScore": {
- "type": "number"
- },
- "server": {
- "type": "string"
- }
- },
- "required": [
- "format",
- "server",
- "ip",
- "overallScore"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "format": {
+ "const": "summary",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "overallScore": {
+ "type": "number"
+ },
+ "server": {
+ "type": "string"
+ },
+ "skippedCategories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "format",
+ "server",
+ "ip",
+ "overallScore"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "baselineRegression": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "checks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "currentValue": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "expectedValue": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "passed": {
+ "type": "boolean"
+ },
+ "severity": {
+ "type": "string"
+ },
+ "skip": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "apiVersion": {
+ "const": "2",
+ "type": "string"
+ },
+ "code": {
+ "const": "legacy-mutating",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "mutate-local",
+ "mutate-global"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "apiVersion",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "apiVersion": {
+ "const": "3",
+ "type": "string"
+ },
+ "code": {
+ "const": "active-probe",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "apiVersion"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "category",
+ "severity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "maxScore": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "score",
+ "maxScore"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "checks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "currentValue": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "expectedValue": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "passed": {
+ "type": "boolean"
+ },
+ "severity": {
+ "type": "string"
+ },
+ "skip": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "apiVersion": {
+ "const": "2",
+ "type": "string"
+ },
+ "code": {
+ "const": "legacy-mutating",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "mutate-local",
+ "mutate-global"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "apiVersion",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "apiVersion": {
+ "const": "3",
+ "type": "string"
+ },
+ "code": {
+ "const": "active-probe",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "apiVersion"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "category",
+ "severity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "complianceDetail": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "controls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "description",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "framework": {
+ "type": "string"
+ },
+ "passRate": {
+ "type": "number"
+ },
+ "passedControls": {
+ "type": "number"
+ },
+ "totalControls": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "framework",
+ "passedControls",
+ "totalControls",
+ "passRate",
+ "controls"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "format": {
+ "const": "json",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "overallScore": {
+ "type": "number"
+ },
+ "quickWins": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "commands": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "currentScore": {
+ "type": "number"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "projectedScore": {
+ "type": "number"
+ },
+ "severity": {
+ "enum": [
+ "critical",
+ "warning",
+ "info"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "severity",
+ "commands",
+ "currentScore",
+ "projectedScore",
+ "description"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "server": {
+ "type": "string"
+ },
+ "skippedCategories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "format",
+ "server",
+ "ip",
+ "overallScore",
+ "categories"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "format": {
+ "const": "score",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "overallScore": {
+ "type": "number"
+ },
+ "server": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "format",
+ "server",
+ "ip",
+ "overallScore"
+ ],
+ "type": "object"
+ }
+]