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..9f3abffa1132 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -0,0 +1,5656 @@ +{ + "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": "2023-03-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:validate": { + "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/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:validate": { + "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/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/OrderByParameter" + }, + { + "$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": { + "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" + }, + "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/AssetResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "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" + }, + "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": { + "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": { + "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/DataConnectionResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "DataConnectionRequest": { + "properties": { + "content": { + "description": "The type of data the data connection will transfer.", + "enum": [ + "assets", + "attackSurfaceInsights" + ], + "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" + } + }, + "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": [ + "logAnalytics", + "azureDataExplorer" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DataConnectionRequestKind" + } + }, + "name": { + "description": "The name of data connection", + "type": "string" + } + }, + "type": "object", + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "DataConnectionResponse": { + "properties": { + "active": { + "description": "An indicator of whether the data connection is active.", + "type": "boolean" + }, + "content": { + "description": "The type of data the data connection will transfer", + "enum": [ + "assets", + "attackSurfaceInsights" + ], + "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" + } + }, + "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" + }, + "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" + }, + "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", + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "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": { + "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/DiscoGroupResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "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" + }, + "name": { + "description": "The name for a disco group.", + "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" + }, + "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": { + "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/DiscoRunResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "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": { + "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/DiscoTemplateResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "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" + }, + "LogAnalyticsDataConnectionProperties": { + "properties": { + "apiKey": { + "description": "log analytics api key", + "type": "string" + }, + "workspaceId": { + "description": "log analytics workspace id", + "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": { + "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/SavedFilterResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "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": { + "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/TaskResponse" + }, + "type": "array" + } + }, + "required": [ + "value" + ], + "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" + }, + "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": { + "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..7a413bc70ee3 --- /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": "2023-03-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..ba42fd29e5f5 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json @@ -0,0 +1,3899 @@ +{ + "parameters": { + "api-version": "2023-03-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, + "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", + "value": [ + { + "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 + } + ] + } + } + } +} 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..1924b7da718a --- /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": "2023-03-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_Delete.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json new file mode 100644 index 000000000000..3e0c1417f4b5 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2023-03-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_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json new file mode 100644 index 000000000000..f202256272a7 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-03-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", + "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 new file mode 100644 index 000000000000..92378f5ef234 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "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", + "displayName": "ThisisaDataConnection", + "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" + }, + { + "id": "ThisisaDataConnection2", + "name": "ThisisaDataConnection2", + "displayName": "ThisisaDataConnection2", + "kind": "azureDataExplorer", + "properties": { + "clusterName": "ThisisClusterName", + "region": "ThisisRegion", + "databaseName": "ThisisDatabaseName" + }, + "frequency": "weekly", + "frequencyOffset": 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_Put.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json new file mode 100644 index 000000000000..540c9f8025b7 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection", + "body": { + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, + "frequency": "weekly", + "frequencyOffset": 1 + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDataConnection", + "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 new file mode 100644 index 000000000000..4130e639d649 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, + "frequency": "weekly", + "frequencyOffset": 1, + "name": "ThisisaDataConnection" + } + }, + "responses": { + "200": { + "body": { + "error": null + } + } + } +} 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..d55c7eeaae18 --- /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": "2023-03-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..a20573e3af6c --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 3, + "value": [ + { + "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..a4dc8c4476bf --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "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", + "value": [ + { + "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..e4c6f3198cda --- /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": "2023-03-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..ad1267de271f --- /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": "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/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..4c245397f8e5 --- /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": "2023-03-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..bea93340588b --- /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": "2023-03-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..d5ee4f0cce40 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 1, + "value": [ + { + "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..a9589c48a5b9 --- /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": "2023-03-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..f8ce3f67c700 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json @@ -0,0 +1,1135 @@ +{ + "parameters": { + "api-version": "2023-03-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, + "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", + "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..31c716783cc5 --- /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": "2023-03-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..e493ece78f99 --- /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": "2023-03-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..31c57bb9b84a --- /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": "2023-03-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..99ab44077f9b --- /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": "2023-03-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..44cf79a499d7 --- /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": "2023-03-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..4fdd02faf829 --- /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": "2023-03-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..5fbd9545d85f --- /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": "2023-03-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..cfc5b5847242 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "value": [ + { + "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..b0ee9d3ab5b4 --- /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": "2023-03-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..6e14cd16106a --- /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": "2023-03-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..6e14cd16106a --- /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": "2023-03-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..c165c6150319 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "value": [ + { + "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" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/readme.md b/specification/riskiq/data-plane/readme.md index accd064985ff..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 @@ -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.