From d65292c001169f9e081da74f317bb055e33ebb90 Mon Sep 17 00:00:00 2001 From: Brian Zak Date: Thu, 9 Mar 2023 21:08:09 -0700 Subject: [PATCH 01/14] Added new version that include data connector api. --- .../preview/2023-03-01-preview/easm.json | 5736 +++++++++++++++++ .../examples/Assets_Get.json | 1038 +++ .../examples/Assets_List.json | 3905 +++++++++++ .../examples/Assets_Update.json | 29 + .../examples/DataConnections_Get.json | 23 + .../examples/DataConnections_List.json | 43 + .../examples/DataConnections_Put.json | 28 + .../examples/DataConnections_Remove.json | 12 + .../examples/DataConnections_Validate.json | 21 + .../examples/DiscoveryGroups_Delete.json | 12 + .../examples/DiscoveryGroups_Get.json | 34 + .../examples/DiscoveryGroups_List.json | 76 + .../examples/DiscoveryGroups_ListRuns.json | 54 + .../examples/DiscoveryGroups_Put.json | 41 + .../examples/DiscoveryGroups_Run.json | 12 + .../examples/DiscoveryGroups_Validate.json | 27 + .../examples/DiscoveryTemplates_Get.json | 41 + .../examples/DiscoveryTemplates_List.json | 35 + .../examples/Reports_Billable.json | 593 ++ .../examples/Reports_Snapshot.json | 1140 ++++ .../examples/Reports_Summary_Assets.json | 62 + .../Reports_Summary_Assets_GroupBy.json | 121 + ...orts_Summary_Assets_GroupBy_SegmentBy.json | 232 + .../Reports_Summary_MetricCategories.json | 193 + .../examples/Reports_Summary_Metrics.json | 36 + .../examples/SavedFilters_Delete.json | 12 + .../examples/SavedFilters_Get.json | 20 + .../examples/SavedFilters_List.json | 38 + .../examples/SavedFilters_Put.json | 24 + .../examples/Tasks_Cancel.json | 22 + .../examples/Tasks_Get.json | 22 + .../examples/Tasks_List.json | 42 + 32 files changed, 13724 insertions(+) create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json new file mode 100644 index 000000000000..396901aed895 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -0,0 +1,5736 @@ +{ + "swagger": "2.0", + "info": { + "description": "Defender EASM discovers and maps your digital attack surface to provide an \"outside-in\" perspective using probes to discover assets. The assets are provided with detailed metadata associated, including vulnerabilities, configurations and web components, allowing customers to view and prioritize external risk. The EASM REST API enables you to develop clients that integrate with your application.", + "title": "Defender EASM", + "version": "2022-11-01-preview" + }, + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}", + "parameters": [ + { + "$ref": "#/parameters/EndpointParameter" + } + ], + "useSchemePrefix": true + }, + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/assets": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/OrderByParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/MarkParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Assets" + ], + "operationId": "Assets_List", + "summary": "Retrieve a list of assets for the provided search parameters.", + "x-ms-examples": { + "Assets": { + "$ref": "./examples/Assets_List.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + }, + "post": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TaskResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Assets" + ], + "operationId": "Assets_Update", + "summary": "Update labels on assets matching the provided filter.", + "x-ms-examples": { + "Assets": { + "$ref": "./examples/Assets_Update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/assets/{assetId}": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/AssetIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssetResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Assets" + ], + "operationId": "Assets_Get", + "summary": "Retrieve an asset by assetId.", + "x-ms-examples": { + "Assets": { + "$ref": "./examples/Assets_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataConnectionPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Data Connections" + ], + "operationId": "DataConnections_List", + "summary": "Retrieve a list of data connections.", + "x-ms-examples": { + "DataConnections": { + "$ref": "./examples/DataConnections_List.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections/{dataConnectionName}": { + "delete": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataConnectionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Data Connections" + ], + "operationId": "DataConnections_Delete", + "summary": "Delete a data connection with a given dataConnectionName.", + "x-ms-examples": { + "DataConnections": { + "$ref": "./examples/DataConnections_Delete.json" + } + } + }, + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataConnectionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataConnectionResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Data Connections" + ], + "operationId": "DataConnections_Get", + "summary": "Retrieve a data connection with a given dataConnectionName.", + "x-ms-examples": { + "DataConnections": { + "$ref": "./examples/DataConnections_Get.json" + } + } + }, + "put": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataConnectionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataConnectionRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataConnectionResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Data Connections" + ], + "operationId": "DataConnections_Put", + "summary": "Create or update a data connection with a given dataConnectionName.", + "x-ms-examples": { + "DataConnections": { + "$ref": "./examples/DataConnections_Put.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections/{dataConnectionName}:validate": { + "post": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataConnectionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataConnectionRequest" + } + } + ], + "responses": { + "200": { + "description": "If validation succeeds, an empty response object will be returned. If validation fails, the response object will by populated with the 'errors' property containing the details for each individual validation failure.", + "schema": { + "$ref": "#/definitions/ValidateResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Data Connections" + ], + "operationId": "DataConnections_Validate", + "summary": "Validate a data connection with a given dataConnectionName.", + "x-ms-examples": { + "DataConnections": { + "$ref": "./examples/DataConnections_Validate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DiscoGroupPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Groups" + ], + "operationId": "DiscoveryGroups_List", + "summary": "Retrieve a list of discovery group for the provided search parameters.", + "x-ms-examples": { + "DiscoveryGroups": { + "$ref": "./examples/DiscoveryGroups_List.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DiscoGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DiscoGroupResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Groups" + ], + "operationId": "DiscoveryGroups_Get", + "summary": "Retrieve a discovery group with a given groupName.", + "x-ms-examples": { + "DiscoveryGroups": { + "$ref": "./examples/DiscoveryGroups_Get.json" + } + } + }, + "put": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DiscoGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DiscoGroupRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DiscoGroupResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Groups" + ], + "operationId": "DiscoveryGroups_Put", + "summary": "Create a discovery group with a given groupName.", + "x-ms-examples": { + "DiscoveryGroups": { + "$ref": "./examples/DiscoveryGroups_Put.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}/runs": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DiscoGroupNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DiscoRunPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Groups" + ], + "operationId": "DiscoveryGroups_ListRuns", + "summary": "Retrieve a collection of discovery run results for a discovery group with a given groupName.", + "x-ms-examples": { + "DiscoveryGroups": { + "$ref": "./examples/DiscoveryGroups_ListRuns.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}:run": { + "post": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DiscoGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Groups" + ], + "operationId": "DiscoveryGroups_Run", + "summary": "Run a discovery group with a given groupName.", + "x-ms-examples": { + "DiscoveryGroups": { + "$ref": "./examples/DiscoveryGroups_Run.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}:validate": { + "post": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DiscoGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DiscoGroupRequest" + } + } + ], + "responses": { + "200": { + "description": "If validation succeeds, an empty response object will be returned. If validation fails, the response object will by populated with the 'errors' property containing the details for each individual validation failure.", + "schema": { + "$ref": "#/definitions/ValidateResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Groups" + ], + "operationId": "DiscoveryGroups_Validate", + "summary": "Validate a discovery group with a given groupName.", + "x-ms-examples": { + "DiscoveryGroups": { + "$ref": "./examples/DiscoveryGroups_Validate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoTemplates": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DiscoTemplatePageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Templates" + ], + "operationId": "DiscoveryTemplates_List", + "summary": "Retrieve a list of disco templates for the provided search parameters.", + "x-ms-examples": { + "DiscoveryTemplates": { + "$ref": "./examples/DiscoveryTemplates_List.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoTemplates/{templateId}": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DiscoTemplateIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DiscoTemplateResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Discovery Templates" + ], + "operationId": "DiscoveryTemplates_Get", + "summary": "Retrieve a disco template with a given templateId.", + "x-ms-examples": { + "DiscoveryTemplates": { + "$ref": "./examples/DiscoveryTemplates_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/reports/assets:getBillable": { + "post": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ReportBillableAssetSummaryResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Reports" + ], + "operationId": "Reports_Billable", + "summary": "Get billable assets summary for the workspace.", + "x-ms-examples": { + "Reports": { + "$ref": "./examples/Reports_Billable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/reports/assets:getSnapshot": { + "post": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReportAssetSnapshotRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ReportAssetSnapshotResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Reports" + ], + "operationId": "Reports_Snapshot", + "summary": "Get the most recent snapshot of asset summary values for the snapshot request.", + "x-ms-examples": { + "Reports": { + "$ref": "./examples/Reports_Snapshot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/reports/assets:getSummary": { + "post": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReportAssetSummaryRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ReportAssetSummaryResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Reports" + ], + "operationId": "Reports_Summary", + "summary": "Get asset summary details for the summary request.", + "x-ms-examples": { + "Retrieve asset counts for all metrics associated with metric categories": { + "$ref": "./examples/Reports_Summary_MetricCategories.json" + }, + "Retrieve asset counts for metrics": { + "$ref": "./examples/Reports_Summary_Metrics.json" + }, + "Retrieve asset counts for the provided filters": { + "$ref": "./examples/Reports_Summary_Assets.json" + }, + "Retrieve asset counts for the provided filters split by groupBy field": { + "$ref": "./examples/Reports_Summary_Assets_GroupBy.json" + }, + "Retrieve asset counts for the provided filters split by groupBy field and segmentBy field": { + "$ref": "./examples/Reports_Summary_Assets_GroupBy_SegmentBy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SavedFilterPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Saved Filters" + ], + "operationId": "SavedFilters_List", + "summary": "Retrieve a list of saved filters for the provided search parameters.", + "x-ms-examples": { + "SavedFilters": { + "$ref": "./examples/SavedFilters_List.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters/{filterName}": { + "delete": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/SavedFilterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Saved Filters" + ], + "operationId": "SavedFilters_Delete", + "summary": "Delete a saved filter with a given filterName.", + "x-ms-examples": { + "SavedFilters": { + "$ref": "./examples/SavedFilters_Delete.json" + } + } + }, + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/SavedFilterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SavedFilterResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Saved Filters" + ], + "operationId": "SavedFilters_Get", + "summary": "Retrieve a saved filter by filterName.", + "x-ms-examples": { + "SavedFilters": { + "$ref": "./examples/SavedFilters_Get.json" + } + } + }, + "put": { + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/SavedFilterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SavedFilterRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SavedFilterResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Saved Filters" + ], + "operationId": "SavedFilters_Put", + "summary": "Create or update a saved filter with a given filterName.", + "x-ms-examples": { + "SavedFilters": { + "$ref": "./examples/SavedFilters_Put.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/tasks": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TaskPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Tasks" + ], + "operationId": "Tasks_List", + "summary": "Retrieve a list of tasks for the provided search parameters.", + "x-ms-examples": { + "Tasks": { + "$ref": "./examples/Tasks_List.json" + } + }, + "x-ms-pageable": { + "itemName": "content", + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/tasks/{taskId}": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/TaskIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TaskResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Tasks" + ], + "operationId": "Tasks_Get", + "summary": "Retrieve a task by taskId.", + "x-ms-examples": { + "Tasks": { + "$ref": "./examples/Tasks_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/tasks/{taskId}:cancel": { + "post": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/TaskIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TaskResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Tasks" + ], + "operationId": "Tasks_Cancel", + "summary": "Cancel a task by taskId.", + "x-ms-examples": { + "Tasks": { + "$ref": "./examples/Tasks_Cancel.json" + } + } + } + } + }, + "definitions": { + "AlexaInfo": { + "properties": { + "alexaRank": { + "format": "int64", + "type": "integer" + }, + "category": { + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + } + }, + "type": "object" + }, + "AsAsset": { + "properties": { + "adminContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "asNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "asn": { + "format": "int64", + "type": "integer" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "countries": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "detailedFromWhoisAt": { + "format": "date-time", + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "orgIds": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "orgNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrarCreatedAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "registrarNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrarUpdatedAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "registries": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "technicalContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + } + }, + "type": "object" + }, + "AssetPageResponse": { + "description": "The page of assets that match the provided metric.", + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/AssetResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "mark": { + "description": "The cursor mark to be used on the next request. Not set if using paging.", + "type": "string" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested. Set to -1 if using a cursor.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AssetResponse": { + "description": "The items in the current page of results.", + "properties": { + "auditTrail": { + "description": "The history of how this asset was pulled into the workspace through the discovery process.", + "items": { + "$ref": "#/definitions/AuditTrailItem" + }, + "type": "array" + }, + "createdDate": { + "description": "The date this asset was first added to this workspace.", + "format": "date-time", + "type": "string" + }, + "discoGroupName": { + "description": "The name of the DiscoveryGroup that brought added this asset to the workspace.", + "type": "string" + }, + "displayName": { + "description": "The name that can be used for display purposes.", + "type": "string" + }, + "externalId": { + "description": "An optional customer provided identifier for this asset.", + "type": "string" + }, + "id": { + "description": "The system generated unique id for the resource.", + "type": "string" + }, + "kind": { + "description": "The kind of asset.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "AssetResponseKind" + } + }, + "labels": { + "description": "Customer labels assigned to this asset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "The caller provided unique name for the resource.", + "type": "string" + }, + "reason": { + "type": "string" + }, + "state": { + "enum": [ + "candidate", + "confirmed", + "dismissed", + "candidateInvestigate", + "associatedPartner", + "associatedThirdparty", + "archived" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "AssetResponseState" + } + }, + "updatedDate": { + "description": "The date this asset was last updated for this workspace.", + "format": "date-time", + "type": "string" + }, + "uuid": { + "description": "Global UUID for the asset.", + "format": "uuid", + "type": "string" + }, + "wildcard": { + "description": "An indicator of whether this asset represents a wildcard rollup of assets on this domain.", + "type": "boolean" + } + }, + "type": "object", + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "AssetSecurityPolicy": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "description": { + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "isAffected": { + "type": "boolean" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "policyName": { + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + } + }, + "type": "object" + }, + "AssetSummaryResponse": { + "description": "The collection of asset summaries.", + "properties": { + "children": { + "description": "The corresponding child entities. For metric categories this will contain metrics. For filters with groupBy and segmentBy this will contain facets.", + "items": { + "$ref": "#/definitions/AssetSummaryResponse" + }, + "type": "array" + }, + "count": { + "description": "The count of assets matching the request parameters.", + "format": "int64", + "type": "integer" + }, + "description": { + "description": "The description of the summary response. Filters don't have a description.", + "type": "string" + }, + "displayName": { + "description": "The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric.", + "type": "string" + }, + "filter": { + "description": "If the request is for an asset filter, this will contain the corresponding filter.", + "type": "string" + }, + "labelName": { + "description": "An optional label used to filter requests results.", + "type": "string" + }, + "link": { + "description": "The link to the corresponding asset details.", + "type": "string" + }, + "metric": { + "description": "If the request is for a metric, this will contain the requested unique metric name.", + "type": "string" + }, + "metricCategory": { + "description": "If the request is for a metric category, this will contain the requested unique category name.", + "type": "string" + }, + "updatedAt": { + "description": "The last time risk categories or risk metrics were captured. Set to the current time for asset filter requests, which always pull the live asset data.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "AssetUpdateRequest": { + "description": "A request body used to update an asset.", + "properties": { + "externalId": { + "description": "A string which can be used to identify the asset in external systems.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "boolean" + }, + "description": "Any Labels to update the asset with.", + "type": "object" + }, + "state": { + "description": "The state to update the asset to.", + "enum": [ + "candidate", + "confirmed", + "dismissed", + "candidateInvestigate", + "associatedPartner", + "associatedThirdparty" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "AssetUpdateRequestState" + } + }, + "transfers": { + "description": "A list of asset types to cascade the updates to.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "AssetUpdateRequestTransfers" + } + } + }, + "type": "object" + }, + "Attribute": { + "properties": { + "attributeType": { + "type": "string" + }, + "attributeValue": { + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + } + }, + "type": "object" + }, + "AuditTrailItem": { + "description": "The history of how this asset was pulled into the workspace through the discovery process.", + "properties": { + "displayName": { + "description": "The name that can be used for display purposes.", + "type": "string" + }, + "id": { + "description": "The system generated unique id for the resource.", + "type": "string" + }, + "kind": { + "description": "The kind of asset.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "AuditTrailItemKind" + } + }, + "name": { + "description": "The caller provided unique name for the resource.", + "type": "string" + }, + "reason": { + "description": "An explanation of why this audit trail node was discovered from the previous node.", + "type": "string" + } + }, + "type": "object" + }, + "Banner": { + "properties": { + "banner": { + "type": "string" + }, + "bannerMetadata": { + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "recent": { + "type": "boolean" + }, + "scanType": { + "type": "string" + }, + "sha256": { + "type": "string" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + } + }, + "type": "object" + }, + "CVSS3Summary": { + "properties": { + "attackComplexity": { + "type": "string" + }, + "attackVector": { + "type": "string" + }, + "availabilityImpact": { + "type": "string" + }, + "baseScore": { + "format": "float", + "type": "number" + }, + "baseSeverity": { + "type": "string" + }, + "confidentialityImpact": { + "type": "string" + }, + "exploitCodeMaturity": { + "type": "string" + }, + "exploitabilityScore": { + "format": "float", + "type": "number" + }, + "impactScore": { + "format": "float", + "type": "number" + }, + "integrityImpact": { + "type": "string" + }, + "privilegesRequired": { + "type": "string" + }, + "remediationLevel": { + "type": "string" + }, + "reportConfidence": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "userInteraction": { + "type": "string" + }, + "vectorString": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "ContactAsset": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "email": { + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "names": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "organizations": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + } + }, + "type": "object" + }, + "Cookie": { + "properties": { + "cookieDomain": { + "type": "string" + }, + "cookieExpiryDate": { + "format": "date-time", + "type": "string" + }, + "cookieName": { + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + } + }, + "type": "object" + }, + "Cve": { + "properties": { + "cvss3Summary": { + "$ref": "#/definitions/CVSS3Summary" + }, + "cvssScore": { + "format": "float", + "type": "number" + }, + "cweId": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "DataConnectionPageResponse": { + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DataConnectionResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DataConnectionRequest": { + "properties": { + "connectionString": { + "description": "The connection string for the data connection.", + "type": "string" + }, + "content": { + "description": "The type of data the data connection will transfer.", + "enum": [ + "assets", + "asi" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionRequestContent" + } + }, + "frequency": { + "description": "The rate at which the data connection will receive updates.", + "enum": [ + "daily", + "weekly", + "monthly" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionRequestFrequency" + } + }, + "kind": { + "description": "The kind of data connection.", + "enum": [ + "logAnalytics", + "azureDataExplorer" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionRequestKind" + } + }, + "offset": { + "description": "The day to update the data connection on. (1-7 for weekly, 1-31 for monthly)", + "format": "int32", + "type": "integer" + }, + "options": { + "description": "Any connection specific options.", + "type": "string" + } + }, + "type": "object" + }, + "DataConnectionResponse": { + "properties": { + "active": { + "description": "An indicator of whether the data connection is active.", + "type": "boolean" + }, + "connectionString": { + "description": "The connection string for the data connection.", + "type": "string" + }, + "content": { + "description": "The type of data the data connection will transfer", + "enum": [ + "assets", + "asi" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionResponseContent" + } + }, + "createdDate": { + "description": "The date the data connection was created.", + "format": "date-time", + "type": "string" + }, + "displayName": { + "description": "The name that can be used for display purposes.", + "type": "string" + }, + "frequency": { + "description": "The rate at which the data connection will receive updates.", + "enum": [ + "daily", + "weekly", + "monthly" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionResponseFrequency" + } + }, + "id": { + "description": "The system generated unique id for the resource.", + "type": "string" + }, + "inactiveMessage": { + "description": "A message that specifies details about data connection if inactive.", + "type": "string" + }, + "kind": { + "description": "The kind of data connection.", + "enum": [ + "logAnalytics", + "azureDataExplorer" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionResponseKind" + } + }, + "name": { + "description": "The caller provided unique name for the resource.", + "type": "string" + }, + "offset": { + "description": "The day to update the data connection on.", + "format": "int32", + "type": "integer" + }, + "options": { + "description": "Any connection specific options.", + "type": "string" + }, + "updatedDate": { + "description": "The date the data connection was last updated.", + "format": "date-time", + "type": "string" + }, + "userUpdatedAt": { + "description": "The date the data connection was last updated by user.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "DependentResource": { + "properties": { + "host": { + "type": "string" + }, + "cached": { + "type": "boolean" + }, + "contentType": { + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "firstSeenCrawlGuid": { + "type": "string" + }, + "firstSeenPageGuid": { + "type": "string" + }, + "firstSeenResourceGuid": { + "type": "string" + }, + "lastObservedActualSriHash": { + "type": "string" + }, + "lastObservedExpectedSriHash": { + "type": "string" + }, + "lastObservedValidation": { + "format": "date-time", + "type": "string" + }, + "lastObservedViolation": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeenCrawlGuid": { + "type": "string" + }, + "lastSeenPageGuid": { + "type": "string" + }, + "lastSeenResourceGuid": { + "type": "string" + }, + "md5": { + "type": "string" + }, + "responseBodyMinhash": { + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "responseBodySize": { + "format": "int64", + "type": "integer" + }, + "sha256": { + "type": "string" + }, + "sha384": { + "type": "string" + }, + "sha512": { + "type": "string" + }, + "sriChecks": { + "items": { + "$ref": "#/definitions/SubResourceIntegrityCheck" + }, + "type": "array" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "DiscoGroupPageResponse": { + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoGroupResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DiscoGroupRequest": { + "description": "A request body used to create a discovery group.", + "properties": { + "description": { + "description": "The description for a disco group.", + "type": "string" + }, + "excludes": { + "description": "The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "frequencyMilliseconds": { + "description": "The frequency at which the disco group is supposed to be rerun in milliseconds.", + "format": "int64", + "type": "integer" + }, + "names": { + "description": "The list of names used for the disco group runs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "seeds": { + "description": "The list of seeds used for the disco group runs.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "templateId": { + "description": "The unique identifier for the disco template used for the disco group creation.", + "type": "string" + }, + "tier": { + "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group.", + "type": "string" + } + }, + "type": "object" + }, + "DiscoGroupResponse": { + "properties": { + "createdDate": { + "description": "The date for the disco group was created.", + "format": "date-time", + "type": "string" + }, + "description": { + "description": "The description for a disco group.", + "type": "string" + }, + "displayName": { + "description": "The name that can be used for display purposes.", + "type": "string" + }, + "excludes": { + "description": "The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "frequencyMilliseconds": { + "description": "The frequency at which the disco group is supposed to be rerun in milliseconds.", + "format": "int64", + "type": "integer" + }, + "id": { + "description": "The system generated unique id for the resource.", + "type": "string" + }, + "latestRun": { + "$ref": "#/definitions/DiscoRunResponse" + }, + "name": { + "description": "The caller provided unique name for the resource.", + "type": "string" + }, + "names": { + "description": "The list of names used for the disco group runs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "seeds": { + "description": "The list of seeds used for the disco group runs.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "templateId": { + "description": "The unique identifier for the disco template used for the disco group creation.", + "type": "string" + }, + "tier": { + "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group.", + "type": "string" + } + }, + "type": "object" + }, + "DiscoRunPageResponse": { + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoRunResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DiscoRunResponse": { + "description": "The latest run of this disco group with some limited information, null if the group has never been run.", + "properties": { + "completedDate": { + "description": "The date for when the disco run was completed by the system.", + "format": "date-time", + "type": "string" + }, + "excludes": { + "description": "The list of excludes used for the disco run, aka assets to exclude from the discovery algorithm.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "names": { + "description": "The list of names used for the disco run.", + "items": { + "type": "string" + }, + "type": "array" + }, + "seeds": { + "description": "The list of seeds used for the disco run.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "startedDate": { + "description": "The date for when the disco run was actually started by the system.", + "format": "date-time", + "type": "string" + }, + "state": { + "description": "The State of the disco run.", + "enum": [ + "pending", + "running", + "completed", + "failed" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DiscoRunResponseState" + } + }, + "submittedDate": { + "description": "The date for when the disco run was created in the system.", + "format": "date-time", + "type": "string" + }, + "tier": { + "description": "The tier which will affect the algorithm used for the disco run.", + "type": "string" + }, + "totalAssetsFoundCount": { + "description": "The total count of assets that were found this disco run.", + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "DiscoSource": { + "description": "Source entity used to drive discovery.", + "properties": { + "kind": { + "description": "The kind of disco source.", + "enum": [ + "as", + "attribute", + "contact", + "domain", + "host", + "ipBlock" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DiscoSourceKind" + } + }, + "name": { + "description": "The name for the disco source.", + "type": "string" + } + }, + "type": "object" + }, + "DiscoTemplatePageResponse": { + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoTemplateResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DiscoTemplateResponse": { + "description": "The items in the current page of results.", + "properties": { + "city": { + "description": "The name of the city.", + "type": "string" + }, + "countryCode": { + "description": "The country code.", + "type": "string" + }, + "displayName": { + "description": "The name that can be used for display purposes.", + "type": "string" + }, + "id": { + "description": "The system generated unique id for the resource.", + "type": "string" + }, + "industry": { + "description": "The name of the industry.", + "type": "string" + }, + "name": { + "description": "The caller provided unique name for the resource.", + "type": "string" + }, + "names": { + "description": "The list of disco template names.", + "items": { + "type": "string" + }, + "type": "array" + }, + "region": { + "description": "The name of the region.", + "type": "string" + }, + "seeds": { + "description": "The list of disco template seeds.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "type": "array" + }, + "stateCode": { + "description": "The state code.", + "type": "string" + } + }, + "type": "object" + }, + "DomainAsset": { + "properties": { + "adminContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "alexaInfos": { + "items": { + "$ref": "#/definitions/AlexaInfo" + }, + "type": "array" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "detailedFromWhoisAt": { + "format": "date-time", + "type": "string" + }, + "domain": { + "type": "string" + }, + "domainStatuses": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "mailServers": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "nameServers": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "parkedDomain": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "registrantContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrarCreatedAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "registrarExpiresAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "registrarIanaIds": { + "items": { + "$ref": "#/definitions/ObservedInteger" + }, + "type": "array" + }, + "registrarNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrarUpdatedAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "soaRecords": { + "items": { + "$ref": "#/definitions/SoaRecord" + }, + "type": "array" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "technicalContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "whoisId": { + "format": "int64", + "type": "integer" + }, + "whoisServers": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + } + }, + "type": "object" + }, + "ErrorDetail": { + "description": "This is the top-level error object whose code matches the x-ms-error-code response header.", + "properties": { + "code": { + "description": "This is one of a server-defined set of error codes.", + "type": "string" + }, + "details": { + "description": "This is an array of details about specific errors that led to this reported error.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "type": "array" + }, + "innererror": { + "$ref": "#/definitions/InnerError" + }, + "message": { + "description": "This is a human-readable representation of the error.", + "type": "string" + }, + "target": { + "description": "This is the error target.", + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "ErrorResponse": { + "properties": { + "error": { + "$ref": "#/definitions/ErrorDetail" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + "GuidPair": { + "properties": { + "crawlStateGuid": { + "type": "string" + }, + "loadDate": { + "format": "date-time", + "type": "string" + }, + "pageGuid": { + "type": "string" + }, + "recent": { + "type": "boolean" + } + }, + "type": "object" + }, + "HostAsset": { + "properties": { + "host": { + "type": "string" + }, + "asns": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "attributes": { + "items": { + "$ref": "#/definitions/Attribute" + }, + "type": "array" + }, + "banners": { + "items": { + "$ref": "#/definitions/Banner" + }, + "type": "array" + }, + "childHosts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "cnames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "cookies": { + "items": { + "$ref": "#/definitions/Cookie" + }, + "type": "array" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "domain": { + "type": "string" + }, + "domainAsset": { + "$ref": "#/definitions/DomainAsset" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "headers": { + "items": { + "$ref": "#/definitions/ObservedHeader" + }, + "type": "array" + }, + "hostCore": { + "$ref": "#/definitions/HostCore" + }, + "ipAddresses": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "ipBlocks": { + "items": { + "$ref": "#/definitions/IpBlock" + }, + "type": "array" + }, + "ipv4": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "ipv6": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "isWildcard": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "location": { + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "type": "array" + }, + "mxRecord": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "nsRecord": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "nxdomain": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "parentHosts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "resourceUrls": { + "items": { + "$ref": "#/definitions/ResourceUrl" + }, + "type": "array" + }, + "responseBodies": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "scanMetadata": { + "items": { + "$ref": "#/definitions/ScanMetadata" + }, + "type": "array" + }, + "services": { + "items": { + "$ref": "#/definitions/Service" + }, + "type": "array" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "sslCerts": { + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "type": "array" + }, + "sslServerConfig": { + "items": { + "$ref": "#/definitions/SslServerConfig" + }, + "type": "array" + }, + "webComponents": { + "items": { + "$ref": "#/definitions/WebComponent" + }, + "type": "array" + }, + "webserver": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + } + }, + "type": "object" + }, + "HostCore": { + "properties": { + "host": { + "type": "string" + }, + "alexaRank": { + "format": "int32", + "type": "integer" + }, + "blacklistCauseCount": { + "format": "int64", + "type": "integer" + }, + "blacklistCauseFirstSeen": { + "format": "date-time", + "type": "string" + }, + "blacklistCauseLastSeen": { + "format": "date-time", + "type": "string" + }, + "blacklistResourceCount": { + "format": "int64", + "type": "integer" + }, + "blacklistResourceFirstSeen": { + "format": "date-time", + "type": "string" + }, + "blacklistResourceLastSeen": { + "format": "date-time", + "type": "string" + }, + "blacklistSequenceCount": { + "format": "int64", + "type": "integer" + }, + "blacklistSequenceFirstSeen": { + "format": "date-time", + "type": "string" + }, + "blacklistSequenceLastSeen": { + "format": "date-time", + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "domain": { + "type": "string" + }, + "domainMalwareReputationScore": { + "format": "int32", + "type": "integer" + }, + "domainPhishReputationScore": { + "format": "int32", + "type": "integer" + }, + "domainReputationScore": { + "format": "int32", + "type": "integer" + }, + "domainScamReputationScore": { + "format": "int32", + "type": "integer" + }, + "domainSpamReputationScore": { + "format": "int32", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "hostMalwareReputationScore": { + "format": "int32", + "type": "integer" + }, + "hostPhishReputationScore": { + "format": "int32", + "type": "integer" + }, + "hostReputationScore": { + "format": "int32", + "type": "integer" + }, + "hostScamReputationScore": { + "format": "int32", + "type": "integer" + }, + "hostSpamReputationScore": { + "format": "int32", + "type": "integer" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "malwareCauseCount": { + "format": "int64", + "type": "integer" + }, + "malwareResourceCount": { + "format": "int64", + "type": "integer" + }, + "malwareSequenceCount": { + "format": "int64", + "type": "integer" + }, + "phishCauseCount": { + "format": "int64", + "type": "integer" + }, + "phishResourceCount": { + "format": "int64", + "type": "integer" + }, + "phishSequenceCount": { + "format": "int64", + "type": "integer" + }, + "scamCauseCount": { + "format": "int64", + "type": "integer" + }, + "scamResourceCount": { + "format": "int64", + "type": "integer" + }, + "scamSequenceCount": { + "format": "int64", + "type": "integer" + }, + "spamCauseCount": { + "format": "int64", + "type": "integer" + }, + "spamResourceCount": { + "format": "int64", + "type": "integer" + }, + "spamSequenceCount": { + "format": "int64", + "type": "integer" + }, + "uuid": { + "type": "string" + } + }, + "type": "object" + }, + "InnerError": { + "description": "This is an object containing more specific information than the current object about the error.", + "properties": { + "code": { + "description": "This is a more specific error code than was provided by the containing error.", + "type": "string" + }, + "value": { + "description": "This is an additional field representing the value that caused the error to help with debugging.", + "type": "object" + } + }, + "type": "object" + }, + "IpAddressAsset": { + "properties": { + "asns": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "attributes": { + "items": { + "$ref": "#/definitions/Attribute" + }, + "type": "array" + }, + "banners": { + "items": { + "$ref": "#/definitions/Banner" + }, + "type": "array" + }, + "cookies": { + "items": { + "$ref": "#/definitions/Cookie" + }, + "type": "array" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "headers": { + "items": { + "$ref": "#/definitions/ObservedHeader" + }, + "type": "array" + }, + "hosts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "ipAddress": { + "type": "string" + }, + "ipBlocks": { + "items": { + "$ref": "#/definitions/IpBlock" + }, + "type": "array" + }, + "ipv4": { + "type": "boolean" + }, + "ipv6": { + "type": "boolean" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "location": { + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "type": "array" + }, + "mxRecord": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "netRanges": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "nsRecord": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "nxdomain": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "reputations": { + "items": { + "$ref": "#/definitions/Reputation" + }, + "type": "array" + }, + "scanMetadata": { + "items": { + "$ref": "#/definitions/ScanMetadata" + }, + "type": "array" + }, + "services": { + "items": { + "$ref": "#/definitions/Service" + }, + "type": "array" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "sslCerts": { + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "type": "array" + }, + "sslServerConfig": { + "items": { + "$ref": "#/definitions/SslServerConfig" + }, + "type": "array" + }, + "webComponents": { + "items": { + "$ref": "#/definitions/WebComponent" + }, + "type": "array" + } + }, + "type": "object" + }, + "IpBlock": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "ipBlock": { + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + } + }, + "type": "object" + }, + "IpBlockAsset": { + "properties": { + "adminContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "adminPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "asns": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "bgpPrefixes": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "detailedFromWhoisAt": { + "format": "date-time", + "type": "string" + }, + "endIp": { + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "ipBlock": { + "type": "string" + }, + "ipv4": { + "type": "boolean" + }, + "ipv6": { + "type": "boolean" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "location": { + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "type": "array" + }, + "netNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "netRanges": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrantPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "registrarCreatedAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "registrarExpiresAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "registrarUpdatedAt": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "reputations": { + "items": { + "$ref": "#/definitions/Reputation" + }, + "type": "array" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "startIp": { + "type": "string" + }, + "technicalContacts": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalOrgs": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "technicalPhones": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "properties": { + "areaCode": { + "format": "int32", + "type": "integer" + }, + "city": { + "type": "string" + }, + "countryCode": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "dmaCode": { + "format": "int32", + "type": "integer" + }, + "latitude": { + "format": "float", + "type": "number" + }, + "longitude": { + "format": "float", + "type": "number" + }, + "metroCodeId": { + "format": "int32", + "type": "integer" + }, + "postalCode": { + "type": "string" + }, + "region": { + "type": "string" + }, + "regionName": { + "type": "string" + } + }, + "type": "object" + }, + "ObservedBoolean": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "value": { + "type": "boolean" + } + }, + "type": "object" + }, + "ObservedHeader": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "headerName": { + "type": "string" + }, + "headerValue": { + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + } + }, + "type": "object" + }, + "ObservedInteger": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "value": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ObservedIntegers": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "values": { + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + } + }, + "type": "object" + }, + "ObservedLocation": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "value": { + "$ref": "#/definitions/Location" + } + }, + "type": "object" + }, + "ObservedLong": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "value": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "ObservedPortState": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "recent": { + "type": "boolean" + }, + "value": { + "enum": [ + "open", + "closed", + "filtered" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ObservedPortStateValue" + } + } + }, + "type": "object" + }, + "ObservedString": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "PageAsset": { + "properties": { + "host": { + "type": "string" + }, + "asns": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "assetSecurityPolicies": { + "items": { + "$ref": "#/definitions/AssetSecurityPolicy" + }, + "type": "array" + }, + "attributes": { + "items": { + "$ref": "#/definitions/Attribute" + }, + "type": "array" + }, + "cause": { + "$ref": "#/definitions/PageCause" + }, + "cdns": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "charsets": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "cnames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "contentLengths": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "contentTypes": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "cookies": { + "items": { + "$ref": "#/definitions/Cookie" + }, + "type": "array" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "domain": { + "type": "string" + }, + "domainAsset": { + "$ref": "#/definitions/DomainAsset" + }, + "errors": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "finalAsns": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "finalIpAddresses": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "finalIpBlocks": { + "items": { + "$ref": "#/definitions/IpBlock" + }, + "type": "array" + }, + "finalResponseCodes": { + "items": { + "$ref": "#/definitions/ObservedInteger" + }, + "type": "array" + }, + "finalUrls": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "frames": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "fullDomMinhashSignatures": { + "items": { + "$ref": "#/definitions/ObservedIntegers" + }, + "type": "array" + }, + "gdprAssetSecurityPolicies": { + "items": { + "$ref": "#/definitions/AssetSecurityPolicy" + }, + "type": "array" + }, + "guids": { + "items": { + "$ref": "#/definitions/GuidPair" + }, + "type": "array" + }, + "httpMethod": { + "type": "string" + }, + "httpResponseCodes": { + "items": { + "$ref": "#/definitions/ObservedInteger" + }, + "type": "array" + }, + "httpResponseMessages": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "ipAddresses": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "ipBlocks": { + "items": { + "$ref": "#/definitions/IpBlock" + }, + "type": "array" + }, + "ipv4": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "ipv6": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "isRootUrl": { + "type": "boolean" + }, + "languages": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "location": { + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "type": "array" + }, + "nonHtmlFrames": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "parkedPage": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "redirectType": { + "enum": [ + "httpHeader", + "metaRefresh", + "javascript", + "final" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "PageAssetRedirectType" + } + }, + "redirectUrls": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "referrer": { + "type": "string" + }, + "resourceUrls": { + "items": { + "$ref": "#/definitions/ResourceUrl" + }, + "type": "array" + }, + "responseBodies": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "responseBodyHashSignatures": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "responseBodyMinhashSignatures": { + "items": { + "$ref": "#/definitions/ObservedIntegers" + }, + "type": "array" + }, + "responseHeaders": { + "items": { + "$ref": "#/definitions/ObservedHeader" + }, + "type": "array" + }, + "responseTimes": { + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "type": "array" + }, + "rootUrl": { + "$ref": "#/definitions/ObservedBoolean" + }, + "service": { + "type": "string" + }, + "services": { + "items": { + "$ref": "#/definitions/Service" + }, + "type": "array" + }, + "siteStatus": { + "type": "string" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "sslCerts": { + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "type": "array" + }, + "sslServerConfig": { + "items": { + "$ref": "#/definitions/SslServerConfig" + }, + "type": "array" + }, + "successful": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "titles": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "undirectedContent": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "webComponents": { + "items": { + "$ref": "#/definitions/WebComponent" + }, + "type": "array" + }, + "windowNames": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "windows": { + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "type": "array" + } + }, + "type": "object" + }, + "PageCause": { + "properties": { + "cause": { + "type": "string" + }, + "causeElementXPath": { + "type": "string" + }, + "domChangeIndex": { + "format": "int32", + "type": "integer" + }, + "location": { + "type": "string" + }, + "loopDetected": { + "type": "boolean" + }, + "possibleMatches": { + "format": "int32", + "type": "integer" + }, + "version": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "Port": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ReportAssetSnapshotRequest": { + "description": "A request body used to retrieve an asset report snapshot.", + "properties": { + "labelName": { + "description": "The name of the label to retrieve a snapshot for.", + "type": "string" + }, + "metric": { + "description": "The metric to retrieve a snapshot for.", + "type": "string" + }, + "page": { + "description": "The page to retrieve.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The number of assets per page.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ReportAssetSnapshotResponse": { + "description": "A snapshot of assets captured daily for the provided metric. Asset details only contain primary properties. Detailed asset data can be retrieved from the asset endpoints.", + "properties": { + "assets": { + "$ref": "#/definitions/AssetPageResponse" + }, + "description": { + "description": "A description of what the metric represents.", + "type": "string" + }, + "displayName": { + "description": "The name of the metric.", + "type": "string" + }, + "labelName": { + "description": "The customer label that was filtered on, if one was provided.", + "type": "string" + }, + "metric": { + "description": "The unique metric name.", + "type": "string" + }, + "updatedAt": { + "description": "The last time this asset data was updated on this metric.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "ReportAssetSummaryRequest": { + "description": "A request body used to retrieve summary asset information. One and only one collection of summary identifiers must be provided: filters, metrics, or metricCategories.", + "properties": { + "filters": { + "description": "Query filters to apply to the asset summary.", + "items": { + "type": "string" + }, + "type": "array" + }, + "groupBy": { + "description": "A parameter to group the assets by (first level facet field), only used when the chosen summary identifier is filters.", + "type": "string" + }, + "labelName": { + "description": "Currently unused.", + "type": "string" + }, + "metricCategories": { + "description": "Categories to retrieve risk reporting data for.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metrics": { + "description": "Metrics to retrieve risk reporting data for.", + "items": { + "type": "string" + }, + "type": "array" + }, + "segmentBy": { + "description": "A parameter to segment the assets by (second level facet field), only used when the chosen summary identifier is filters.", + "type": "string" + } + }, + "type": "object" + }, + "ReportAssetSummaryResponse": { + "properties": { + "assetSummaries": { + "description": "The collection of asset summaries.", + "items": { + "$ref": "#/definitions/AssetSummaryResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "ReportBillableAssetBreakdown": { + "description": "The breakdown of billable asset counts for each asset type.", + "properties": { + "count": { + "description": "The number of assets of this type.", + "format": "int64", + "type": "integer" + }, + "kind": { + "description": "The kind of billable asset.", + "enum": [ + "domain", + "host", + "ipAddress" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ReportBillableAssetBreakdownKind" + } + } + }, + "type": "object" + }, + "ReportBillableAssetSnapshotResponse": { + "properties": { + "assetBreakdown": { + "description": "The breakdown of billable asset counts for each asset type.", + "items": { + "$ref": "#/definitions/ReportBillableAssetBreakdown" + }, + "type": "array" + }, + "date": { + "description": "The date these assets were billed on.", + "format": "date", + "type": "string" + }, + "total": { + "description": "The total number of billable assets for this date.", + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "ReportBillableAssetSummaryResponse": { + "properties": { + "assetSummaries": { + "items": { + "$ref": "#/definitions/ReportBillableAssetSnapshotResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "Reputation": { + "properties": { + "cidr": { + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "listName": { + "type": "string" + }, + "listUpdatedAt": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "threatType": { + "type": "string" + }, + "trusted": { + "type": "boolean" + } + }, + "type": "object" + }, + "ResourceUrl": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "resources": { + "items": { + "$ref": "#/definitions/DependentResource" + }, + "type": "array" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "SavedFilterPageResponse": { + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/SavedFilterResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "SavedFilterRequest": { + "description": "A request body used to create a saved filter.", + "properties": { + "description": { + "description": "A human readable description of the saved filter.", + "type": "string" + }, + "filter": { + "description": "An expression on the resource type that selects the resources to be returned.", + "type": "string" + } + }, + "required": [ + "description", + "filter" + ], + "type": "object" + }, + "SavedFilterResponse": { + "properties": { + "description": { + "type": "string" + }, + "displayName": { + "description": "The name that can be used for display purposes.", + "type": "string" + }, + "filter": { + "type": "string" + }, + "id": { + "description": "The system generated unique id for the resource.", + "type": "string" + }, + "name": { + "description": "The caller provided unique name for the resource.", + "type": "string" + } + }, + "type": "object" + }, + "ScanMetadata": { + "properties": { + "bannerMetadata": { + "type": "string" + }, + "endScan": { + "format": "date-time", + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "startScan": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "Service": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "exceptions": { + "items": { + "$ref": "#/definitions/ObservedString" + }, + "type": "array" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "port": { + "format": "int32", + "type": "integer" + }, + "portStates": { + "items": { + "$ref": "#/definitions/ObservedPortState" + }, + "type": "array" + }, + "recent": { + "type": "boolean" + }, + "scheme": { + "type": "string" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "sslCerts": { + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "type": "array" + }, + "webComponents": { + "items": { + "$ref": "#/definitions/WebComponent" + }, + "type": "array" + } + }, + "type": "object" + }, + "SoaRecord": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "email": { + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "nameServer": { + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "serialNumber": { + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, + "Source": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "reason": { + "type": "string" + }, + "source": { + "type": "string" + } + }, + "type": "object" + }, + "SslCertAsset": { + "properties": { + "certificateAuthority": { + "type": "boolean" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "invalidAfter": { + "format": "date-time", + "type": "string" + }, + "invalidBefore": { + "format": "date-time", + "type": "string" + }, + "issuerAlternativeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerCommonNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerCountry": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerLocality": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerOrganizationalUnits": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerOrganizations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuerState": { + "items": { + "type": "string" + }, + "type": "array" + }, + "keyAlgorithm": { + "type": "string" + }, + "keySize": { + "format": "int32", + "type": "integer" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "organizationalUnits": { + "items": { + "type": "string" + }, + "type": "array" + }, + "organizations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "recent": { + "type": "boolean" + }, + "selfSigned": { + "type": "boolean" + }, + "serialNumber": { + "type": "string" + }, + "sha1": { + "type": "string" + }, + "sigAlgName": { + "type": "string" + }, + "sigAlgOid": { + "type": "string" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "subjectAlternativeNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "subjectCommonNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "subjectCountry": { + "items": { + "type": "string" + }, + "type": "array" + }, + "subjectLocality": { + "items": { + "type": "string" + }, + "type": "array" + }, + "subjectOrganizationalUnits": { + "items": { + "type": "string" + }, + "type": "array" + }, + "subjectOrganizations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "subjectState": { + "items": { + "type": "string" + }, + "type": "array" + }, + "validationType": { + "enum": [ + "domainValidation", + "organizationValidation", + "extendedValidation" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "SslCertAssetValidationType" + } + }, + "version": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "SslServerConfig": { + "properties": { + "cipherSuites": { + "items": { + "type": "string" + }, + "type": "array" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "tlsVersions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "SubResourceIntegrityCheck": { + "properties": { + "causePageUrl": { + "type": "string" + }, + "count": { + "format": "int64", + "type": "integer" + }, + "crawlGuid": { + "type": "string" + }, + "expectedHash": { + "type": "string" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "pageGuid": { + "type": "string" + }, + "resourceGuid": { + "type": "string" + }, + "violation": { + "type": "boolean" + } + }, + "type": "object" + }, + "TaskPageResponse": { + "properties": { + "content": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/TaskResponse" + }, + "type": "array" + }, + "first": { + "description": "Whether or not this is the first page of results.", + "type": "boolean" + }, + "last": { + "description": "Whether or not this is the last page of results.", + "type": "boolean" + }, + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "number": { + "description": "The page number requested.", + "format": "int32", + "type": "integer" + }, + "numberOfElements": { + "description": "The number of items in the current page of results.", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "The page size requested.", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "totalPages": { + "description": "The total number of pages available in the full result set.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "TaskResponse": { + "properties": { + "completedAt": { + "description": "The time the task completed.", + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The unique identifier of the task.", + "type": "string" + }, + "lastPolledAt": { + "description": "The last time the status of the task was updated.", + "format": "date-time", + "type": "string" + }, + "metadata": { + "additionalProperties": {}, + "description": "Attributes unique to the task. This differs by task type.", + "type": "object" + }, + "phase": { + "description": "The phase the task is in.", + "enum": [ + "running", + "polling", + "complete" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "TaskResponsePhase" + } + }, + "reason": { + "description": "The reason the task was moved into its current state, if the task wasn't completed.", + "type": "string" + }, + "startedAt": { + "description": "The time the task started.", + "format": "date-time", + "type": "string" + }, + "state": { + "description": "The state the task is in.", + "enum": [ + "pending", + "running", + "paused", + "complete", + "incomplete", + "failed", + "warning" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "TaskResponseState" + } + } + }, + "type": "object" + }, + "ValidateResponse": { + "properties": { + "error": { + "$ref": "#/definitions/ErrorDetail" + } + }, + "type": "object" + }, + "WebComponent": { + "properties": { + "count": { + "format": "int64", + "type": "integer" + }, + "cve": { + "items": { + "$ref": "#/definitions/Cve" + }, + "type": "array" + }, + "endOfLife": { + "format": "int64", + "type": "integer" + }, + "firstSeen": { + "format": "date-time", + "type": "string" + }, + "lastSeen": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/Port" + }, + "type": "array" + }, + "recent": { + "type": "boolean" + }, + "ruleId": { + "items": { + "type": "string" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "sources": { + "items": { + "$ref": "#/definitions/Source" + }, + "type": "array" + }, + "type": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "AsAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/AsAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "as" + }, + "ContactAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/ContactAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "contact" + }, + "DomainAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/DomainAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "domain" + }, + "HostAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/HostAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "host" + }, + "IpAddressAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/IpAddressAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "ipAddress" + }, + "IpBlockAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/IpBlockAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "ipBlock" + }, + "PageAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/PageAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "page" + }, + "SslCertAssetResponse": { + "required": [ + "asset" + ], + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/SslCertAsset" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AssetResponse" + } + ], + "x-ms-discriminator-value": "sslCert" + } + }, + "securityDefinitions": { + "azure_auth": { + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "tags": [ + { + "description": "Provides access to inventory assets.", + "name": "Assets" + }, + { + "description": "Provides access to data connection resources.", + "name": "Data Connections" + }, + { + "description": "Provides access to discovery resources.", + "name": "Discovery Groups" + }, + { + "description": "Provides access to disco template resources.", + "name": "Discovery Templates" + }, + { + "description": "Provides access to reporting data.", + "name": "Reports" + }, + { + "description": "Provides access to saved filter resources.", + "name": "Saved Filters" + }, + { + "description": "Provides access to task resources.", + "name": "Tasks" + } + ], + "parameters": { + "ApiVersionParameter": { + "description": "The API version to use for this operation.", + "in": "query", + "name": "api-version", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "AssetIdParameter": { + "description": "The unique identifier for the asset. Ids are formatted as '$$' and can optionally be Base64 encoded if they contain special characters.", + "in": "path", + "name": "assetId", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DataConnectionNameParameter": { + "description": "The unique identifier for the data connection.", + "in": "path", + "name": "dataConnectionName", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DiscoGroupNameParameter": { + "description": "The unique identifier for the discovery group.", + "in": "path", + "name": "groupName", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "DiscoTemplateIdParameter": { + "description": "The unique identifier for the disco template.", + "in": "path", + "name": "templateId", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "EndpointParameter": { + "name": "endpoint", + "description": "The endpoint hosting the requested resource. For example, {region}.easm.defender.microsoft.com.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "FilterParameter": { + "description": "An expression on the resource type that selects the resources to be returned.", + "in": "query", + "name": "filter", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "MarkParameter": { + "description": "Specify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response.", + "in": "query", + "name": "mark", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "MaxPageSizeParameter": { + "default": 20, + "description": "The maximum number of items to include in a single response.", + "format": "int32", + "in": "query", + "name": "maxpagesize", + "required": false, + "type": "integer", + "x-ms-parameter-location": "method" + }, + "OrderByParameter": { + "description": "A list of expressions that specify the order of the returned resources.", + "in": "query", + "name": "orderby", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "description": "The name of the Resource Group.", + "in": "path", + "name": "resourceGroupName", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "SavedFilterNameParameter": { + "description": "The unique identifier for the saved filter.", + "in": "path", + "name": "filterName", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SkipParameter": { + "default": 0, + "description": "An offset into the collection of the first item to be returned.", + "format": "int32", + "in": "query", + "name": "skip", + "required": false, + "type": "integer", + "x-ms-parameter-location": "method" + }, + "SubscriptionIdParameter": { + "description": "The ID of the target subscription.", + "in": "path", + "name": "subscriptionId", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "TaskIdParameter": { + "description": "The unique identifier for the task.", + "in": "path", + "name": "taskId", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "description": "The name of the Workspace.", + "in": "path", + "name": "workspaceName", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json new file mode 100644 index 000000000000..680bded50770 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json @@ -0,0 +1,1038 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "assetId": "aG9zdCQkY29udG9zby5jb20" + }, + "responses": { + "200": { + "body": { + "id": "host$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "contoso.com", + "domain": "contoso.com", + "ipAddresses": [ + { + "value": "10.199.146.85", + "firstSeen": "2022-12-09T06:01:35.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-06-24T05:01:12.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "10.212.81.71", + "firstSeen": "2018-06-13T18:06:10.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2020-07-23T05:20:23.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234 + } + ] + } + ], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "firstSeen": "2020-02-29T03:51:55.275+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "cve": [], + "recent": true, + "ports": [ + { + "port": 80, + "firstSeen": "2020-04-08T07:10:44.930+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "port": 443, + "firstSeen": "2020-04-07T17:59:19.283+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "sources": [ + { + "source": "crawls", + "firstSeen": "2020-08-06T20:21:27.703+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2020-08-06T02:28:33.236+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ] + } + ], + "headers": [ + { + "headerName": "Header Name", + "headerValue": "Header Value", + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T05:10:03.806+00:00", + "recent": true + } + ], + "attributes": [ + { + "attributeType": "address", + "attributeValue": "10.199.146.85", + "sources": [], + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "recent": true + }, + { + "attributeType": "address", + "attributeValue": "10.212.81.71", + "sources": [], + "firstSeen": "2019-05-19T08:50:37.874+00:00", + "lastSeen": "2020-07-23T02:27:41.191+00:00" + } + ], + "cookies": [ + { + "cookieName": "Cookie Name", + "cookieDomain": "contoso.com", + "firstSeen": "2018-12-06T09:03:51.282+00:00", + "lastSeen": "2018-12-06T09:03:51.282+00:00" + } + ], + "sslCerts": [ + { + "sha1": "dc4ef4faa2af9c9bb7da4a484ce1103ea982cbe5", + "subjectCommonNames": [ + "contoso.com" + ], + "organizations": [ + "Contoso" + ], + "organizationalUnits": [], + "issuerCommonNames": [ + "GeoTrust RSA CA 2018" + ], + "sigAlgName": "SHA256withRSA", + "invalidAfter": "2023-09-06T23:59:59.000+00:00", + "serialNumber": "63fd8684b6071ab0d1a16fbec9c9ad8", + "subjectAlternativeNames": [ + "contoso.com" + ], + "issuerAlternativeNames": [], + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "invalidBefore": "2022-08-15T00:00:00.000+00:00", + "keySize": 256, + "keyAlgorithm": "EC", + "subjectLocality": [ + "Washington" + ], + "subjectState": [], + "subjectCountry": [ + "US" + ], + "issuerLocality": [], + "issuerState": [], + "issuerCountry": [ + "US" + ], + "subjectOrganizations": [ + "Contoso" + ], + "subjectOrganizationalUnits": [], + "issuerOrganizations": [ + "Contoso" + ], + "issuerOrganizationalUnits": [ + "www.contoso.com" + ], + "version": 3, + "certificateAuthority": false, + "selfSigned": false, + "sigAlgOid": "1.2.840.113510.1.1.11", + "recent": true, + "validationType": "organizationValidation" + } + ], + "parentHosts": [ + { + "value": "contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "childHosts": [ + { + "value": "contoso.com", + "firstSeen": "2018-06-15T03:45:52.029+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "sources": [ + { + "source": "crawls", + "firstSeen": "2021-06-23T21:45:52.988+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2022-05-19T10:36:17.708+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "hostCore": { + "host": "contoso.com", + "domain": "contoso.com", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 1234 + }, + "services": [ + { + "scheme": "unknown", + "port": 443, + "webComponents": [], + "sslCerts": [], + "exceptions": [], + "sources": [ + { + "source": "crawl", + "firstSeen": "2021-10-18T16:29:34.483+00:00", + "lastSeen": "2022-11-25T13:09:45.279+00:00", + "count": 187 + }, + { + "source": "minicrawl", + "firstSeen": "2020-06-12T07:50:52.225+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 7243 + } + ], + "firstSeen": "2018-12-20T10:34:20.531+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "recent": true, + "portStates": [ + { + "value": "open", + "port": 443, + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 10767, + "recent": true + }, + { + "value": "filtered", + "port": 443, + "firstSeen": "2021-10-07T04:56:26.000+00:00", + "lastSeen": "2022-12-01T13:26:54.000+00:00", + "count": 357, + "recent": true + } + ] + } + ], + "cnames": [], + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 44685 + }, + { + "source": "crawl", + "firstSeen": "2021-01-13T21:50:56.756+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 1028 + }, + { + "source": "crawls", + "firstSeen": "2020-06-05T18:18:19.841+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 222063 + }, + { + "source": "scans", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 11126 + }, + { + "source": "minicrawl", + "firstSeen": "2018-10-08T20:50:45.955+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 15619 + }, + { + "source": "minicrawls", + "firstSeen": "2020-06-06T12:48:22.149+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 79669 + }, + { + "source": "hostaxis", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 13334 + }, + { + "source": "ssl", + "firstSeen": "2018-06-17T02:00:00.000+00:00", + "lastSeen": "2020-09-13T21:36:27.615+00:00", + "count": 261 + }, + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2019-11-11T22:31:12.000+00:00", + "count": 587 + } + ], + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 377246, + "resourceUrls": [], + "scanMetadata": [ + { + "port": 443, + "bannerMetadata": "crawl:https", + "startScan": "2022-12-12T10:41:07.061+00:00", + "endScan": "2022-12-12T10:41:07.061+00:00" + }, + { + "port": 443, + "bannerMetadata": "crawl:https:isRootUrl:true", + "startScan": "2022-12-04T16:58:29.722+00:00", + "endScan": "2022-12-04T16:58:29.722+00:00" + }, + { + "port": 443, + "bannerMetadata": "minicrawl:https", + "startScan": "2022-10-24T13:42:10.793+00:00", + "endScan": "2022-10-24T13:42:10.793+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http", + "startScan": "2022-10-13T15:11:16.120+00:00", + "endScan": "2022-10-13T15:11:16.120+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http:isRootUrl:true", + "startScan": "2022-11-20T10:18:21.618+00:00", + "endScan": "2022-11-20T10:18:21.618+00:00" + }, + { + "port": 80, + "bannerMetadata": "minicrawl:http", + "startScan": "2022-10-24T13:41:29.169+00:00", + "endScan": "2022-10-24T13:41:29.169+00:00" + } + ], + "asns": [ + { + "value": 64501, + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "crawl", + "firstSeen": "2022-12-09T11:10:56.425+00:00", + "lastSeen": "2022-12-09T11:10:56.425+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "ipBlocks": [ + { + "ipBlock": "10.199.144.0/21", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 48593 + } + ], + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "recent": true + }, + { + "ipBlock": "10.199.146.64/26", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00", + "count": 14 + } + ], + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00" + } + ], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "whoisId": 1234567890123456789, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "contoso.com", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32032 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "contoso.com", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32032 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.com", + "email": "contoso@contoso.com", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "nsRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "mxRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "webserver": [ + { + "value": true, + "firstSeen": "2018-12-17T15:37:10.672+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "sources": [ + { + "source": "10.199.146.85", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 19727 + } + ], + "recent": true + } + ], + "location": [ + { + "value": { + "countryCode": "US", + "countryName": "United States", + "region": "WA", + "regionName": "Washington", + "latitude": 47.6034, + "longitude": -122.3414 + }, + "firstSeen": "2021-03-22T00:08:22.000+00:00", + "lastSeen": "2022-07-05T01:50:17.000+00:00", + "sources": [] + } + ], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [ + { + "value": true, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ], + "ipv6": [ + { + "value": false, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json new file mode 100644 index 000000000000..f076181000d4 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json @@ -0,0 +1,3905 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filter": "state%20%3D%20%22confirmed%22", + "skip": 0, + "maxpagesize": 5 + }, + "responses": { + "200": { + "body": { + "totalElements": 50000, + "totalPages": 10000, + "last": false, + "numberOfElements": 5, + "first": true, + "size": 5, + "number": 0, + "content": [ + { + "id": "host$$contoso.net", + "name": "contoso.net", + "displayName": "contoso.net", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "contoso.net", + "domain": "contoso.net", + "ipAddresses": [ + { + "value": "10.199.146.85", + "firstSeen": "2022-12-09T06:01:35.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-06-24T05:01:12.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "10.212.81.71", + "firstSeen": "2018-06-13T18:06:10.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2020-07-23T05:20:23.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234 + } + ] + } + ], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "firstSeen": "2020-02-29T03:51:55.275+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "cve": [], + "recent": true, + "ports": [ + { + "port": 80, + "firstSeen": "2020-04-08T07:10:44.930+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "port": 443, + "firstSeen": "2020-04-07T17:59:19.283+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "sources": [ + { + "source": "crawls", + "firstSeen": "2020-08-06T20:21:27.703+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2020-08-06T02:28:33.236+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ] + } + ], + "headers": [ + { + "headerName": "Header Name", + "headerValue": "Header Value", + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T05:10:03.806+00:00", + "recent": true + } + ], + "attributes": [ + { + "attributeType": "address", + "attributeValue": "10.199.146.85", + "sources": [], + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "recent": true + }, + { + "attributeType": "address", + "attributeValue": "10.212.81.71", + "sources": [], + "firstSeen": "2019-05-19T08:50:37.874+00:00", + "lastSeen": "2020-07-23T02:27:41.191+00:00" + } + ], + "cookies": [ + { + "cookieName": "Cookie Name", + "cookieDomain": "contoso.net", + "firstSeen": "2018-12-06T09:03:51.282+00:00", + "lastSeen": "2018-12-06T09:03:51.282+00:00" + } + ], + "sslCerts": [ + { + "sha1": "dc4ef4faa2af9c9bb7da4a484ce1103ea982cbe5", + "subjectCommonNames": [ + "contoso.net" + ], + "organizations": [ + "Contoso" + ], + "organizationalUnits": [], + "issuerCommonNames": [ + "GeoTrust RSA CA 2018" + ], + "sigAlgName": "SHA256withRSA", + "invalidAfter": "2023-09-06T23:59:59.000+00:00", + "serialNumber": "63fd8684b6071ab0d1a16fbec9c9ad8", + "subjectAlternativeNames": [ + "contoso.net" + ], + "issuerAlternativeNames": [], + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "invalidBefore": "2022-08-15T00:00:00.000+00:00", + "keySize": 256, + "keyAlgorithm": "EC", + "subjectLocality": [ + "Washington" + ], + "subjectState": [], + "subjectCountry": [ + "US" + ], + "issuerLocality": [], + "issuerState": [], + "issuerCountry": [ + "US" + ], + "subjectOrganizations": [ + "Contoso" + ], + "subjectOrganizationalUnits": [], + "issuerOrganizations": [ + "Contoso" + ], + "issuerOrganizationalUnits": [ + "www.contoso.net" + ], + "version": 3, + "certificateAuthority": false, + "selfSigned": false, + "sigAlgOid": "1.2.840.113510.1.1.11", + "recent": true, + "validationType": "organizationValidation" + } + ], + "parentHosts": [ + { + "value": "contoso.net", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "childHosts": [ + { + "value": "contoso.net", + "firstSeen": "2018-06-15T03:45:52.029+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "sources": [ + { + "source": "crawls", + "firstSeen": "2021-06-23T21:45:52.988+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2022-05-19T10:36:17.708+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "contoso.net", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "hostCore": { + "host": "contoso.net", + "domain": "contoso.net", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 1234 + }, + "services": [ + { + "scheme": "unknown", + "port": 443, + "webComponents": [], + "sslCerts": [], + "exceptions": [], + "sources": [ + { + "source": "crawl", + "firstSeen": "2021-10-18T16:29:34.483+00:00", + "lastSeen": "2022-11-25T13:09:45.279+00:00", + "count": 187 + }, + { + "source": "minicrawl", + "firstSeen": "2020-06-12T07:50:52.225+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 7243 + } + ], + "firstSeen": "2018-12-20T10:34:20.531+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "recent": true, + "portStates": [ + { + "value": "open", + "port": 443, + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 10767, + "recent": true + }, + { + "value": "filtered", + "port": 443, + "firstSeen": "2021-10-07T04:56:26.000+00:00", + "lastSeen": "2022-12-01T13:26:54.000+00:00", + "count": 357, + "recent": true + } + ] + } + ], + "cnames": [], + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 44685 + }, + { + "source": "crawl", + "firstSeen": "2021-01-13T21:50:56.756+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 1028 + }, + { + "source": "crawls", + "firstSeen": "2020-06-05T18:18:19.841+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 222063 + }, + { + "source": "scans", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 11126 + }, + { + "source": "minicrawl", + "firstSeen": "2018-10-08T20:50:45.955+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 15619 + }, + { + "source": "minicrawls", + "firstSeen": "2020-06-06T12:48:22.149+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 79669 + }, + { + "source": "hostaxis", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 13334 + }, + { + "source": "ssl", + "firstSeen": "2018-06-17T02:00:00.000+00:00", + "lastSeen": "2020-09-13T21:36:27.615+00:00", + "count": 261 + }, + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2019-11-11T22:31:12.000+00:00", + "count": 587 + } + ], + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 377246, + "resourceUrls": [], + "scanMetadata": [ + { + "port": 443, + "bannerMetadata": "crawl:https", + "startScan": "2022-12-12T10:41:07.061+00:00", + "endScan": "2022-12-12T10:41:07.061+00:00" + }, + { + "port": 443, + "bannerMetadata": "crawl:https:isRootUrl:true", + "startScan": "2022-12-04T16:58:29.722+00:00", + "endScan": "2022-12-04T16:58:29.722+00:00" + }, + { + "port": 443, + "bannerMetadata": "minicrawl:https", + "startScan": "2022-10-24T13:42:10.793+00:00", + "endScan": "2022-10-24T13:42:10.793+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http", + "startScan": "2022-10-13T15:11:16.120+00:00", + "endScan": "2022-10-13T15:11:16.120+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http:isRootUrl:true", + "startScan": "2022-11-20T10:18:21.618+00:00", + "endScan": "2022-11-20T10:18:21.618+00:00" + }, + { + "port": 80, + "bannerMetadata": "minicrawl:http", + "startScan": "2022-10-24T13:41:29.169+00:00", + "endScan": "2022-10-24T13:41:29.169+00:00" + } + ], + "asns": [ + { + "value": 64501, + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "crawl", + "firstSeen": "2022-12-09T11:10:56.425+00:00", + "lastSeen": "2022-12-09T11:10:56.425+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "ipBlocks": [ + { + "ipBlock": "10.199.144.0/21", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 48593 + } + ], + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "recent": true + }, + { + "ipBlock": "10.199.146.64/26", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00", + "count": 14 + } + ], + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00" + } + ], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.net", + "whoisId": 1234567890123456789, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.net", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.net", + "email": "contoso@contoso.net", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "nsRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "mxRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "webserver": [ + { + "value": true, + "firstSeen": "2018-12-17T15:37:10.672+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "sources": [ + { + "source": "10.199.146.85", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 19727 + } + ], + "recent": true + } + ], + "location": [ + { + "value": { + "countryCode": "US", + "countryName": "United States", + "region": "WA", + "regionName": "Washington", + "latitude": 47.6034, + "longitude": -122.3414 + }, + "firstSeen": "2021-03-22T00:08:22.000+00:00", + "lastSeen": "2022-07-05T01:50:17.000+00:00", + "sources": [] + } + ], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [ + { + "value": true, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ], + "ipv6": [ + { + "value": false, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + }, + { + "id": "host$$subdomain.contoso.com", + "name": "subdomain.contoso.com", + "displayName": "subdomain.contoso.com", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "subdomain.contoso.com", + "domain": "contoso.com", + "ipAddresses": [ + { + "value": "10.199.146.85", + "firstSeen": "2022-12-09T06:01:35.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-06-24T05:01:12.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "10.212.81.71", + "firstSeen": "2018-06-13T18:06:10.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2020-07-23T05:20:23.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234 + } + ] + } + ], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "firstSeen": "2020-02-29T03:51:55.275+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "cve": [], + "recent": true, + "ports": [ + { + "port": 80, + "firstSeen": "2020-04-08T07:10:44.930+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "port": 443, + "firstSeen": "2020-04-07T17:59:19.283+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "sources": [ + { + "source": "crawls", + "firstSeen": "2020-08-06T20:21:27.703+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2020-08-06T02:28:33.236+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ] + } + ], + "headers": [ + { + "headerName": "Header Name", + "headerValue": "Header Value", + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T05:10:03.806+00:00", + "recent": true + } + ], + "attributes": [ + { + "attributeType": "address", + "attributeValue": "10.199.146.85", + "sources": [], + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "recent": true + }, + { + "attributeType": "address", + "attributeValue": "10.212.81.71", + "sources": [], + "firstSeen": "2019-05-19T08:50:37.874+00:00", + "lastSeen": "2020-07-23T02:27:41.191+00:00" + } + ], + "cookies": [ + { + "cookieName": "Cookie Name", + "cookieDomain": "contoso.com", + "firstSeen": "2018-12-06T09:03:51.282+00:00", + "lastSeen": "2018-12-06T09:03:51.282+00:00" + } + ], + "sslCerts": [ + { + "sha1": "dc4ef4faa2af9c9bb7da4a484ce1103ea982cbe5", + "subjectCommonNames": [ + "subdomain.contoso.com" + ], + "organizations": [ + "Contoso" + ], + "organizationalUnits": [], + "issuerCommonNames": [ + "GeoTrust RSA CA 2018" + ], + "sigAlgName": "SHA256withRSA", + "invalidAfter": "2023-09-06T23:59:59.000+00:00", + "serialNumber": "63fd8684b6071ab0d1a16fbec9c9ad8", + "subjectAlternativeNames": [ + "subdomain.contoso.com" + ], + "issuerAlternativeNames": [], + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "invalidBefore": "2022-08-15T00:00:00.000+00:00", + "keySize": 256, + "keyAlgorithm": "EC", + "subjectLocality": [ + "Washington" + ], + "subjectState": [], + "subjectCountry": [ + "US" + ], + "issuerLocality": [], + "issuerState": [], + "issuerCountry": [ + "US" + ], + "subjectOrganizations": [ + "Contoso" + ], + "subjectOrganizationalUnits": [], + "issuerOrganizations": [ + "Contoso" + ], + "issuerOrganizationalUnits": [ + "subdomain.contoso.com" + ], + "version": 3, + "certificateAuthority": false, + "selfSigned": false, + "sigAlgOid": "1.2.840.113510.1.1.11", + "recent": true, + "validationType": "organizationValidation" + } + ], + "parentHosts": [ + { + "value": "subdomain.contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "childHosts": [ + { + "value": "subdomain.contoso.com", + "firstSeen": "2018-06-15T03:45:52.029+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "sources": [ + { + "source": "crawls", + "firstSeen": "2021-06-23T21:45:52.988+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2022-05-19T10:36:17.708+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "subdomain.contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "hostCore": { + "host": "subdomain.contoso.com", + "domain": "contoso.com", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 1234 + }, + "services": [ + { + "scheme": "unknown", + "port": 443, + "webComponents": [], + "sslCerts": [], + "exceptions": [], + "sources": [ + { + "source": "crawl", + "firstSeen": "2021-10-18T16:29:34.483+00:00", + "lastSeen": "2022-11-25T13:09:45.279+00:00", + "count": 187 + }, + { + "source": "minicrawl", + "firstSeen": "2020-06-12T07:50:52.225+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 7243 + } + ], + "firstSeen": "2018-12-20T10:34:20.531+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "recent": true, + "portStates": [ + { + "value": "open", + "port": 443, + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 10767, + "recent": true + }, + { + "value": "filtered", + "port": 443, + "firstSeen": "2021-10-07T04:56:26.000+00:00", + "lastSeen": "2022-12-01T13:26:54.000+00:00", + "count": 357, + "recent": true + } + ] + } + ], + "cnames": [], + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 44685 + }, + { + "source": "crawl", + "firstSeen": "2021-01-13T21:50:56.756+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 1028 + }, + { + "source": "crawls", + "firstSeen": "2020-06-05T18:18:19.841+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 222063 + }, + { + "source": "scans", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 11126 + }, + { + "source": "minicrawl", + "firstSeen": "2018-10-08T20:50:45.955+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 15619 + }, + { + "source": "minicrawls", + "firstSeen": "2020-06-06T12:48:22.149+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 79669 + }, + { + "source": "hostaxis", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 13334 + }, + { + "source": "ssl", + "firstSeen": "2018-06-17T02:00:00.000+00:00", + "lastSeen": "2020-09-13T21:36:27.615+00:00", + "count": 261 + }, + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2019-11-11T22:31:12.000+00:00", + "count": 587 + } + ], + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 377246, + "resourceUrls": [], + "scanMetadata": [ + { + "port": 443, + "bannerMetadata": "crawl:https", + "startScan": "2022-12-12T10:41:07.061+00:00", + "endScan": "2022-12-12T10:41:07.061+00:00" + }, + { + "port": 443, + "bannerMetadata": "crawl:https:isRootUrl:true", + "startScan": "2022-12-04T16:58:29.722+00:00", + "endScan": "2022-12-04T16:58:29.722+00:00" + }, + { + "port": 443, + "bannerMetadata": "minicrawl:https", + "startScan": "2022-10-24T13:42:10.793+00:00", + "endScan": "2022-10-24T13:42:10.793+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http", + "startScan": "2022-10-13T15:11:16.120+00:00", + "endScan": "2022-10-13T15:11:16.120+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http:isRootUrl:true", + "startScan": "2022-11-20T10:18:21.618+00:00", + "endScan": "2022-11-20T10:18:21.618+00:00" + }, + { + "port": 80, + "bannerMetadata": "minicrawl:http", + "startScan": "2022-10-24T13:41:29.169+00:00", + "endScan": "2022-10-24T13:41:29.169+00:00" + } + ], + "asns": [ + { + "value": 64501, + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "crawl", + "firstSeen": "2022-12-09T11:10:56.425+00:00", + "lastSeen": "2022-12-09T11:10:56.425+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "ipBlocks": [ + { + "ipBlock": "10.199.144.0/21", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 48593 + } + ], + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "recent": true + }, + { + "ipBlock": "10.199.146.64/26", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00", + "count": 14 + } + ], + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00" + } + ], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "whoisId": 1234567890123456788, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.com", + "email": "contoso@contoso.com", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "nsRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "mxRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "webserver": [ + { + "value": true, + "firstSeen": "2018-12-17T15:37:10.672+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "sources": [ + { + "source": "10.199.146.85", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 19727 + } + ], + "recent": true + } + ], + "location": [ + { + "value": { + "countryCode": "US", + "countryName": "United States", + "region": "WA", + "regionName": "Washington", + "latitude": 47.6034, + "longitude": -122.3414 + }, + "firstSeen": "2021-03-22T00:08:22.000+00:00", + "lastSeen": "2022-07-05T01:50:17.000+00:00", + "sources": [] + } + ], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [ + { + "value": true, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ], + "ipv6": [ + { + "value": false, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + }, + { + "id": "host$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "contoso.com", + "domain": "contoso.com", + "ipAddresses": [ + { + "value": "10.199.146.85", + "firstSeen": "2022-12-09T06:01:35.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-06-24T05:01:12.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "10.212.81.71", + "firstSeen": "2018-06-13T18:06:10.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2020-07-23T05:20:23.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234 + } + ] + } + ], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "firstSeen": "2020-02-29T03:51:55.275+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "cve": [], + "recent": true, + "ports": [ + { + "port": 80, + "firstSeen": "2020-04-08T07:10:44.930+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "port": 443, + "firstSeen": "2020-04-07T17:59:19.283+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "sources": [ + { + "source": "crawls", + "firstSeen": "2020-08-06T20:21:27.703+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2020-08-06T02:28:33.236+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ] + } + ], + "headers": [ + { + "headerName": "Header Name", + "headerValue": "Header Value", + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T05:10:03.806+00:00", + "recent": true + } + ], + "attributes": [ + { + "attributeType": "address", + "attributeValue": "10.199.146.85", + "sources": [], + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "recent": true + }, + { + "attributeType": "address", + "attributeValue": "10.212.81.71", + "sources": [], + "firstSeen": "2019-05-19T08:50:37.874+00:00", + "lastSeen": "2020-07-23T02:27:41.191+00:00" + } + ], + "cookies": [ + { + "cookieName": "Cookie Name", + "cookieDomain": "contoso.com", + "firstSeen": "2018-12-06T09:03:51.282+00:00", + "lastSeen": "2018-12-06T09:03:51.282+00:00" + } + ], + "sslCerts": [ + { + "sha1": "dc4ef4faa2af9c9bb7da4a484ce1103ea982cbe5", + "subjectCommonNames": [ + "contoso.com" + ], + "organizations": [ + "Contoso" + ], + "organizationalUnits": [], + "issuerCommonNames": [ + "GeoTrust RSA CA 2018" + ], + "sigAlgName": "SHA256withRSA", + "invalidAfter": "2023-09-06T23:59:59.000+00:00", + "serialNumber": "63fd8684b6071ab0d1a16fbec9c9ad8", + "subjectAlternativeNames": [ + "contoso.com" + ], + "issuerAlternativeNames": [], + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "invalidBefore": "2022-08-15T00:00:00.000+00:00", + "keySize": 256, + "keyAlgorithm": "EC", + "subjectLocality": [ + "Washington" + ], + "subjectState": [], + "subjectCountry": [ + "US" + ], + "issuerLocality": [], + "issuerState": [], + "issuerCountry": [ + "US" + ], + "subjectOrganizations": [ + "Contoso" + ], + "subjectOrganizationalUnits": [], + "issuerOrganizations": [ + "Contoso" + ], + "issuerOrganizationalUnits": [ + "www.contoso.com" + ], + "version": 3, + "certificateAuthority": false, + "selfSigned": false, + "sigAlgOid": "1.2.840.113510.1.1.11", + "recent": true, + "validationType": "organizationValidation" + } + ], + "parentHosts": [ + { + "value": "contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "childHosts": [ + { + "value": "contoso.com", + "firstSeen": "2018-06-15T03:45:52.029+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "sources": [ + { + "source": "crawls", + "firstSeen": "2021-06-23T21:45:52.988+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2022-05-19T10:36:17.708+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "hostCore": { + "host": "contoso.com", + "domain": "contoso.com", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 1234 + }, + "services": [ + { + "scheme": "unknown", + "port": 443, + "webComponents": [], + "sslCerts": [], + "exceptions": [], + "sources": [ + { + "source": "crawl", + "firstSeen": "2021-10-18T16:29:34.483+00:00", + "lastSeen": "2022-11-25T13:09:45.279+00:00", + "count": 187 + }, + { + "source": "minicrawl", + "firstSeen": "2020-06-12T07:50:52.225+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 7243 + } + ], + "firstSeen": "2018-12-20T10:34:20.531+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "recent": true, + "portStates": [ + { + "value": "open", + "port": 443, + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 10767, + "recent": true + }, + { + "value": "filtered", + "port": 443, + "firstSeen": "2021-10-07T04:56:26.000+00:00", + "lastSeen": "2022-12-01T13:26:54.000+00:00", + "count": 357, + "recent": true + } + ] + } + ], + "cnames": [], + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 44685 + }, + { + "source": "crawl", + "firstSeen": "2021-01-13T21:50:56.756+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 1028 + }, + { + "source": "crawls", + "firstSeen": "2020-06-05T18:18:19.841+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 222063 + }, + { + "source": "scans", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 11126 + }, + { + "source": "minicrawl", + "firstSeen": "2018-10-08T20:50:45.955+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 15619 + }, + { + "source": "minicrawls", + "firstSeen": "2020-06-06T12:48:22.149+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 79669 + }, + { + "source": "hostaxis", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 13334 + }, + { + "source": "ssl", + "firstSeen": "2018-06-17T02:00:00.000+00:00", + "lastSeen": "2020-09-13T21:36:27.615+00:00", + "count": 261 + }, + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2019-11-11T22:31:12.000+00:00", + "count": 587 + } + ], + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 377246, + "resourceUrls": [], + "scanMetadata": [ + { + "port": 443, + "bannerMetadata": "crawl:https", + "startScan": "2022-12-12T10:41:07.061+00:00", + "endScan": "2022-12-12T10:41:07.061+00:00" + }, + { + "port": 443, + "bannerMetadata": "crawl:https:isRootUrl:true", + "startScan": "2022-12-04T16:58:29.722+00:00", + "endScan": "2022-12-04T16:58:29.722+00:00" + }, + { + "port": 443, + "bannerMetadata": "minicrawl:https", + "startScan": "2022-10-24T13:42:10.793+00:00", + "endScan": "2022-10-24T13:42:10.793+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http", + "startScan": "2022-10-13T15:11:16.120+00:00", + "endScan": "2022-10-13T15:11:16.120+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http:isRootUrl:true", + "startScan": "2022-11-20T10:18:21.618+00:00", + "endScan": "2022-11-20T10:18:21.618+00:00" + }, + { + "port": 80, + "bannerMetadata": "minicrawl:http", + "startScan": "2022-10-24T13:41:29.169+00:00", + "endScan": "2022-10-24T13:41:29.169+00:00" + } + ], + "asns": [ + { + "value": 64501, + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "crawl", + "firstSeen": "2022-12-09T11:10:56.425+00:00", + "lastSeen": "2022-12-09T11:10:56.425+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "ipBlocks": [ + { + "ipBlock": "10.199.144.0/21", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 48593 + } + ], + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "recent": true + }, + { + "ipBlock": "10.199.146.64/26", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00", + "count": 14 + } + ], + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00" + } + ], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "whoisId": 1234567890123456788, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.com", + "email": "contoso@contoso.com", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "nsRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "mxRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "webserver": [ + { + "value": true, + "firstSeen": "2018-12-17T15:37:10.672+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "sources": [ + { + "source": "10.199.146.85", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 19727 + } + ], + "recent": true + } + ], + "location": [ + { + "value": { + "countryCode": "US", + "countryName": "United States", + "region": "WA", + "regionName": "Washington", + "latitude": 47.6034, + "longitude": -122.3414 + }, + "firstSeen": "2021-03-22T00:08:22.000+00:00", + "lastSeen": "2022-07-05T01:50:17.000+00:00", + "sources": [] + } + ], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [ + { + "value": true, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ], + "ipv6": [ + { + "value": false, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + }, + { + "id": "domain$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "domain", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "domain": "contoso.com", + "whoisId": 1234567890123456788, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.com", + "email": "contoso@contoso.com", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + }, + { + "id": "domain$$contoso.net", + "name": "contoso.net", + "displayName": "contoso.net", + "kind": "domain", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "domain": "contoso.net", + "whoisId": 1234567890123456789, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.net", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.net", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.net", + "email": "contoso@contoso.net", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + } + ], + "mark": null, + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json new file mode 100644 index 000000000000..afc183e7ae43 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filter": "state%20%3D%20%22confirmed%22%20AND%20name%20%5E%3D%20%22contoso.com%22", + "body": { + "state": "confirmed", + "externalId": "contosoInternalId", + "labels": { + "contosoLabel": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json new file mode 100644 index 000000000000..8265728f725c --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDataConnection", + "name": "ThisisaDataConnection", + "displayName": "ThisisaDataConnection", + "kind": "logAnalytics", + "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", + "options": "SnapshotFrequency=1", + "createdDate": "2022-05-02T19:30:14.432+00:00", + "updatedDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json new file mode 100644 index 000000000000..602d6f7b201c --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "totalPages": 1, + "last": true, + "numberOfElements": 2, + "first": true, + "size": 2, + "number": 0, + "content": [ + { + "id": "ThisisaDataConnection", + "name": "ThisisaDataConnection", + "displayName": "ThisisaDataConnection", + "kind": "logAnalytics", + "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", + "options": "SnapshotFrequency=1", + "createdDate": "2022-05-02T19:30:14.432+00:00", + "updatedDate": "2022-05-02T19:30:14.432+00:00" + }, + { + "id": "ThisisaDataConnection2", + "name": "ThisisaDataConnection2", + "displayName": "ThisisaDataConnection2", + "kind": "kusto", + "connectionString": "Cluster=mykustocluster.kusto.windows.net;Database=mydatabase", + "options": "SnapshotFrequency=30", + "createdDate": "2022-05-02T19:30:14.432+00:00", + "updatedDate": "2022-05-02T19:30:14.432+00:00" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json new file mode 100644 index 000000000000..0e13e6164acf --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection", + "body": { + "kind": "logAnalytics", + "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", + "options": "SnapshotFrequency=1" + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDataConnection", + "name": "ThisisaDataConnection", + "displayName": "ThisisaDataConnection", + "kind": "logAnalytics", + "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", + "options": "SnapshotFrequency=1", + "createdDate": "2022-05-02T19:30:14.432+00:00", + "updatedDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json new file mode 100644 index 000000000000..7d1446c92ef4 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json new file mode 100644 index 000000000000..ef1976d96f17 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection", + "body": { + "kind": "logAnalytics", + "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", + "options": "SnapshotFrequency=1" + } + }, + "responses": { + "200": { + "body": { + "error": null + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json new file mode 100644 index 000000000000..31d22ea5e144 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json new file mode 100644 index 000000000000..4364b2e5c140 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDiscoGroup", + "name": "ThisisaDiscoGroup", + "displayName": "ThisisaDiscoGroup", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 604800000, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [], + "templateId": "123", + "latestRun": { + "startedDate": "2022-05-02T19:30:14.432+00:00", + "state": "completed" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json new file mode 100644 index 000000000000..54f37fc5358d --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 3, + "totalPages": 1, + "last": true, + "numberOfElements": 3, + "first": true, + "size": 3, + "number": 0, + "content": [ + { + "id": "ThisisaDiscoGroup", + "name": "ThisisaDiscoGroup", + "displayName": "ThisisaDiscoGroup", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 0, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [ + { + "name": "thisisanothertest.microsoft.com", + "kind": "host" + } + ], + "templateId": "123", + "latestRun": { + "startedDate": "2022-05-02T19:30:14.432+00:00", + "state": "completed" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00" + }, + { + "id": "ThisisaDiscoGroup2", + "name": "ThisisaDiscoGroup2", + "displayName": "ThisisaDiscoGroup2", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 604800000, + "seeds": [], + "excludes": [], + "latestRun": null, + "createdDate": "2022-05-02T19:30:14.432+00:00" + }, + { + "id": "ThisisaDiscoGroup3", + "name": "ThisisaDiscoGroup3", + "displayName": "ThisisaDiscoGroup3", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 0, + "seeds": [], + "excludes": [], + "latestRun": { + "startedDate": "2022-05-02T19:30:14.432+00:00", + "state": "completed" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json new file mode 100644 index 000000000000..a1f6822f4d00 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "totalPages": 1, + "last": true, + "numberOfElements": 2, + "first": true, + "size": 20, + "number": 0, + "content": [ + { + "submittedDate": "2022-03-29T23:10:01.000+00:00", + "startedDate": "2022-03-29T23:10:32.000+00:00", + "completedDate": "2022-03-29T23:11:24.000+00:00", + "tier": "advanced", + "state": "completed", + "totalAssetsFoundCount": 33, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [] + }, + { + "submittedDate": "2022-04-08T16:09:03.000+00:00", + "startedDate": "2022-04-08T16:09:03.000+00:00", + "completedDate": "2022-04-08T16:09:18.000+00:00", + "tier": "advanced", + "state": "failed", + "totalAssetsFoundCount": 0, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json new file mode 100644 index 000000000000..407d15b60d71 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup", + "body": { + "description": "This is a disco group", + "frequencyMilliseconds": 604800000, + "tier": "advanced", + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ] + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDiscoGroup", + "name": "ThisisaDiscoGroup", + "displayName": "ThisisaDiscoGroup", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 604800000, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [], + "latestRun": null, + "createdDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json new file mode 100644 index 000000000000..31d22ea5e144 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json new file mode 100644 index 000000000000..6eef972635b1 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup", + "body": { + "description": "This is a disco group", + "frequencyMilliseconds": 604800000, + "tier": "advanced", + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ] + } + }, + "responses": { + "200": { + "body": { + "error": null + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json new file mode 100644 index 000000000000..4ad747d35d48 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "templateId": "12345" + }, + "responses": { + "200": { + "body": { + "id": "12345", + "name": "ThisisaDiscoTemplate", + "displayName": "ThisisaDiscoTemplate", + "industry": "Test Industry", + "region": "United States and Canada", + "countryCode": "US", + "stateCode": "CA", + "city": "Test City", + "names": [ + "This is a name", + "This is another name" + ], + "seeds": [ + { + "name": "test.com", + "kind": "domain" + }, + { + "name": "12345", + "kind": "as" + }, + { + "name": "thisisatest@microsoft.com", + "kind": "contact" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json new file mode 100644 index 000000000000..23d6b1991da1 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 1, + "totalPages": 1, + "last": true, + "numberOfElements": 1, + "first": true, + "size": 20, + "number": 0, + "content": [ + { + "id": "12345", + "name": "ThisisaDiscoTemplate", + "displayName": "ThisisaDiscoTemplate", + "industry": "Test Industry", + "region": "United States and Canada", + "countryCode": "US", + "stateCode": "CA", + "city": "Test City", + "names": [], + "seeds": [] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json new file mode 100644 index 000000000000..85010fdcfbb4 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json @@ -0,0 +1,593 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": {} + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "date": "2022-12-12", + "total": 1394, + "assetBreakdown": [ + { + "kind": "host", + "count": 1204 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-13", + "total": 1465, + "assetBreakdown": [ + { + "kind": "host", + "count": 1275 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-14", + "total": 1487, + "assetBreakdown": [ + { + "kind": "host", + "count": 1297 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-15", + "total": 1490, + "assetBreakdown": [ + { + "kind": "host", + "count": 1300 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-16", + "total": 1502, + "assetBreakdown": [ + { + "kind": "host", + "count": 1312 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-17", + "total": 1521, + "assetBreakdown": [ + { + "kind": "host", + "count": 1331 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-18", + "total": 1522, + "assetBreakdown": [ + { + "kind": "host", + "count": 1332 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-19", + "total": 1570, + "assetBreakdown": [ + { + "kind": "host", + "count": 1380 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-20", + "total": 1570, + "assetBreakdown": [ + { + "kind": "host", + "count": 1381 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 23 + } + ] + }, + { + "date": "2022-12-21", + "total": 1539, + "assetBreakdown": [ + { + "kind": "host", + "count": 1350 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 23 + } + ] + }, + { + "date": "2022-12-22", + "total": 1527, + "assetBreakdown": [ + { + "kind": "host", + "count": 1338 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 23 + } + ] + }, + { + "date": "2022-12-23", + "total": 1609, + "assetBreakdown": [ + { + "kind": "host", + "count": 1415 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-24", + "total": 1630, + "assetBreakdown": [ + { + "kind": "host", + "count": 1436 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-25", + "total": 1644, + "assetBreakdown": [ + { + "kind": "host", + "count": 1450 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-26", + "total": 1670, + "assetBreakdown": [ + { + "kind": "host", + "count": 1476 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-27", + "total": 1572, + "assetBreakdown": [ + { + "kind": "host", + "count": 1378 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-28", + "total": 1678, + "assetBreakdown": [ + { + "kind": "host", + "count": 1484 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-29", + "total": 1681, + "assetBreakdown": [ + { + "kind": "host", + "count": 1487 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-30", + "total": 1759, + "assetBreakdown": [ + { + "kind": "host", + "count": 1568 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-31", + "total": 1857, + "assetBreakdown": [ + { + "kind": "host", + "count": 1666 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2023-01-01", + "total": 1860, + "assetBreakdown": [ + { + "kind": "host", + "count": 1670 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-02", + "total": 1799, + "assetBreakdown": [ + { + "kind": "host", + "count": 1609 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-03", + "total": 1770, + "assetBreakdown": [ + { + "kind": "host", + "count": 1580 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-04", + "total": 1748, + "assetBreakdown": [ + { + "kind": "host", + "count": 1558 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-05", + "total": 1785, + "assetBreakdown": [ + { + "kind": "host", + "count": 1595 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-06", + "total": 1684, + "assetBreakdown": [ + { + "kind": "host", + "count": 1494 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-07", + "total": 1808, + "assetBreakdown": [ + { + "kind": "host", + "count": 1618 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-08", + "total": 1799, + "assetBreakdown": [ + { + "kind": "host", + "count": 1609 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-09", + "total": 1775, + "assetBreakdown": [ + { + "kind": "host", + "count": 1585 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-10", + "total": 1785, + "assetBreakdown": [ + { + "kind": "host", + "count": 1595 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-11", + "total": 1772, + "assetBreakdown": [ + { + "kind": "host", + "count": 1582 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-12", + "total": 1725, + "assetBreakdown": [ + { + "kind": "host", + "count": 1535 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json new file mode 100644 index 000000000000..3e7c4f919301 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json @@ -0,0 +1,1140 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metric": "site_status_active", + "page": 0, + "size": 5 + } + }, + "responses": { + "200": { + "body": { + "displayName": "Metric Name", + "metric": "metricName", + "labelName": null, + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "description": "Metric description.", + "assets": { + "totalElements": 200, + "totalPages": 40, + "last": false, + "numberOfElements": 5, + "first": true, + "size": 5, + "number": 0, + "content": [ + { + "id": "host$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "contoso.com", + "domain": "contoso.com", + "ipAddresses": [], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "version": "1.0.0", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "headers": [], + "attributes": [], + "cookies": [], + "sslCerts": [], + "parentHosts": [], + "childHosts": [], + "services": [], + "cnames": [], + "sources": [], + "firstSeen": "2017-09-23T12:55:11.000+00:00", + "lastSeen": "2022-12-10T04:31:45.000+00:00", + "resourceUrls": [], + "scanMetadata": [], + "asns": [], + "ipBlocks": [], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "registrarIanaIds": [], + "registrantContacts": [], + "registrantOrgs": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "adminContacts": [], + "technicalContacts": [], + "alexaInfos": [], + "nameServers": [], + "mailServers": [], + "whoisServers": [], + "domainStatuses": [], + "registrarCreatedAt": [], + "registrarUpdatedAt": [], + "registrarExpiresAt": [], + "soaRecords": [], + "registrarNames": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2017-09-23T12:55:11.000+00:00", + "lastSeen": "2022-12-10T04:31:45.000+00:00", + "parkedDomain": [], + "registrantNames": [], + "adminNames": [], + "technicalNames": [], + "adminOrgs": [], + "technicalOrgs": [], + "registrantPhones": [], + "adminPhones": [], + "technicalPhones": [] + }, + "nsRecord": [], + "mxRecord": [], + "webserver": [], + "location": [], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [], + "ipv6": [] + }, + "createdDate": "2017-09-23T12:55:11.000+00:00", + "updatedDate": "2022-12-10T04:31:45.000+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + }, + { + "id": "host$$www.contoso.net", + "name": "www.contoso.net", + "displayName": "www.contoso.net", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "www.contoso.net", + "domain": "contoso.net", + "ipAddresses": [], + "webComponents": [ + { + "name": "componentName", + "type": "componentType", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "headers": [], + "attributes": [], + "cookies": [], + "sslCerts": [], + "parentHosts": [], + "childHosts": [], + "services": [], + "cnames": [], + "sources": [], + "firstSeen": "2017-09-26T00:59:26.862+00:00", + "lastSeen": "2022-11-27T16:54:06.000+00:00", + "resourceUrls": [], + "scanMetadata": [], + "asns": [], + "ipBlocks": [], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.net", + "registrarIanaIds": [], + "registrantContacts": [], + "registrantOrgs": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "adminContacts": [], + "technicalContacts": [], + "alexaInfos": [], + "nameServers": [], + "mailServers": [], + "whoisServers": [], + "domainStatuses": [], + "registrarCreatedAt": [], + "registrarUpdatedAt": [], + "registrarExpiresAt": [], + "soaRecords": [], + "registrarNames": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2017-09-26T00:59:26.862+00:00", + "lastSeen": "2022-11-27T16:54:06.000+00:00", + "parkedDomain": [], + "registrantNames": [], + "adminNames": [], + "technicalNames": [], + "adminOrgs": [], + "technicalOrgs": [], + "registrantPhones": [], + "adminPhones": [], + "technicalPhones": [] + }, + "nsRecord": [], + "mxRecord": [], + "webserver": [], + "location": [], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [], + "ipv6": [] + }, + "createdDate": "2017-09-26T00:59:26.862+00:00", + "updatedDate": "2022-11-27T16:54:06.000+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.net", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "www.contoso.net", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + }, + { + "id": "domain$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "domain", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "domain": "contoso.com", + "whoisId": 1234567890123456789, + "registrarIanaIds": [ + { + "value": 123, + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 321, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 1 + } + ] + } + ], + "registrantContacts": [ + { + "value": "admin@contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "domains@contoso.net", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "Contoso", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 2 + } + ] + }, + { + "value": "Contoso", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ] + }, + { + "value": "Contoso", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-07-05T04:50:47.460+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-07-05T04:50:47.460+00:00", + "count": 2 + } + ] + } + ], + "adminContacts": [ + { + "value": "admin@contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "domains@contoso.net", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "admin@contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "domains@contoso.net", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "count": 85 + }, + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 10 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "rand.contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + }, + { + "value": "serverTransferProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "transferPeriod", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "deleteProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + }, + { + "value": "renewProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + }, + { + "value": "transferProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + }, + { + "value": "updateProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1654103468000, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [ + { + "value": 1662644948000, + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1662590259000, + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 1 + } + ] + }, + { + "value": 1654103471000, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 1 + } + ] + } + ], + "registrarExpiresAt": [ + { + "value": 1717286399000, + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1685663999000, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 1 + } + ] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.org", + "email": "contoso@contoso.com", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "serialNumber": 1, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-12T01:15:37.021+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "count": 403 + }, + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 10 + }, + { + "source": "minicrawl", + "firstSeen": "2022-06-02T17:45:46.168+00:00", + "lastSeen": "2022-11-09T19:13:49.643+00:00", + "count": 28 + } + ], + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "count": 441, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2022-06-02T17:45:46.168+00:00", + "lastSeen": "2022-11-09T19:13:49.643+00:00", + "sources": [], + "recent": true + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "+1.1234567890", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "+1.1234567890", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "+1.1234567890", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.434+00:00", + "updatedDate": "2022-10-25T08:00:23.447+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + }, + { + "id": "page$$https://www.contoso.com/", + "name": "https://www.contoso.com/", + "displayName": "https://www.contoso.com/", + "kind": "page", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "url": "https://www.contoso.com/", + "ipAddresses": [], + "successful": [], + "httpResponseCodes": [], + "httpResponseMessages": [], + "responseTimes": [], + "frames": [], + "windows": [], + "nonHtmlFrames": [], + "undirectedContent": [], + "contentTypes": [], + "contentLengths": [], + "windowNames": [], + "charsets": [], + "titles": [], + "languages": [], + "responseHeaders": [], + "cookies": [], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "version": "1.0.0", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "attributes": [], + "assetSecurityPolicies": [], + "responseBodyMinhashSignatures": [], + "fullDomMinhashSignatures": [], + "responseBodyHashSignatures": [], + "errors": [], + "sslCerts": [], + "sources": [], + "firstSeen": "2019-06-16T12:55:04.360+00:00", + "lastSeen": "2022-11-09T15:57:53.425+00:00", + "redirectUrls": [], + "finalUrls": [], + "finalResponseCodes": [], + "parkedPage": [], + "resourceUrls": [], + "guids": [], + "finalIpAddresses": [], + "asns": [], + "ipBlocks": [], + "finalAsns": [], + "finalIpBlocks": [], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "registrarIanaIds": [], + "registrantContacts": [], + "registrantOrgs": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "adminContacts": [], + "technicalContacts": [], + "alexaInfos": [], + "nameServers": [], + "mailServers": [], + "whoisServers": [], + "domainStatuses": [], + "registrarCreatedAt": [], + "registrarUpdatedAt": [], + "registrarExpiresAt": [], + "soaRecords": [], + "registrarNames": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2019-06-16T12:55:04.360+00:00", + "lastSeen": "2022-11-09T15:57:53.425+00:00", + "parkedDomain": [], + "registrantNames": [], + "adminNames": [], + "technicalNames": [], + "adminOrgs": [], + "technicalOrgs": [], + "registrantPhones": [], + "adminPhones": [], + "technicalPhones": [] + }, + "location": [], + "services": [], + "cnames": [], + "cdns": [], + "domain": "contoso.com", + "sslServerConfig": [], + "gdprAssetSecurityPolicies": [], + "ipv4": [], + "ipv6": [] + }, + "createdDate": "2019-06-16T12:55:04.360+00:00", + "updatedDate": "2022-11-09T15:57:53.425+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.net", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "WhoisOrganization:Contoso", + "displayName": null, + "kind": "attribute", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "www.contoso.com", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + }, + { + "id": "ipAddress$$10.000.000.00", + "name": "10.000.000.00", + "displayName": "10.000.000.00", + "kind": "ipAddress", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "ipAddress": "10.000.000.00", + "asns": [ + { + "value": 64501, + "sources": [], + "recent": true + } + ], + "reputations": [], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "netRanges": [], + "headers": [], + "attributes": [], + "cookies": [], + "sslCerts": [], + "services": [], + "ipBlocks": [ + { + "ipBlock": "10.000.000.00/18", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2010-06-24T11:57:03.000+00:00", + "lastSeen": "2022-12-10T22:10:54.000+00:00", + "banners": [], + "scanMetadata": [], + "nsRecord": [], + "mxRecord": [], + "location": [], + "hosts": [], + "nxdomain": [], + "sslServerConfig": [] + }, + "createdDate": "2010-06-24T11:57:03.000+00:00", + "updatedDate": "2022-12-10T22:10:54.000+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.net", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "WhoisOrganization:Contoso", + "displayName": null, + "kind": "attribute", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + } + ], + "mark": null + } + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json new file mode 100644 index 000000000000..2ad8e28c6413 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metricCategories": null, + "metrics": null, + "filters": [ + "state = \"confirmed\" AND kind = \"domain\"", + "state = \"confirmed\" AND kind = \"host\"", + "state = \"confirmed\" AND kind = \"page\"" + ], + "groupBy": null + } + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "displayName": "state = confirmed AND kind = host", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = confirmed AND kind = host", + "labelName": null, + "count": 12271, + "link": null, + "children": [] + }, + { + "displayName": "state = confirmed AND kind = domain", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = confirmed AND kind = domain", + "labelName": null, + "count": 138, + "link": null, + "children": [] + }, + { + "displayName": "state = confirmed AND kind = page", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = confirmed AND kind = page", + "labelName": null, + "count": 24566, + "link": null, + "children": [] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json new file mode 100644 index 000000000000..245cae93712f --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metricCategories": null, + "metrics": null, + "filters": [ + "state = \"confirmed\"" + ], + "groupBy": "kind" + } + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "displayName": "state = \"confirmed\"", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = \"confirmed\"", + "labelName": null, + "count": 37025, + "link": null, + "children": [ + { + "displayName": "Page", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 24566, + "link": null, + "children": [] + }, + { + "displayName": "Host", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 12271, + "link": null, + "children": [] + }, + { + "displayName": "Domain", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 138, + "link": null, + "children": [] + }, + { + "displayName": "IP Address", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 18, + "link": null, + "children": [] + }, + { + "displayName": "SSL Cert", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 12, + "link": null, + "children": [] + }, + { + "displayName": "Contact", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 6, + "link": null, + "children": [] + }, + { + "displayName": "IP Block", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 2, + "link": null, + "children": [] + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json new file mode 100644 index 000000000000..f51818298f08 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json @@ -0,0 +1,232 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metricCategories": null, + "metrics": null, + "filters": [ + "state in (\"confirmed\",\"candidate\")" + ], + "groupBy": "state", + "segmentBy": "kind" + } + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "displayName": "state in (\"confirmed\",\"candidate\")", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state in (\"confirmed\",\"candidate\")", + "labelName": null, + "count": 38206, + "link": null, + "children": [ + { + "displayName": "Approved Inventory", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 37025, + "link": null, + "children": [ + { + "displayName": "Page", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 24566, + "link": null, + "children": [] + }, + { + "displayName": "Host", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 12271, + "link": null, + "children": [] + }, + { + "displayName": "Domain", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 138, + "link": null, + "children": [] + }, + { + "displayName": "IP Address", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 18, + "link": null, + "children": [] + }, + { + "displayName": "SSL Cert", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 12, + "link": null, + "children": [] + }, + { + "displayName": "Contact", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 6, + "link": null, + "children": [] + }, + { + "displayName": "IP Block", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 2, + "link": null, + "children": [] + } + ] + }, + { + "displayName": "Candidate", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 1181, + "link": null, + "children": [ + { + "displayName": "IP Address", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 671, + "link": null, + "children": [] + }, + { + "displayName": "IP Block", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 256, + "link": null, + "children": [] + }, + { + "displayName": "Contact", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 112, + "link": null, + "children": [] + }, + { + "displayName": "Host", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 52, + "link": null, + "children": [] + }, + { + "displayName": "Domain", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 48, + "link": null, + "children": [] + }, + { + "displayName": "Page", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 19, + "link": null, + "children": [] + }, + { + "displayName": "ASN", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": null, + "labelName": null, + "count": 18, + "link": null, + "children": [] + } + ] + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json new file mode 100644 index 000000000000..febf275f3f59 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metricCategories": [ + "priority_low_severity" + ], + "metrics": null, + "filters": null, + "groupBy": null + } + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "displayName": "Low Severity", + "description": "Attack Surface: Low Severity", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": "priority_low_severity", + "metric": null, + "filter": null, + "labelName": null, + "count": 519, + "link": null, + "children": [ + { + "displayName": "Metric Name 1", + "description": "Metric Description 1", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_1", + "filter": null, + "labelName": null, + "count": 481, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 2", + "description": "Metric Description 2", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_2", + "filter": null, + "labelName": null, + "count": 16, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 3", + "description": "Metric Description 3", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_3", + "filter": null, + "labelName": null, + "count": 12, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 4", + "description": "Metric Description 4", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_4", + "filter": null, + "labelName": null, + "count": 7, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 5", + "description": "Metric Description 5", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_5", + "filter": null, + "labelName": null, + "count": 2, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 6", + "description": "Metric Description 6", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_6", + "filter": null, + "labelName": null, + "count": 1, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 7", + "description": "Metric Description 7", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_7", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 8", + "description": "Metric Description 8", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_8", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 9", + "description": "Metric Description 9", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_9", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 10", + "description": "Metric Description 10", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_10", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 11", + "description": "Metric Description 11", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_11", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 12", + "description": "Metric Description 12", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_12", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + }, + { + "displayName": "Metric Name 13", + "description": "Metric Description 13", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName_13", + "filter": null, + "labelName": null, + "count": 0, + "link": null, + "children": null + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json new file mode 100644 index 000000000000..e4a247de2b7d --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metricCategories": null, + "metrics": [ + "metricName" + ], + "filters": null, + "groupBy": null + } + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "displayName": "Metric Name", + "description": "Metric Description", + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "metricCategory": null, + "metric": "metricName", + "filter": null, + "labelName": null, + "count": 7, + "link": null, + "children": null + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json new file mode 100644 index 000000000000..ab9e71d3adfb --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json new file mode 100644 index 000000000000..8bcf2b97a24c --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter", + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json new file mode 100644 index 000000000000..502a90bd72c9 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "totalPages": 1, + "last": true, + "numberOfElements": 2, + "first": true, + "size": 2, + "number": 0, + "content": [ + { + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter", + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + }, + { + "id": "ThisisaSavedFilter2", + "name": "ThisisaSavedFilter2", + "displayName": "ThisisaSavedFilter2", + "filter": "type IN (\"host\")", + "description": "This is a saved filter" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json new file mode 100644 index 000000000000..b92233db2fa0 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter", + "body": { + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter", + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json new file mode 100644 index 000000000000..9fb9cc87be8b --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json new file mode 100644 index 000000000000..9fb9cc87be8b --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json new file mode 100644 index 000000000000..30c02b764a74 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "totalPages": 1, + "last": true, + "numberOfElements": 2, + "first": true, + "size": 2, + "number": 0, + "content": [ + { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + }, + { + "id": "ThisisaTaskId2", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + ] + } + } + } +} From 6ccc5c4bbe97e58be891f3216ba46d51bbe45c9a Mon Sep 17 00:00:00 2001 From: thang-bit Date: Thu, 16 Mar 2023 19:02:53 -0500 Subject: [PATCH 02/14] Update easm api version to include data connection --- .../Microsoft.Easm/preview/2023-03-01-preview/easm.json | 2 +- .../preview/2023-03-01-preview/examples/Assets_Get.json | 2 +- .../preview/2023-03-01-preview/examples/Assets_List.json | 4 ++-- .../preview/2023-03-01-preview/examples/Assets_Update.json | 2 +- .../2023-03-01-preview/examples/DataConnections_Get.json | 2 +- .../2023-03-01-preview/examples/DataConnections_List.json | 2 +- .../2023-03-01-preview/examples/DataConnections_Put.json | 2 +- .../2023-03-01-preview/examples/DataConnections_Remove.json | 2 +- .../2023-03-01-preview/examples/DataConnections_Validate.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_Delete.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_Get.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_List.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_Put.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_Run.json | 2 +- .../2023-03-01-preview/examples/DiscoveryGroups_Validate.json | 2 +- .../2023-03-01-preview/examples/DiscoveryTemplates_Get.json | 2 +- .../2023-03-01-preview/examples/DiscoveryTemplates_List.json | 2 +- .../preview/2023-03-01-preview/examples/Reports_Billable.json | 2 +- .../preview/2023-03-01-preview/examples/Reports_Snapshot.json | 2 +- .../2023-03-01-preview/examples/Reports_Summary_Assets.json | 2 +- .../examples/Reports_Summary_Assets_GroupBy.json | 2 +- .../examples/Reports_Summary_Assets_GroupBy_SegmentBy.json | 2 +- .../examples/Reports_Summary_MetricCategories.json | 2 +- .../2023-03-01-preview/examples/Reports_Summary_Metrics.json | 2 +- .../2023-03-01-preview/examples/SavedFilters_Delete.json | 2 +- .../preview/2023-03-01-preview/examples/SavedFilters_Get.json | 2 +- .../2023-03-01-preview/examples/SavedFilters_List.json | 2 +- .../preview/2023-03-01-preview/examples/SavedFilters_Put.json | 2 +- .../preview/2023-03-01-preview/examples/Tasks_Cancel.json | 2 +- .../preview/2023-03-01-preview/examples/Tasks_Get.json | 2 +- .../preview/2023-03-01-preview/examples/Tasks_List.json | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 396901aed895..8d415c56f34b 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -3,7 +3,7 @@ "info": { "description": "Defender EASM discovers and maps your digital attack surface to provide an \"outside-in\" perspective using probes to discover assets. The assets are provided with detailed metadata associated, including vulnerabilities, configurations and web components, allowing customers to view and prioritize external risk. The EASM REST API enables you to develop clients that integrate with your application.", "title": "Defender EASM", - "version": "2022-11-01-preview" + "version": "2023-03-01-preview" }, "x-ms-parameterized-host": { "hostTemplate": "{endpoint}", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json index 680bded50770..7a413bc70ee3 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json index f076181000d4..40dbb5e221e2 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", @@ -3898,7 +3898,7 @@ } ], "mark": null, - "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2022-11-01-preview" + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2023-03-01-preview" } } } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json index afc183e7ae43..1924b7da718a 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json index 8265728f725c..a6d1c2cbd9c6 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-09-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index 602d6f7b201c..210768ff6332 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-09-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json index 0e13e6164acf..a9472c55b563 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-09-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json index 7d1446c92ef4..3e0c1417f4b5 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-09-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json index ef1976d96f17..4e39edd54c59 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-09-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json index 31d22ea5e144..ad1267de271f 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json index 4364b2e5c140..d55c7eeaae18 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json index 54f37fc5358d..c42879a696aa 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json index a1f6822f4d00..6607f8fce340 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json index 407d15b60d71..e4c6f3198cda 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json index 31d22ea5e144..ad1267de271f 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json index 6eef972635b1..4c245397f8e5 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json index 4ad747d35d48..bea93340588b 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json index 23d6b1991da1..fdd75fe8fcbc 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json index 85010fdcfbb4..a9589c48a5b9 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json index 3e7c4f919301..5233d2d468c0 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json index 2ad8e28c6413..31c716783cc5 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json index 245cae93712f..e493ece78f99 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json index f51818298f08..31c57bb9b84a 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json index febf275f3f59..99ab44077f9b 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json index e4a247de2b7d..44cf79a499d7 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json index ab9e71d3adfb..4fdd02faf829 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json index 8bcf2b97a24c..5fbd9545d85f 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json index 502a90bd72c9..4450c7a38950 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json index b92233db2fa0..b0ee9d3ab5b4 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json index 9fb9cc87be8b..6e14cd16106a 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json index 9fb9cc87be8b..6e14cd16106a 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json index 30c02b764a74..4066946a2be2 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-11-01-preview", + "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", From 667bc0786a69d3f7f6954c8235687b62d64f808d Mon Sep 17 00:00:00 2001 From: thang-bit Date: Thu, 16 Mar 2023 19:49:58 -0500 Subject: [PATCH 03/14] Update readme --- specification/riskiq/data-plane/readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/riskiq/data-plane/readme.md b/specification/riskiq/data-plane/readme.md index accd064985ff..be55de7a59b6 100644 --- a/specification/riskiq/data-plane/readme.md +++ b/specification/riskiq/data-plane/readme.md @@ -42,6 +42,14 @@ input-file: - Microsoft.Easm/preview/2022-11-01-preview/easm.json ``` +### Release 2023-03-01-preview +These settings apply only when `--tag=2023-03-01-preview` is specified on the command line. + +``` yaml $(tag) == '2023-03-01-preview' +input-file: + - Microsoft.Easm/preview/2023-03-01-preview/easm.json +``` + ## Python These settings apply only when `--python` is specified on the command line. From 9ce7f5ba1a67d33ca448741040cf5150b200b1e8 Mon Sep 17 00:00:00 2001 From: thang-bit Date: Fri, 17 Mar 2023 12:02:02 -0500 Subject: [PATCH 04/14] Update version in readme, rename example DataConnections_Remove.json --- ...tions_Remove.json => DataConnections_Delete.json} | 0 .../examples/DiscoveryGroups_Delete.json | 12 ------------ specification/riskiq/data-plane/readme.md | 4 ++-- 3 files changed, 2 insertions(+), 14 deletions(-) rename specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/{DataConnections_Remove.json => DataConnections_Delete.json} (100%) delete mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json similarity index 100% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Remove.json rename to specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json deleted file mode 100644 index ad1267de271f..000000000000 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Delete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "dummyrg", - "workspaceName": "ThisisaWorkspace", - "groupName": "ThisisaDiscoGroup" - }, - "responses": { - "204": {} - } -} diff --git a/specification/riskiq/data-plane/readme.md b/specification/riskiq/data-plane/readme.md index be55de7a59b6..59bbf2db8a37 100644 --- a/specification/riskiq/data-plane/readme.md +++ b/specification/riskiq/data-plane/readme.md @@ -4,11 +4,11 @@ Configuration for generating EASM SDK. -The current release is `2022-11-01-preview`. +The current release is `2023-03-01-preview`. ``` yaml -tag: 2022-11-01-preview +tag: 2023-03-01-preview add-credentials: true openapi-type: data-plane openapi-subtype: providerHub From 10f1c2a440a491b75aa8bf51818cfde710300751 Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 15:41:21 -0500 Subject: [PATCH 05/14] Address comments on easm api 2023-03-01-preview version --- .../preview/2023-03-01-preview/easm.json | 555 +++++++++--------- .../examples/DataConnections_Get.json | 11 +- .../examples/DataConnections_List.json | 23 +- .../examples/DataConnections_Put.json | 8 +- .../examples/DataConnections_Validate.json | 8 +- 5 files changed, 324 insertions(+), 281 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 8d415c56f34b..44a03754b336 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -202,6 +202,71 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/assets/{assetId}/observations": { + "get": { + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/AssetIdParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/OrderByParameter" + }, + { + "$ref": "#/parameters/SkipParameter" + }, + { + "$ref": "#/parameters/MaxPageSizeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ObservationPageResponse" + } + }, + "default": { + "description": "Error", + "headers": { + "x-ms-error-code": { + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Assets" + ], + "operationId": "Assets_Observations", + "summary": "Retrieve observations on an asset.", + "x-ms-examples": { + "Assets": { + "$ref": "./examples/Assets_Observations.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections": { "get": { "produces": [ @@ -425,7 +490,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections/{dataConnectionName}:validate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections:validate": { "post": { "consumes": [ "application/json" @@ -443,9 +508,6 @@ { "$ref": "#/parameters/WorkspaceNameParameter" }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -783,7 +845,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}:validate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups:validate": { "post": { "consumes": [ "application/json" @@ -802,10 +864,10 @@ "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "#/parameters/DiscoGroupNameParameter" + "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/DiscoGroupNameParameter" }, { "in": "body", @@ -1391,6 +1453,9 @@ { "$ref": "#/parameters/FilterParameter" }, + { + "$ref": "#/parameters/OrderByParameter" + }, { "$ref": "#/parameters/SkipParameter" }, @@ -1719,21 +1784,6 @@ "AssetPageResponse": { "description": "The page of assets that match the provided metric.", "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/AssetResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "mark": { "description": "The cursor mark to be used on the next request. Not set if using paging.", "type": "string" @@ -1742,30 +1792,17 @@ "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested. Set to -1 if using a cursor.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/AssetResponse" + }, + "type": "array" } }, "type": "object" @@ -2079,6 +2116,23 @@ }, "type": "object" }, + "AzureDataExplorerDataConnectionProperties": { + "properties": { + "clusterName": { + "description": "The azure data explorer cluster name", + "type": "string" + }, + "databaseName": { + "description": "The azure data explorer database name", + "type": "string" + }, + "region": { + "description": "The azure data explorer region", + "type": "string" + } + }, + "type": "object" + }, "Banner": { "properties": { "banner": { @@ -2268,64 +2322,32 @@ }, "DataConnectionPageResponse": { "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DataConnectionResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "nextLink": { "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DataConnectionResponse" + }, + "type": "array" } }, "type": "object" }, "DataConnectionRequest": { "properties": { - "connectionString": { - "description": "The connection string for the data connection.", - "type": "string" - }, "content": { "description": "The type of data the data connection will transfer.", "enum": [ "assets", - "asi" + "attackSurfaceInsights" ], "type": "string", "x-ms-enum": { @@ -2346,6 +2368,11 @@ "name": "DataConnectionRequestFrequency" } }, + "frequencyOffset": { + "description": "The day to update the data connection on. (1-7 for weekly, 1-31 for monthly)", + "format": "int32", + "type": "integer" + }, "kind": { "description": "The kind of data connection.", "enum": [ @@ -2358,13 +2385,8 @@ "name": "DataConnectionRequestKind" } }, - "offset": { - "description": "The day to update the data connection on. (1-7 for weekly, 1-31 for monthly)", - "format": "int32", - "type": "integer" - }, - "options": { - "description": "Any connection specific options.", + "name": { + "description": "The name of data connection", "type": "string" } }, @@ -2376,15 +2398,11 @@ "description": "An indicator of whether the data connection is active.", "type": "boolean" }, - "connectionString": { - "description": "The connection string for the data connection.", - "type": "string" - }, "content": { "description": "The type of data the data connection will transfer", "enum": [ "assets", - "asi" + "attackSurfaceInsights" ], "type": "string", "x-ms-enum": { @@ -2414,6 +2432,11 @@ "name": "DataConnectionResponseFrequency" } }, + "frequencyOffset": { + "description": "The day to update the data connection on.", + "format": "int32", + "type": "integer" + }, "id": { "description": "The system generated unique id for the resource.", "type": "string" @@ -2438,15 +2461,6 @@ "description": "The caller provided unique name for the resource.", "type": "string" }, - "offset": { - "description": "The day to update the data connection on.", - "format": "int32", - "type": "integer" - }, - "options": { - "description": "Any connection specific options.", - "type": "string" - }, "updatedDate": { "description": "The date the data connection was last updated.", "format": "date-time", @@ -2552,49 +2566,21 @@ }, "DiscoGroupPageResponse": { "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DiscoGroupResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "nextLink": { "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoGroupResponse" + }, + "type": "array" } }, "type": "object" @@ -2618,6 +2604,10 @@ "format": "int64", "type": "integer" }, + "name": { + "description": "The name for a disco group.", + "type": "string" + }, "names": { "description": "The list of names used for the disco group runs.", "items": { @@ -2708,49 +2698,21 @@ }, "DiscoRunPageResponse": { "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DiscoRunResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "nextLink": { "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoRunResponse" + }, + "type": "array" } }, "type": "object" @@ -2848,49 +2810,21 @@ }, "DiscoTemplatePageResponse": { "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DiscoTemplateResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "nextLink": { "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoTemplateResponse" + }, + "type": "array" } }, "type": "object" @@ -3919,6 +3853,73 @@ }, "type": "object" }, + "LogAnalyticsDataConnectionProperties": { + "properties": { + "apiKey": { + "description": "log analytics api key", + "type": "string" + }, + "workspaceId": { + "description": "log analytics workspace id", + "type": "string" + } + }, + "type": "object" + }, + "ObservationPageResponse": { + "properties": { + "nextLink": { + "description": "The link to access the next page of results. Not set if at the end of the result set.", + "type": "string" + }, + "totalElements": { + "description": "The total number of items available in the full result set.", + "format": "int64", + "type": "integer" + }, + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/ObservationResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "ObservationResponse": { + "description": "The items in the current page of results.", + "properties": { + "name": { + "type": "string" + }, + "severity": { + "enum": [ + "high", + "medium", + "low", + "none" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ObservationResponseSeverity" + } + }, + "type": { + "enum": [ + "cve", + "insight" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ObservationResponseType" + } + } + }, + "type": "object" + }, "ObservedBoolean": { "properties": { "count": { @@ -4775,49 +4776,21 @@ }, "SavedFilterPageResponse": { "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/SavedFilterResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "nextLink": { "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/SavedFilterResponse" + }, + "type": "array" } }, "type": "object" @@ -5236,49 +5209,21 @@ }, "TaskPageResponse": { "properties": { - "content": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/TaskResponse" - }, - "type": "array" - }, - "first": { - "description": "Whether or not this is the first page of results.", - "type": "boolean" - }, - "last": { - "description": "Whether or not this is the last page of results.", - "type": "boolean" - }, "nextLink": { "description": "The link to access the next page of results. Not set if at the end of the result set.", "type": "string" }, - "number": { - "description": "The page number requested.", - "format": "int32", - "type": "integer" - }, - "numberOfElements": { - "description": "The number of items in the current page of results.", - "format": "int32", - "type": "integer" - }, - "size": { - "description": "The page size requested.", - "format": "int32", - "type": "integer" - }, "totalElements": { "description": "The total number of items available in the full result set.", "format": "int64", "type": "integer" }, - "totalPages": { - "description": "The total number of pages available in the full result set.", - "format": "int32", - "type": "integer" + "value": { + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/TaskResponse" + }, + "type": "array" } }, "type": "object" @@ -5549,6 +5494,74 @@ } ], "x-ms-discriminator-value": "sslCert" + }, + "LogAnalyticsDataConnectionResponse": { + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LogAnalyticsDataConnectionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataConnectionResponse" + } + ], + "x-ms-discriminator-value": "logAnalytics" + }, + "LogAnalyticsDataConnectionRequest": { + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LogAnalyticsDataConnectionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataConnectionRequest" + } + ], + "x-ms-discriminator-value": "logAnalytics" + }, + "AzureDataExplorerDataConnectionResponse": { + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AzureDataExplorerDataConnectionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataConnectionResponse" + } + ], + "x-ms-discriminator-value": "azureDataExplorer" + }, + "AzureDataExplorerDataConnectionRequest": { + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AzureDataExplorerDataConnectionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataConnectionRequest" + } + ], + "x-ms-discriminator-value": "azureDataExplorer" } }, "securityDefinitions": { diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json index a6d1c2cbd9c6..8c03fcca345c 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -13,8 +13,15 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", - "options": "SnapshotFrequency=1", + "frequency": "1", + "frequencyOffset": "1", + "body": { + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisaApiKey", + "workspaceId": "ThisisaWorkspaceId" + } + }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index 210768ff6332..f92be00c2f6f 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -21,8 +21,15 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", - "options": "SnapshotFrequency=1", + "frequency": "1", + "frequencyOffset": "1", + "body": { + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisaApiKey", + "workspaceId": "ThisisaWorkspaceId" + } + }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" }, @@ -31,8 +38,16 @@ "name": "ThisisaDataConnection2", "displayName": "ThisisaDataConnection2", "kind": "kusto", - "connectionString": "Cluster=mykustocluster.kusto.windows.net;Database=mydatabase", - "options": "SnapshotFrequency=30", + "frequency": "1", + "frequencyOffset": "1", + "body": { + "kind": "logAnalytics", + "properties": { + "clusterName": "ThisisaClusterName", + "region": "ThisisaRegion", + "databaseName": "ThisisaDatabaseName" + } + }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json index a9472c55b563..00abf777ab9f 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -5,10 +5,14 @@ "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", "dataConnectionName": "ThisisaDataConnection", + "frequency": "1", + "frequencyOffset": "1", "body": { "kind": "logAnalytics", - "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", - "options": "SnapshotFrequency=1" + "properties": { + "apiKey": "ThisisaApiKey", + "workspaceId": "ThisisaWorkspaceId" + } } }, "responses": { diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json index 4e39edd54c59..c57e1e700aaa 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -5,10 +5,14 @@ "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", "dataConnectionName": "ThisisaDataConnection", + "frequency": "1", + "frequencyOffset": "1", "body": { "kind": "logAnalytics", - "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", - "options": "SnapshotFrequency=1" + "properties": { + "apiKey": "ThisisaApiKey", + "workspaceId": "ThisisaWorkspaceId" + } } }, "responses": { From e59e79fb4254671e7f3fcdb566afeecb7621e51f Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 16:28:56 -0500 Subject: [PATCH 06/14] Update List operations examples and add Assets_Observations example --- .../examples/Assets_List.json | 12 +++------ .../examples/Assets_Observations.json | 25 +++++++++++++++++++ .../examples/DataConnections_List.json | 10 +++----- .../examples/DiscoveryGroups_List.json | 8 +----- .../examples/DiscoveryGroups_ListRuns.json | 9 ++----- .../examples/DiscoveryTemplates_List.json | 6 ----- .../examples/SavedFilters_List.json | 6 ----- .../examples/Tasks_List.json | 6 ----- 8 files changed, 34 insertions(+), 48 deletions(-) create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json index 40dbb5e221e2..63677324b0e5 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json @@ -12,12 +12,8 @@ "200": { "body": { "totalElements": 50000, - "totalPages": 10000, - "last": false, - "numberOfElements": 5, - "first": true, - "size": 5, - "number": 0, + "mark": null, + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2023-03-01-preview", "content": [ { "id": "host$$contoso.net", @@ -3896,9 +3892,7 @@ "auditTrail": null, "reason": null } - ], - "mark": null, - "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2023-03-01-preview" + ] } } } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json new file mode 100644 index 000000000000..5f54cbcc0468 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "assetId": "aG9zdCQkY29udG9zby5jb20" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "mark": null, + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets/host$$contoso.net/observations?skip=1&maxpagesize=1&api-version=2023-03-01-preview", + "value": [ + { + "name": "ThisisObservationName", + "severity": "high", + "type": "cve" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index f92be00c2f6f..707b3d3eb62e 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -9,13 +9,9 @@ "200": { "body": { "totalElements": 2, - "totalPages": 1, - "last": true, - "numberOfElements": 2, - "first": true, - "size": 2, - "number": 0, - "content": [ + "mark": null, + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/dataConnections?maxpagesize=25&api-version=2023-03-01-preview", + "value": [ { "id": "ThisisaDataConnection", "name": "ThisisaDataConnection", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json index c42879a696aa..a20573e3af6c 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json @@ -9,13 +9,7 @@ "200": { "body": { "totalElements": 3, - "totalPages": 1, - "last": true, - "numberOfElements": 3, - "first": true, - "size": 3, - "number": 0, - "content": [ + "value": [ { "id": "ThisisaDiscoGroup", "name": "ThisisaDiscoGroup", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json index 6607f8fce340..e14b8d6fb4a8 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json @@ -9,13 +9,8 @@ "responses": { "200": { "body": { - "totalElements": 2, - "totalPages": 1, - "last": true, - "numberOfElements": 2, - "first": true, - "size": 20, - "number": 0, + "totalElements": 45, + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/discoGroups/ThisisaDiscoGroup/runs?skip=1&maxpagesize=2&api-version=2023-03-01-preview", "content": [ { "submittedDate": "2022-03-29T23:10:01.000+00:00", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json index fdd75fe8fcbc..c69788d744be 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json @@ -9,12 +9,6 @@ "200": { "body": { "totalElements": 1, - "totalPages": 1, - "last": true, - "numberOfElements": 1, - "first": true, - "size": 20, - "number": 0, "content": [ { "id": "12345", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json index 4450c7a38950..8a48e98c876c 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json @@ -10,12 +10,6 @@ "200": { "body": { "totalElements": 2, - "totalPages": 1, - "last": true, - "numberOfElements": 2, - "first": true, - "size": 2, - "number": 0, "content": [ { "id": "ThisisaSavedFilter", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json index 4066946a2be2..5177589a4697 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json @@ -10,12 +10,6 @@ "200": { "body": { "totalElements": 2, - "totalPages": 1, - "last": true, - "numberOfElements": 2, - "first": true, - "size": 2, - "number": 0, "content": [ { "id": "ThisisaTaskId", From 9de4bae22e672ad74f50af2ae4e9415812758cfe Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 16:47:32 -0500 Subject: [PATCH 07/14] Update model of examples --- .../examples/Assets_List.json | 2 +- .../examples/Assets_Observations.json | 1 - .../examples/DataConnections_Get.json | 13 ++++----- .../examples/DataConnections_List.json | 29 +++++++------------ .../examples/DataConnections_Put.json | 9 ++---- .../examples/DataConnections_Validate.json | 10 ++----- .../examples/DiscoveryGroups_ListRuns.json | 2 +- .../examples/DiscoveryTemplates_List.json | 2 +- .../examples/Reports_Snapshot.json | 9 ++---- .../examples/SavedFilters_List.json | 2 +- .../examples/Tasks_List.json | 2 +- 11 files changed, 28 insertions(+), 53 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json index 63677324b0e5..ba42fd29e5f5 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json @@ -14,7 +14,7 @@ "totalElements": 50000, "mark": null, "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2023-03-01-preview", - "content": [ + "value": [ { "id": "host$$contoso.net", "name": "contoso.net", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json index 5f54cbcc0468..39b565680379 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json @@ -10,7 +10,6 @@ "200": { "body": { "totalElements": 2, - "mark": null, "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets/host$$contoso.net/observations?skip=1&maxpagesize=1&api-version=2023-03-01-preview", "value": [ { diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json index 8c03fcca345c..b52220b9d809 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -13,14 +13,11 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "frequency": "1", - "frequencyOffset": "1", - "body": { - "kind": "logAnalytics", - "properties": { - "apiKey": "ThisisaApiKey", - "workspaceId": "ThisisaWorkspaceId" - } + "frequency": 1, + "frequencyOffset": 1, + "properties": { + "apiKey": "ThisisaApiKey", + "workspaceId": "ThisisaWorkspaceId" }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index 707b3d3eb62e..a11061715823 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -9,7 +9,6 @@ "200": { "body": { "totalElements": 2, - "mark": null, "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/dataConnections?maxpagesize=25&api-version=2023-03-01-preview", "value": [ { @@ -17,14 +16,11 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "frequency": "1", - "frequencyOffset": "1", - "body": { - "kind": "logAnalytics", - "properties": { - "apiKey": "ThisisaApiKey", - "workspaceId": "ThisisaWorkspaceId" - } + "frequency": 1, + "frequencyOffset": 1, + "properties": { + "apiKey": "ThisisaApiKey", + "workspaceId": "ThisisaWorkspaceId" }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" @@ -34,15 +30,12 @@ "name": "ThisisaDataConnection2", "displayName": "ThisisaDataConnection2", "kind": "kusto", - "frequency": "1", - "frequencyOffset": "1", - "body": { - "kind": "logAnalytics", - "properties": { - "clusterName": "ThisisaClusterName", - "region": "ThisisaRegion", - "databaseName": "ThisisaDatabaseName" - } + "frequency": 1, + "frequencyOffset": 1, + "properties": { + "clusterName": "ThisisaClusterName", + "region": "ThisisaRegion", + "databaseName": "ThisisaDatabaseName" }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json index 00abf777ab9f..72037e7b78c1 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -5,14 +5,10 @@ "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", "dataConnectionName": "ThisisaDataConnection", - "frequency": "1", - "frequencyOffset": "1", "body": { "kind": "logAnalytics", - "properties": { - "apiKey": "ThisisaApiKey", - "workspaceId": "ThisisaWorkspaceId" - } + "frequency": 1, + "frequencyOffset": 1 } }, "responses": { @@ -22,7 +18,6 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "connectionString": "WorkspaceId=00000000-0000-0000-0000-000000000000", "options": "SnapshotFrequency=1", "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json index c57e1e700aaa..bd271d1f5074 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -4,15 +4,11 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "workspaceName": "ThisisaWorkspace", - "dataConnectionName": "ThisisaDataConnection", - "frequency": "1", - "frequencyOffset": "1", "body": { "kind": "logAnalytics", - "properties": { - "apiKey": "ThisisaApiKey", - "workspaceId": "ThisisaWorkspaceId" - } + "frequency": 1, + "frequencyOffset": 1, + "dataConnectionName": "ThisisaDataConnection" } }, "responses": { diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json index e14b8d6fb4a8..a4dc8c4476bf 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json @@ -11,7 +11,7 @@ "body": { "totalElements": 45, "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/discoGroups/ThisisaDiscoGroup/runs?skip=1&maxpagesize=2&api-version=2023-03-01-preview", - "content": [ + "value": [ { "submittedDate": "2022-03-29T23:10:01.000+00:00", "startedDate": "2022-03-29T23:10:32.000+00:00", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json index c69788d744be..d5ee4f0cce40 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json @@ -9,7 +9,7 @@ "200": { "body": { "totalElements": 1, - "content": [ + "value": [ { "id": "12345", "name": "ThisisaDiscoTemplate", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json index 5233d2d468c0..f8ce3f67c700 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json @@ -20,13 +20,8 @@ "description": "Metric description.", "assets": { "totalElements": 200, - "totalPages": 40, - "last": false, - "numberOfElements": 5, - "first": true, - "size": 5, - "number": 0, - "content": [ + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/reports/assets:getSnapshot?skip=1&maxpagesize=25&api-version=2023-03-01-preview", + "value": [ { "id": "host$$contoso.com", "name": "contoso.com", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json index 8a48e98c876c..cfc5b5847242 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json @@ -10,7 +10,7 @@ "200": { "body": { "totalElements": 2, - "content": [ + "value": [ { "id": "ThisisaSavedFilter", "name": "ThisisaSavedFilter", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json index 5177589a4697..c165c6150319 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json @@ -10,7 +10,7 @@ "200": { "body": { "totalElements": 2, - "content": [ + "value": [ { "id": "ThisisaTaskId", "startedAt": "2022-05-02T19:30:14.432+00:00", From 4acd5e609f2a5bbddb86eff41d903304257aae12 Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 17:00:13 -0500 Subject: [PATCH 08/14] Update data connections examples --- .../examples/DataConnections_Get.json | 2 +- .../examples/DataConnections_List.json | 13 ++----------- .../examples/DataConnections_Put.json | 3 +-- .../examples/DataConnections_Validate.json | 4 ++-- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json index b52220b9d809..254ef4ae8169 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -13,7 +13,7 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "frequency": 1, + "frequency": "weekly", "frequencyOffset": 1, "properties": { "apiKey": "ThisisaApiKey", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index a11061715823..790752cf2d35 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -16,12 +16,8 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "frequency": 1, + "frequency": "weekly", "frequencyOffset": 1, - "properties": { - "apiKey": "ThisisaApiKey", - "workspaceId": "ThisisaWorkspaceId" - }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" }, @@ -30,13 +26,8 @@ "name": "ThisisaDataConnection2", "displayName": "ThisisaDataConnection2", "kind": "kusto", - "frequency": 1, + "frequency": "weekly", "frequencyOffset": 1, - "properties": { - "clusterName": "ThisisaClusterName", - "region": "ThisisaRegion", - "databaseName": "ThisisaDatabaseName" - }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json index 72037e7b78c1..6f5cf2a3c9a2 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -7,7 +7,7 @@ "dataConnectionName": "ThisisaDataConnection", "body": { "kind": "logAnalytics", - "frequency": 1, + "frequency": "weekly", "frequencyOffset": 1 } }, @@ -18,7 +18,6 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", - "options": "SnapshotFrequency=1", "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json index bd271d1f5074..71509a1f0165 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -6,9 +6,9 @@ "workspaceName": "ThisisaWorkspace", "body": { "kind": "logAnalytics", - "frequency": 1, + "frequency": "weekly", "frequencyOffset": 1, - "dataConnectionName": "ThisisaDataConnection" + "name": "ThisisaDataConnection" } }, "responses": { From 1021d629347484b557f15ce6f793eab9e91e38ee Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 17:07:26 -0500 Subject: [PATCH 09/14] Remove properties field from DataConnections_Get example --- .../2023-03-01-preview/examples/DataConnections_Get.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json index 254ef4ae8169..a8a92b63dc96 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -15,10 +15,6 @@ "kind": "logAnalytics", "frequency": "weekly", "frequencyOffset": 1, - "properties": { - "apiKey": "ThisisaApiKey", - "workspaceId": "ThisisaWorkspaceId" - }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } From f1b052dd96370a4888da771d4e9194535df7902d Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 17:20:29 -0500 Subject: [PATCH 10/14] add discriminator to data connection base classes --- .../preview/2023-03-01-preview/easm.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 44a03754b336..3a2b58c4ee90 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -2390,7 +2390,11 @@ "type": "string" } }, - "type": "object" + "type": "object", + "discriminator": "kind", + "required": [ + "kind" + ] }, "DataConnectionResponse": { "properties": { @@ -2472,7 +2476,11 @@ "type": "string" } }, - "type": "object" + "type": "object", + "discriminator": "kind", + "required": [ + "kind" + ] }, "DependentResource": { "properties": { From fa3cac6a111c70581937b5909149f07aad0cb4fe Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 17:32:33 -0500 Subject: [PATCH 11/14] Add properties to examples --- .../preview/2023-03-01-preview/easm.json | 3 --- .../examples/DataConnections_Get.json | 4 ++++ .../examples/DataConnections_List.json | 11 ++++++++++- .../examples/DataConnections_Put.json | 4 ++++ .../examples/DataConnections_Validate.json | 4 ++++ 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 3a2b58c4ee90..b48d302c1804 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -866,9 +866,6 @@ { "$ref": "#/parameters/ApiVersionParameter" }, - { - "$ref": "#/parameters/DiscoGroupNameParameter" - }, { "in": "body", "name": "body", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json index a8a92b63dc96..f202256272a7 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -15,6 +15,10 @@ "kind": "logAnalytics", "frequency": "weekly", "frequencyOffset": 1, + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index 790752cf2d35..004f8ef24ea5 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -18,6 +18,10 @@ "kind": "logAnalytics", "frequency": "weekly", "frequencyOffset": 1, + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" }, @@ -25,7 +29,12 @@ "id": "ThisisaDataConnection2", "name": "ThisisaDataConnection2", "displayName": "ThisisaDataConnection2", - "kind": "kusto", + "kind": "azureDataExplorer", + "properties": { + "clusterName": "ThisisClusterName", + "region": "ThisisRegion", + "datanaseName": "ThisisDatabaseName" + }, "frequency": "weekly", "frequencyOffset": 1, "createdDate": "2022-05-02T19:30:14.432+00:00", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json index 6f5cf2a3c9a2..5cf68789a143 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -18,6 +18,10 @@ "name": "ThisisaDataConnection", "displayName": "ThisisaDataConnection", "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, "createdDate": "2022-05-02T19:30:14.432+00:00", "updatedDate": "2022-05-02T19:30:14.432+00:00" } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json index 71509a1f0165..4130e639d649 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -6,6 +6,10 @@ "workspaceName": "ThisisaWorkspace", "body": { "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, "frequency": "weekly", "frequencyOffset": 1, "name": "ThisisaDataConnection" From fa9d76c29ffa86fc9645e212e6418dfe15fc427d Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 25 Apr 2023 20:22:42 -0500 Subject: [PATCH 12/14] Fix typos --- .../2023-03-01-preview/examples/DataConnections_List.json | 2 +- .../2023-03-01-preview/examples/DataConnections_Put.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json index 004f8ef24ea5..92378f5ef234 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -33,7 +33,7 @@ "properties": { "clusterName": "ThisisClusterName", "region": "ThisisRegion", - "datanaseName": "ThisisDatabaseName" + "databaseName": "ThisisDatabaseName" }, "frequency": "weekly", "frequencyOffset": 1, diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json index 5cf68789a143..540c9f8025b7 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -7,6 +7,10 @@ "dataConnectionName": "ThisisaDataConnection", "body": { "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, "frequency": "weekly", "frequencyOffset": 1 } From 73f7ec4c0c41101fc0753346557fcce78d77731d Mon Sep 17 00:00:00 2001 From: thang-bit Date: Tue, 9 May 2023 10:40:26 -0500 Subject: [PATCH 13/14] Remove assets observations endpoint and its example --- .../preview/2023-03-01-preview/easm.json | 119 ------------------ .../examples/Assets_Observations.json | 24 ---- 2 files changed, 143 deletions(-) delete mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index b48d302c1804..cb41ffd0d5c1 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -202,71 +202,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/assets/{assetId}/observations": { - "get": { - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/AssetIdParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/OrderByParameter" - }, - { - "$ref": "#/parameters/SkipParameter" - }, - { - "$ref": "#/parameters/MaxPageSizeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ObservationPageResponse" - } - }, - "default": { - "description": "Error", - "headers": { - "x-ms-error-code": { - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "tags": [ - "Assets" - ], - "operationId": "Assets_Observations", - "summary": "Retrieve observations on an asset.", - "x-ms-examples": { - "Assets": { - "$ref": "./examples/Assets_Observations.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections": { "get": { "produces": [ @@ -3871,60 +3806,6 @@ }, "type": "object" }, - "ObservationPageResponse": { - "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", - "type": "string" - }, - "totalElements": { - "description": "The total number of items available in the full result set.", - "format": "int64", - "type": "integer" - }, - "value": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/ObservationResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObservationResponse": { - "description": "The items in the current page of results.", - "properties": { - "name": { - "type": "string" - }, - "severity": { - "enum": [ - "high", - "medium", - "low", - "none" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ObservationResponseSeverity" - } - }, - "type": { - "enum": [ - "cve", - "insight" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ObservationResponseType" - } - } - }, - "type": "object" - }, "ObservedBoolean": { "properties": { "count": { diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json deleted file mode 100644 index 39b565680379..000000000000 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Observations.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "dummyrg", - "workspaceName": "ThisisaWorkspace", - "assetId": "aG9zdCQkY29udG9zby5jb20" - }, - "responses": { - "200": { - "body": { - "totalElements": 2, - "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets/host$$contoso.net/observations?skip=1&maxpagesize=1&api-version=2023-03-01-preview", - "value": [ - { - "name": "ThisisObservationName", - "severity": "high", - "type": "cve" - } - ] - } - } - } -} From 877c9dd7a6f75be8355a982280e5aeb91b59515a Mon Sep 17 00:00:00 2001 From: thang-bit Date: Mon, 15 May 2023 11:51:10 -0500 Subject: [PATCH 14/14] the `value` property of a pageable responses is required --- .../preview/2023-03-01-preview/easm.json | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index cb41ffd0d5c1..9f3abffa1132 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -1737,6 +1737,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "AssetResponse": { @@ -2271,6 +2274,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "DataConnectionRequest": { @@ -2523,6 +2529,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "DiscoGroupRequest": { @@ -2655,6 +2664,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "DiscoRunResponse": { @@ -2767,6 +2779,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "DiscoTemplateResponse": { @@ -4679,6 +4694,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "SavedFilterRequest": { @@ -5112,6 +5130,9 @@ "type": "array" } }, + "required": [ + "value" + ], "type": "object" }, "TaskResponse": {