changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "events": {
- "items": {
- "properties": {
- "confidence": {
- "type": [
- "number",
- "null"
- ]
- },
- "decision": {
- "type": "string"
- },
- "direction": {
- "type": [
- "string",
- "null"
- ]
- },
- "eventId": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "projectId": {
- "type": "string"
- },
- "provider": {
- "type": [
- "string",
- "null"
- ]
- },
- "surface": {
- "type": [
- "string",
- "null"
- ]
- },
- "threatTypes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "timestamp": {
- "type": [
- "string",
- "null"
- ]
- },
- "triageStatus": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "eventId",
- "decision",
- "threatTypes"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "hasMore": {
- "type": "boolean"
- },
- "kind": {
- "const": "events"
- },
- "organizationId": {
- "type": "string"
- },
- "returned": {
- "type": "integer"
- },
- "totalMatching": {
- "type": "integer"
- }
- },
- "required": [
- "kind",
- "events",
- "returned",
- "totalMatching"
- ],
- "type": "object"
- },
- {
- "properties": {
- "code": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "kind": {
- "const": "error"
- }
- },
- "required": [
- "kind",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "events": {
+ "items": {
+ "properties": {
+ "confidence": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "decision": {
+ "type": "string"
+ },
+ "direction": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "eventId": {
+ "type": "string"
+ },
+ "findings": {
+ "items": {
+ "properties": {
+ "rule": {
+ "properties": {
+ "detector": {
+ "type": "string"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "suppressible": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "detector",
+ "id",
+ "suppressible"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "projectId": {
+ "type": "string"
+ },
+ "provider": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "surface": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "threatTypes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "timestamp": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "triageStatus": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "eventId",
+ "decision",
+ "threatTypes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hasMore": {
+ "type": "boolean"
+ },
+ "kind": {
+ "const": "events"
+ },
+ "organizationId": {
+ "type": "string"
+ },
+ "returned": {
+ "type": "integer"
+ },
+ "totalMatching": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "kind",
+ "events",
+ "returned",
+ "totalMatching"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "kind",
+ "error"
+ ],
+ "type": "object"
+ }
+]