changedOutput schema / properties / result / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "secure-setup",
- "type": "string"
- },
- "fail2ban": {
- "type": "boolean"
- },
- "hint": {
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "sshHardening": {
- "type": "boolean"
- },
- "sshKeyCount": {
- "type": "number"
- },
- "success": {
- "type": "boolean"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "success",
- "server",
- "ip",
- "message",
- "sshHardening",
- "fail2ban",
- "sshKeyCount",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "secure-audit",
- "type": "string"
- },
- "checks": {
- "additionalProperties": false,
- "properties": {
- "fail2ban": {
- "type": "boolean"
- },
- "passwordAuth": {
- "type": "boolean"
- },
- "rootLogin": {
- "type": "boolean"
- },
- "sshPort": {
- "type": "boolean"
- }
- },
- "required": [
- "passwordAuth",
- "rootLogin",
- "fail2ban",
- "sshPort"
- ],
- "type": "object"
- },
- "ip": {
- "type": "string"
- },
- "maxScore": {
- "type": "number"
- },
- "score": {
- "type": "number"
- },
- "server": {
- "type": "string"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "server",
- "ip",
- "score",
- "maxScore",
- "checks",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "firewall-setup",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "success",
- "server",
- "ip",
- "message",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "firewall-add",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "success",
- "server",
- "ip",
- "message",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "firewall-remove",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "warning": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "success",
- "server",
- "ip",
- "message",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "firewall-status",
- "type": "string"
- },
- "active": {
- "type": "boolean"
- },
- "ip": {
- "type": "string"
- },
- "ruleCount": {
- "type": "number"
- },
- "rules": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "server": {
- "type": "string"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "server",
- "ip",
- "active",
- "rules",
- "ruleCount",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "domain-set",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "success",
- "server",
- "ip",
- "message",
- "url",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "domain-remove",
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "success",
- "server",
- "ip",
- "message",
- "url",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "domain-check",
- "type": "string"
- },
- "domain": {
- "type": "string"
- },
- "hint": {
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "match": {
- "type": "boolean"
- },
- "resolvedIp": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "server",
- "ip",
- "domain",
- "resolvedIp",
- "match",
- "suggested_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "domain-info",
- "type": "string"
- },
- "fqdn": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "ip": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "server": {
- "type": "string"
- },
- "suggested_actions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "command": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "command",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "action",
- "server",
- "ip",
- "fqdn",
- "message",
- "suggested_actions"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "secure-setup",
+ "type": "string"
+ },
+ "fail2ban": {
+ "type": "boolean"
+ },
+ "hint": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "sshHardening": {
+ "type": "boolean"
+ },
+ "sshKeyCount": {
+ "type": "number"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "message",
+ "sshHardening",
+ "fail2ban",
+ "sshKeyCount",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "audit",
+ "type": "string"
+ },
+ "checks": {
+ "additionalProperties": false,
+ "properties": {
+ "fail2ban": {
+ "type": "boolean"
+ },
+ "passwordAuth": {
+ "type": "boolean"
+ },
+ "rootLogin": {
+ "type": "boolean"
+ },
+ "sshPort": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "passwordAuth",
+ "rootLogin",
+ "fail2ban",
+ "sshPort"
+ ],
+ "type": "object"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "maxScore": {
+ "type": "number"
+ },
+ "score": {
+ "type": "number"
+ },
+ "server": {
+ "type": "string"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "ip",
+ "score",
+ "maxScore",
+ "checks",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "secure-audit",
+ "type": "string"
+ },
+ "checks": {
+ "additionalProperties": false,
+ "properties": {
+ "fail2ban": {
+ "type": "boolean"
+ },
+ "passwordAuth": {
+ "type": "boolean"
+ },
+ "rootLogin": {
+ "type": "boolean"
+ },
+ "sshPort": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "passwordAuth",
+ "rootLogin",
+ "fail2ban",
+ "sshPort"
+ ],
+ "type": "object"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "maxScore": {
+ "type": "number"
+ },
+ "score": {
+ "type": "number"
+ },
+ "server": {
+ "type": "string"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "ip",
+ "score",
+ "maxScore",
+ "checks",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "firewall-setup",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "message",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "firewall-add",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "message",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "firewall-remove",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "warning": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "message",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "firewall-status",
+ "type": "string"
+ },
+ "active": {
+ "type": "boolean"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "ruleCount": {
+ "type": "number"
+ },
+ "rules": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "from": {
+ "type": "string"
+ },
+ "port": {
+ "type": "string"
+ },
+ "proto": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "port",
+ "proto",
+ "action",
+ "from"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "server": {
+ "type": "string"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "ip",
+ "active",
+ "rules",
+ "ruleCount",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "domain-set",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "message",
+ "url",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "domain-remove",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "message",
+ "url",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "domain-check",
+ "type": "string"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "hint": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "match": {
+ "type": "boolean"
+ },
+ "resolvedIp": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "ip",
+ "domain",
+ "resolvedIp",
+ "match",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "domain-info",
+ "type": "string"
+ },
+ "fqdn": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "ip",
+ "fqdn",
+ "message",
+ "suggested_actions"
+ ],
+ "type": "object"
+ }
+]