Created
July 20, 2021 17:49
-
-
Save djpate/bf3fff8585294aa34d7e6ec82309f0fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-06/schema#", | |
| "$ref": "#/definitions/ScanBatch", | |
| "definitions": { | |
| "ScanBatch": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "version": { | |
| "type": "string" | |
| }, | |
| "accountId": { | |
| "type": "integer" | |
| }, | |
| "source": { | |
| "$ref": "#/definitions/Source" | |
| }, | |
| "detectionRules": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "scanId": { | |
| "type": "string" | |
| }, | |
| "scanTime": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "scanStatus": { | |
| "type": "string" | |
| }, | |
| "errors": { | |
| "type": "array", | |
| "items": {} | |
| }, | |
| "users": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/User" | |
| } | |
| } | |
| }, | |
| "required": [ | |
| "accountId", | |
| "detectionRules", | |
| "errors", | |
| "scanId", | |
| "scanStatus", | |
| "scanTime", | |
| "source", | |
| "users", | |
| "version" | |
| ], | |
| "title": "ScanBatch" | |
| }, | |
| "Source": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "title": "Source" | |
| }, | |
| "User": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "userInfo": { | |
| "$ref": "#/definitions/UserInfo" | |
| }, | |
| "detections": { | |
| "$ref": "#/definitions/Detections" | |
| }, | |
| "metadata": { | |
| "$ref": "#/definitions/ADPWNOTREQDMetadata" | |
| } | |
| }, | |
| "required": [ | |
| "detections" | |
| ], | |
| "title": "User" | |
| }, | |
| "Detections": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "AD_PW_WEAK": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/AdPwWeak" | |
| } | |
| }, | |
| "AD_USER_USES_LM_HASH": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/Ad" | |
| } | |
| }, | |
| "AD_PW_NOT_REQD": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/AdPwNotReqd" | |
| } | |
| }, | |
| "AD_PW_SHARED": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/Ad" | |
| } | |
| } | |
| }, | |
| "required": [], | |
| "title": "Detections" | |
| }, | |
| "AdPwNotReqd": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "status": { | |
| "type": "string" | |
| }, | |
| "metadata": { | |
| "$ref": "#/definitions/ADPWNOTREQDMetadata" | |
| }, | |
| "error": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "status" | |
| ], | |
| "title": "AdPwNotReqd" | |
| }, | |
| "ADPWNOTREQDMetadata": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "email": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "email" | |
| ], | |
| "title": "ADPWNOTREQDMetadata" | |
| }, | |
| "Ad": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "status": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "status" | |
| ], | |
| "title": "Ad" | |
| }, | |
| "AdPwWeak": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "status": { | |
| "type": "string" | |
| }, | |
| "error": { | |
| "type": "string" | |
| }, | |
| "metadata": { | |
| "$ref": "#/definitions/ADPWWEAKMetadata" | |
| } | |
| }, | |
| "required": [ | |
| "metadata", | |
| "status" | |
| ], | |
| "title": "AdPwWeak" | |
| }, | |
| "ADPWWEAKMetadata": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "browser": { | |
| "type": "string" | |
| }, | |
| "domain": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "browser" | |
| ], | |
| "title": "ADPWWEAKMetadata" | |
| }, | |
| "UserInfo": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "email": { | |
| "type": "string" | |
| }, | |
| "upn": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "email", | |
| "upn" | |
| ], | |
| "title": "UserInfo" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment