From 1fe1bff7466c99bc6e00616a10819ca80b0db32d Mon Sep 17 00:00:00 2001 From: Juyoung Song Date: Tue, 28 May 2024 18:33:34 -0700 Subject: [PATCH] [Defender (RiskIQ) - EASM] Api version 2024-03-01-preview (#28322) * adding new and updated endpoints to azure review * update respective swagger file for version 2024-03-01 * fixing Swagger pipeline check failures * update client file with new endpoints, small naming convention changes * update the swagger file * adding examples * files didn't get added * fixing more checks * fixing cspell format * fixing more checks * fixing more examples * adding second set of examples * fixing diffs * changing POST to have request body when needed * ran prettier * ran prettier again * change model names to fit requirements * easm.json * projectedName deprecated * enums deprecated * prettier * updated swagger * test pipeline * sync up with upstream * revert changes in 2023-03-01-preview/easm.json, which shouldn't be touched * update dependecies and the swagger json file * remove dismissSeedChain endpoint * fix swagger spell error * add documentations for newly added models * try adding doc for the Versions enum * add discogroup delete, modify aseetChian realted apis * correct examples for assetChain related endpoints * dismissAssetChain should be resourceCollectionAction * remove word body from request, update some property from optional to required * add doc to enums * fix a typo and update dependecies using npm ci * Updated type to types and daysPrior to priorDays * Updated naming conventions for daysPrior to priorDays and type to types * update daysPrior to priorDays in examples files * update doc for dismiss asset chain --------- Co-authored-by: Juyoung Song Co-authored-by: Adam An Co-authored-by: Alex Williams --- cSpell.json | 10 +- specification/riskiq/Easm/client.tsp | 16 +- ...ssets_GetAssetResource_MaximumSet_Gen.json | 1040 +++ .../Assets_GetAssetsExport.json | 33 + .../Assets_GetDeltaDetails.json | 46 + .../Assets_GetDeltaSummary.json | 106 + .../Assets_GetObservations.json | 24 + ...sets_ListAssetResource_MaximumSet_Gen.json | 3901 +++++++++ .../Assets_UpdateAssets_MaximumSet_Gen.json | 31 + .../2024-03-01-preview/CisaCves_Get.json | 28 + .../2024-03-01-preview/CisaCves_List.json | 46 + ...rReplaceDataConnection_MaximumSet_Gen.json | 36 + ...s_DeleteDataConnection_MaximumSet_Gen.json | 14 + ...ions_GetDataConnection_MaximumSet_Gen.json | 29 + ...ons_ListDataConnection_MaximumSet_Gen.json | 49 + ...ValidateDataConnection_MaximumSet_Gen.json | 27 + ...ateOrReplaceDiscoGroup_MaximumSet_Gen.json | 43 + ...roups_DeleteDiscoGroup_MaximumSet_Gen.json | 14 + .../DiscoveryGroups_DismissAssetChain.json | 29 + .../DiscoveryGroups_GetAssetChainSummary.json | 39 + ...ryGroups_GetDiscoGroup_MaximumSet_Gen.json | 36 + ...yGroups_ListDiscoGroup_MaximumSet_Gen.json | 72 + ...scoveryGroups_ListRuns_MaximumSet_Gen.json | 51 + ...ryGroups_RunDiscoGroup_MaximumSet_Gen.json | 14 + ...ups_ValidateDiscoGroup_MaximumSet_Gen.json | 29 + ...lates_GetDiscoTemplate_MaximumSet_Gen.json | 43 + ...ates_ListDiscoTemplate_MaximumSet_Gen.json | 31 + .../Reports_GetBillable_MaximumSet_Gen.json | 595 ++ .../Reports_GetReportAssetSnapshotExport.json | 32 + .../Reports_GetSnapshot_MaximumSet_Gen.json | 1137 +++ .../Reports_GetSummary_MaximumSet_Gen.json | 64 + ...teOrReplaceSavedFilter_MaximumSet_Gen.json | 26 + ...ters_DeleteSavedFilter_MaximumSet_Gen.json | 14 + ...Filters_GetSavedFilter_MaximumSet_Gen.json | 22 + ...ilters_ListSavedFilter_MaximumSet_Gen.json | 34 + .../Tasks_CancelTask_MaximumSet_Gen.json | 24 + .../Tasks_DownloadTask.json | 24 + .../Tasks_GetTask_MaximumSet_Gen.json | 24 + .../Tasks_ListTask_MaximumSet_Gen.json | 38 + .../2024-03-01-preview/Tasks_RunTask.json | 24 + specification/riskiq/Easm/main.tsp | 4 + specification/riskiq/Easm/models.tsp | 477 +- specification/riskiq/Easm/routes.tsp | 94 + .../preview/2024-03-01-preview/easm.json | 7174 +++++++++++++++++ ...ssets_GetAssetResource_MaximumSet_Gen.json | 1040 +++ .../examples/Assets_GetAssetsExport.json | 33 + .../examples/Assets_GetDeltaDetails.json | 46 + .../examples/Assets_GetDeltaSummary.json | 106 + .../examples/Assets_GetObservations.json | 24 + ...sets_ListAssetResource_MaximumSet_Gen.json | 3901 +++++++++ .../Assets_UpdateAssets_MaximumSet_Gen.json | 31 + .../examples/CisaCves_Get.json | 28 + .../examples/CisaCves_List.json | 46 + ...rReplaceDataConnection_MaximumSet_Gen.json | 36 + ...s_DeleteDataConnection_MaximumSet_Gen.json | 14 + ...ions_GetDataConnection_MaximumSet_Gen.json | 29 + ...ons_ListDataConnection_MaximumSet_Gen.json | 49 + ...ValidateDataConnection_MaximumSet_Gen.json | 27 + ...ateOrReplaceDiscoGroup_MaximumSet_Gen.json | 43 + ...roups_DeleteDiscoGroup_MaximumSet_Gen.json | 14 + .../DiscoveryGroups_DismissAssetChain.json | 29 + .../DiscoveryGroups_GetAssetChainSummary.json | 39 + ...ryGroups_GetDiscoGroup_MaximumSet_Gen.json | 36 + ...yGroups_ListDiscoGroup_MaximumSet_Gen.json | 72 + ...scoveryGroups_ListRuns_MaximumSet_Gen.json | 51 + ...ryGroups_RunDiscoGroup_MaximumSet_Gen.json | 14 + ...ups_ValidateDiscoGroup_MaximumSet_Gen.json | 29 + ...lates_GetDiscoTemplate_MaximumSet_Gen.json | 43 + ...ates_ListDiscoTemplate_MaximumSet_Gen.json | 31 + .../Reports_GetBillable_MaximumSet_Gen.json | 595 ++ .../Reports_GetReportAssetSnapshotExport.json | 32 + .../Reports_GetSnapshot_MaximumSet_Gen.json | 1137 +++ .../Reports_GetSummary_MaximumSet_Gen.json | 64 + ...teOrReplaceSavedFilter_MaximumSet_Gen.json | 26 + ...ters_DeleteSavedFilter_MaximumSet_Gen.json | 14 + ...Filters_GetSavedFilter_MaximumSet_Gen.json | 22 + ...ilters_ListSavedFilter_MaximumSet_Gen.json | 34 + .../Tasks_CancelTask_MaximumSet_Gen.json | 24 + .../examples/Tasks_DownloadTask.json | 24 + .../Tasks_GetTask_MaximumSet_Gen.json | 24 + .../Tasks_ListTask_MaximumSet_Gen.json | 38 + .../examples/Tasks_RunTask.json | 24 + specification/riskiq/data-plane/readme.md | 41 +- 83 files changed, 23538 insertions(+), 16 deletions(-) create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetsExport.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaDetails.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaSummary.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetObservations.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_Get.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_List.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DismissAssetChain.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetAssetChainSummary.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetReportAssetSnapshotExport.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_DownloadTask.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json create mode 100644 specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_RunTask.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetsExport.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaDetails.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaSummary.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetObservations.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_Get.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_List.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_DismissAssetChain.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetAssetChainSummary.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetReportAssetSnapshotExport.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_DownloadTask.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json create mode 100644 specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_RunTask.json diff --git a/cSpell.json b/cSpell.json index 5930b5275bdd..cbc2985252ac 100644 --- a/cSpell.json +++ b/cSpell.json @@ -865,7 +865,6 @@ "psqldb" ] }, - { "filename": "**/specification/maps/data-plane/Weather/stable/1.1/weather.json", "words": [ @@ -1258,6 +1257,15 @@ "WSUS" ] }, + { + "filename": "**/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json", + "words": [ + "Cisa", + "cisa", + "affected", + "AUTOCONFIRMED" + ] + }, { "filename": "**/specification/monitor/resource-manager/Microsoft.Insights/**/actionGroups_API.json", "words": [ diff --git a/specification/riskiq/Easm/client.tsp b/specification/riskiq/Easm/client.tsp index 04c7df029fc0..d34cf77c7966 100644 --- a/specification/riskiq/Easm/client.tsp +++ b/specification/riskiq/Easm/client.tsp @@ -4,7 +4,7 @@ import "./main.tsp"; using Azure.ClientGenerator.Core; @TypeSpec.Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) -@TypeSpec.Versioning.useDependency(Easm.Versions.v2023_03_01_preview) +@TypeSpec.Versioning.useDependency(Easm.Versions.v2024_03_01_preview) namespace Customizations; @client({ @@ -16,6 +16,10 @@ interface EasmClient { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" updateAssets is Easm.Assets.updateAssets; getAssetResource is Easm.Assets.getAssetResource; + getAssetsExport is Easm.Assets.getAssetsExport; + getObservations is Easm.Assets.getObservations; + getDeltaDetails is Easm.Assets.getDeltaDetails; + getDeltaSummary is Easm.Assets.getDeltaSummary; listDataConnection is Easm.DataConnections.listDataConnection; validateDataConnection is Easm.DataConnections.validateDataConnection; @@ -27,11 +31,14 @@ interface EasmClient { listDiscoGroup is Easm.DiscoveryGroups.listDiscoGroup; validateDiscoGroup is Easm.DiscoveryGroups.validateDiscoGroup; getDiscoGroup is Easm.DiscoveryGroups.getDiscoGroup; + deleteDiscoGroup is Easm.DiscoveryGroups.deleteDiscoGroup; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" createOrReplaceDiscoGroup is Easm.DiscoveryGroups.createOrReplaceDiscoGroup; runDiscoGroup is Easm.DiscoveryGroups.runDiscoGroup; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" listRuns is Easm.DiscoveryGroups.listRuns; + getAssetChainSummary is Easm.DiscoveryGroups.getAssetChainSummary; + dismissAssetChain is Easm.DiscoveryGroups.dismissAssetChain; listDiscoTemplate is Easm.DiscoveryTemplates.listDiscoTemplate; getDiscoTemplate is Easm.DiscoveryTemplates.getDiscoTemplate; @@ -42,6 +49,8 @@ interface EasmClient { getSnapshot is Easm.Reports.getSnapshot; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" getSummary is Easm.Reports.getSummary; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + getSnapshotExport is Easm.Reports.getSnapshotExport; listSavedFilter is Easm.SavedFilters.listSavedFilter; getSavedFilter is Easm.SavedFilters.getSavedFilter; @@ -52,4 +61,9 @@ interface EasmClient { listTask is Easm.Tasks.listTask; getTask is Easm.Tasks.getTask; cancelTask is Easm.Tasks.cancelTask; + runTask is Easm.Tasks.runTask; + downloadTask is Easm.Tasks.downloadTask; + + getCisaCves is Easm.CisaCves.getCisaCves; + getCisaCve is Easm.CisaCves.getCisaCve; } diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..7401a019a715 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json @@ -0,0 +1,1040 @@ +{ + "operationId": "Assets_GetAssetResource", + "title": "Assets_GetAssetResource", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Assets_GetAssetsExport.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetsExport.json new file mode 100644 index 000000000000..f41cacbde618 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetAssetsExport.json @@ -0,0 +1,33 @@ +{ + "operationId": "Assets_GetAssetsExport", + "title": "Assets_GetAssetsExport", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "fileName": "ThisisaFileName", + "filter": "state%20%3D%20%22confirmed%22", + "orderBy": "name", + "body": { + "fileName": "ThisisaFileName", + "columns": [ + "asset", + "name" + ] + } + }, + "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/Easm/examples/2024-03-01-preview/Assets_GetDeltaDetails.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaDetails.json new file mode 100644 index 000000000000..eac409342e9d --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaDetails.json @@ -0,0 +1,46 @@ +{ + "operationId": "Assets_GetDeltaDetails", + "title": "Assets_GetDeltaDetails", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "deltaDetailType": "added", + "priorDays": 30, + "kind": "domain", + "date": "2024-03-17" + } + }, + "responses": { + "200": { + "body": { + "totalElements": 3, + "value": [ + { + "kind": "domain", + "name": "hondawallofdreams.ca", + "createdAt": "2024-02-23T18:33:06Z", + "updatedAt": "2024-02-23T18:33:06Z", + "state": "confirmed" + }, + { + "kind": "domain", + "name": "hondawallofdreamsfr.ca", + "createdAt": "2024-02-16T16:14:40Z", + "updatedAt": "2024-02-16T16:14:40Z", + "state": "confirmed" + }, + { + "kind": "domain", + "name": "parkerhonda.com", + "createdAt": "2024-03-02T07:29:01Z", + "updatedAt": "2024-03-09T09:19:23Z", + "state": "confirmed" + } + ] + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaSummary.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaSummary.json new file mode 100644 index 000000000000..93a846861411 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetDeltaSummary.json @@ -0,0 +1,106 @@ +{ + "operationId": "Assets_GetDeltaSummary", + "title": "Assets_GetDeltaSummary", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "priorDays": 30, + "date": "2024-03-17" + } + }, + "responses": { + "200": { + "body": { + "summary": { + "range": 30, + "removed": 4, + "added": 36924, + "difference": 36920, + "kindSummaries": [ + { + "kind": "ipAddress", + "removed": 0, + "added": 3, + "difference": 3 + }, + { + "kind": "contact", + "removed": 0, + "added": 0, + "difference": 0 + }, + { + "kind": "host", + "removed": 0, + "added": 11817, + "difference": 11817 + }, + { + "kind": "ipBlock", + "removed": 0, + "added": 0, + "difference": 0 + } + ] + }, + "daily": [ + { + "date": "2024-03-17T00:00:00Z", + "deltas": [ + { + "kind": "contact", + "removed": 0, + "added": 0, + "difference": 0, + "count": 61 + }, + { + "kind": "sslCert", + "removed": 0, + "added": 4, + "difference": 4, + "count": 1943 + }, + { + "kind": "domain", + "removed": 0, + "added": 0, + "difference": 0, + "count": 528 + }, + { + "kind": "ipBlock", + "removed": 0, + "added": 0, + "difference": 0, + "count": 44 + } + ] + }, + { + "date": "2024-02-17T00:00:00Z", + "deltas": [ + { + "kind": "ipAddress", + "removed": 0, + "added": 0, + "difference": 0, + "count": 331105 + }, + { + "kind": "contact", + "removed": 0, + "added": 0, + "difference": 0, + "count": 61 + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetObservations.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetObservations.json new file mode 100644 index 000000000000..a67e0be5d343 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_GetObservations.json @@ -0,0 +1,24 @@ +{ + "operationId": "Assets_GetObservations", + "title": "Assets_GetObservations", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "assetId": "aG9zdCQkY29udG9zby5jb20" + }, + "responses": { + "200": { + "body": { + "totalElements": 0, + "prioritySummary": { + "high": 0, + "medium": 0, + "low": 0 + }, + "value": [] + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..fa4ba20c9da3 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json @@ -0,0 +1,3901 @@ +{ + "operationId": "Assets_ListAssetResource", + "title": "Assets_ListAssetResource", + "parameters": { + "api-version": "2024-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://eastus.easm.defender.microsoft.com/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/Easm/examples/2024-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json new file mode 100644 index 000000000000..a0025d435808 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "Assets_UpdateAssets", + "title": "Assets_UpdateAssets", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/CisaCves_Get.json b/specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_Get.json new file mode 100644 index 000000000000..7b322105a40a --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_Get.json @@ -0,0 +1,28 @@ +{ + "operationId": "CisaCves_GetCisaCve", + "title": "CisaCves_GetCisaCve", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "cveId": "CVE-2021-40438" + }, + "responses": { + "200": { + "body": { + "cveId": "CVE-0000-00000", + "vendorProject": "Apache", + "product": "Apache", + "vulnerabilityName": "Apache HTTP Server-Side Request Forgery (SSRF)", + "shortDescription": "A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.", + "requiredAction": "Apply updates per vendor instructions.", + "notes": "", + "dateAdded": "2022-12-09T06:01:35.000+00:00", + "dueDate": "2022-12-09T06:01:35.000+00:00", + "updatedAt": "2022-12-10T06:01:35.000+00:00", + "count": 121 + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_List.json b/specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_List.json new file mode 100644 index 000000000000..934403497f08 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/CisaCves_List.json @@ -0,0 +1,46 @@ +{ + "operationId": "CisaCves_GetCisaCves", + "title": "CisaCves_GetCisaCves", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "nextLink": "https://eastus.easm.defender.microsoft.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/cisacves/api-version=2023-03-01-preview", + "value": [ + { + "cveId": "CVE-2000-0000", + "vendorProject": "Apache", + "product": "Apache", + "vulnerabilityName": "Apache HTTP Server-Side Request Forgery (SSRF)", + "shortDescription": "A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.", + "requiredAction": "Apply updates per vendor instructions.", + "notes": "", + "dateAdded": "2022-12-09T06:01:35.000+00:00", + "dueDate": "2022-12-09T06:01:35.000+00:00", + "updatedAt": "2022-12-10T06:01:35.000+00:00", + "count": 121 + }, + { + "cveId": "CVE-2000-0000", + "vendorProject": "Apache", + "product": "Tomcat", + "vulnerabilityName": "Apache Tomcat Remote Code Execution Vulnerability", + "shortDescription": "Apache Tomcat contains an unspecified vulnerability that allows for remote code execution if JmxRemoteLifecycleListener is used and an attacker can reach Java Management Extension (JMX) ports. This CVE exists because this listener wasn't updated for consistency with the Oracle patched issues for CVE-2016-3427 which affected credential types.", + "requiredAction": "Apply updates per vendor instructions.", + "notes": "https://tomcat.apache.org/security-9.html", + "dateAdded": "2022-12-09T06:01:35.000+00:00", + "dueDate": "2022-12-09T06:01:35.000+00:00", + "updatedAt": "2022-12-10T06:01:35.000+00:00", + "count": 1 + } + ] + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..383eda683065 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "operationId": "DataConnections_CreateOrReplaceDataConnection", + "title": "DataConnections_CreateOrReplaceDataConnection", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..57a9c6573a25 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DataConnections_DeleteDataConnection", + "title": "DataConnections_DeleteDataConnection", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..c50651b95e95 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "operationId": "DataConnections_GetDataConnection", + "title": "DataConnections_GetDataConnection", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..89c7c6b3b06e --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "operationId": "DataConnections_ListDataConnection", + "title": "DataConnections_ListDataConnection", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "nextLink": "https://eastus.easm.defender.microsoft.com/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/Easm/examples/2024-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..5230f4a8bceb --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "operationId": "DataConnections_ValidateDataConnection", + "title": "DataConnections_ValidateDataConnection", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..3bc3caad1501 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "operationId": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "title": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..66d166ccd5a4 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DiscoveryGroups_DeleteDiscoGroup", + "title": "DiscoveryGroups_DeleteDiscoGroup", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DismissAssetChain.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DismissAssetChain.json new file mode 100644 index 000000000000..9f33c9a5851e --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_DismissAssetChain.json @@ -0,0 +1,29 @@ +{ + "operationId": "DiscoveryGroups_DismissAssetChain", + "title": "DiscoveryGroups_DismissAssetChain", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "assetChainSource": "ASSET", + "sourceIds": [ + "DOMAIN$$contoso.com" + ] + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2024-05-02T19:30:14.432+00:00", + "completedAt": "2024-05-02T19:30:54.432+00:00", + "lastPolledAt": "2024-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetAssetChainSummary.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetAssetChainSummary.json new file mode 100644 index 000000000000..7b6a99541487 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetAssetChainSummary.json @@ -0,0 +1,39 @@ +{ + "operationId": "DiscoveryGroups_GetAssetChainSummary", + "title": "DiscoveryGroups_GetAssetChainSummary", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "assetChainSource": "ASSET", + "sourceIds": [ + "DOMAIN$$contoso.com" + ] + } + }, + "responses": { + "200": { + "body": { + "affectedAssetsSummary": [ + { + "kind": "host", + "affectedCount": 1473 + }, + { + "kind": "page", + "affectedCount": 1235 + } + ], + "affectedGroupsSummary": [ + { + "id": "Contoso Corporation", + "name": "Contoso Corporation", + "displayName": "Contoso Corporation" + } + ] + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..04fcba52a318 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "operationId": "DiscoveryGroups_GetDiscoGroup", + "title": "DiscoveryGroups_GetDiscoGroup", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8fb79d89a420 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,72 @@ +{ + "operationId": "DiscoveryGroups_ListDiscoGroup", + "title": "DiscoveryGroups_ListDiscoGroup", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json new file mode 100644 index 000000000000..d85e5b2db497 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "operationId": "DiscoveryGroups_ListRuns", + "title": "DiscoveryGroups_ListRuns", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "body": { + "totalElements": 45, + "nextLink": "https://eastus.easm.defender.microsoft.com/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/Easm/examples/2024-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..525206a2ba95 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DiscoveryGroups_RunDiscoGroup", + "title": "DiscoveryGroups_RunDiscoGroup", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..beec98746463 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "operationId": "DiscoveryGroups_ValidateDiscoGroup", + "title": "DiscoveryGroups_ValidateDiscoGroup", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json new file mode 100644 index 000000000000..60ed3017c836 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "operationId": "DiscoveryTemplates_GetDiscoTemplate", + "title": "DiscoveryTemplates_GetDiscoTemplate", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json new file mode 100644 index 000000000000..a4cd990a7ff0 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "DiscoveryTemplates_ListDiscoTemplate", + "title": "DiscoveryTemplates_ListDiscoTemplate", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json new file mode 100644 index 000000000000..0e61bd87c00e --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json @@ -0,0 +1,595 @@ +{ + "operationId": "Reports_GetBillable", + "title": "Reports_GetBillable", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Reports_GetReportAssetSnapshotExport.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetReportAssetSnapshotExport.json new file mode 100644 index 000000000000..efc5d6794367 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetReportAssetSnapshotExport.json @@ -0,0 +1,32 @@ +{ + "operationId": "Reports_GetSnapshotExport", + "title": "Reports_GetSnapshotExport", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metric": "ThisisaMetricName", + "fileName": "exportedFileName", + "columns": [ + "Column1", + "Column2", + "Column3" + ] + } + }, + "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/Easm/examples/2024-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json new file mode 100644 index 000000000000..9a0e274f8d1e --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json @@ -0,0 +1,1137 @@ +{ + "operationId": "Reports_GetSnapshot", + "title": "Reports_GetSnapshot", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json new file mode 100644 index 000000000000..aa6975416528 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json @@ -0,0 +1,64 @@ +{ + "operationId": "Reports_GetSummary", + "title": "Reports_GetSummary", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..095a93384caf --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "operationId": "SavedFilters_CreateOrReplaceSavedFilter", + "title": "SavedFilters_CreateOrReplaceSavedFilter", + "parameters": { + "api-version": "2024-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": { + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter", + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter" + } + } + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..bde8d371a352 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "SavedFilters_DeleteSavedFilter", + "title": "SavedFilters_DeleteSavedFilter", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..f1ff8b23e592 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "SavedFilters_GetSavedFilter", + "title": "SavedFilters_GetSavedFilter", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..f68574bd443e --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "operationId": "SavedFilters_ListSavedFilter", + "title": "SavedFilters_ListSavedFilter", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..cd48bcec2aa5 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_CancelTask", + "title": "Tasks_CancelTask", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Tasks_DownloadTask.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_DownloadTask.json new file mode 100644 index 000000000000..59c5ed14fedc --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_DownloadTask.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_DownloadTask", + "title": "Tasks_DownloadTask", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..84357c2810c8 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_GetTask", + "title": "Tasks_GetTask", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..1bd516ce08c1 --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "operationId": "Tasks_ListTask", + "title": "Tasks_ListTask", + "parameters": { + "api-version": "2024-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/Easm/examples/2024-03-01-preview/Tasks_RunTask.json b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_RunTask.json new file mode 100644 index 000000000000..2f9d63bf7a9c --- /dev/null +++ b/specification/riskiq/Easm/examples/2024-03-01-preview/Tasks_RunTask.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_RunTask", + "title": "Tasks_RunTask", + "parameters": { + "api-version": "2024-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/Easm/main.tsp b/specification/riskiq/Easm/main.tsp index 70e19746e841..d7bb529c6bb7 100644 --- a/specification/riskiq/Easm/main.tsp +++ b/specification/riskiq/Easm/main.tsp @@ -43,4 +43,8 @@ enum Versions { @doc("Version 2023-03-01-preview") @useDependency(Azure.Core.Versions.v1_0_Preview_2) v2023_03_01_preview: "2023-03-01-preview", + + @doc("Version 2024-03-01-preview") + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_03_01_preview: "2024-03-01-preview", } diff --git a/specification/riskiq/Easm/models.tsp b/specification/riskiq/Easm/models.tsp index 56727f4b65a1..a131384ce3bc 100644 --- a/specification/riskiq/Easm/models.tsp +++ b/specification/riskiq/Easm/models.tsp @@ -21,6 +21,16 @@ model PageResultBodyFields { }; } +@trait +@traitAdded(Versions.v2024_03_01_preview) +model AssetsListQueryParametersTrait { + @traitContext(Contexts) + queryParameters: { + @traitLocation(TraitLocation.Parameters) + parameters: Parameters; + }; +} + alias AssetsListTrait = { ...PageResultBodyFields<{ @doc("The total number of items available in the full result set.") @@ -36,6 +46,11 @@ alias AssetsListTrait = { ...MaxPageSizeQueryParameter; ...MarkParameter; }>; + ...AssetsListQueryParametersTrait<{ + ...ResponseTypeParameter; + ...ResponseIncludesParameter; + ...RecentOnlyParameter; + }>; }; alias AssetsUpdateParameter = { ...RequiredFilterParameter; @@ -102,6 +117,44 @@ alias SavedFiltersListTrait = { }>; }; +alias ObservationsParameters = { + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...OrderByParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; + +alias AssetsExportTrait = { + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...OrderByParameter; + }>; +}; +alias ObservationsTrait = { + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...OrderByParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; + +alias DeltaDetailsTrait = { + ...QueryParametersTrait<{ + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; + +alias CisaCveListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + }>; +}; + // Models #suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" @clientName("AlexaDetails", "java") @@ -270,6 +323,42 @@ model AssetUpdateData { transfers?: AssetUpdateTransfers; } +@doc("A request body used to export an asset.") +@Versioning.added(Versions.v2024_03_01_preview) +model AssetsExportRequest { + @doc("The name of the file to export.") + fileName: string; + + @doc("The columns to export.") + columns: string[]; +} + +@doc("A request body used to retrieve a list of deltas.") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaDetailsRequest { + @doc("The type of delta detail to retrieve.") + deltaDetailType: DeltaDetailType; + + @doc("The number of days prior to retrieve deltas for.") + priorDays?: int32; + + @doc("The type of asset") + kind: GlobalAssetType; + + @doc("expected format to be: yyyy-MM-dd") + date?: string; +} + +@doc("A request body used to retrieve a delta summary.") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaSummaryRequest { + @doc("The number of days prior to retrieve deltas for.") + priorDays?: int32; + + @doc("expected format to be: yyyy-MM-dd") + date?: string; +} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" @clientName("AttributeDetails", "csharp") model Attribute { @@ -1368,6 +1457,104 @@ model ObservedValue { count?: int64; recent?: boolean; } + +@doc("Result for each of the delta detail response") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaResult { + @doc("Shows the asset kind") + kind: GlobalAssetType; + + @doc("Shows the asset name") + name: string; + + @doc("Shows the date when the asset was originally created") + createdAt: utcDateTime; + + @doc("Shows the date when the asset was last updated, usually the date the we trying to pull up the results for") + updatedAt: utcDateTime; + + @doc("Shows the inventory state") + state: GlobalInventoryState; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@Versioning.added(Versions.v2024_03_01_preview) +@pagedResult +model DeltaPageResult { + @doc("The total number of items available in the full result set.") + totalElements?: int64; + + @doc("The link to access the next page of results. Not set if at the end of the result set.") + @nextLink + nextLink?: string; + + @doc("The items in the current page of results.") + @items + value?: DeltaResult[]; +} + +@doc("Define response body for getting delta summary") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaSummaryResult { + @doc("Contains added, removed, and difference values for the whole range either 7 or 30 days") + summary: DeltaRangeResult; + + @doc("Contains added, removed, count, and difference values for each day") + daily: DeltaDateResult[]; +} + +@doc("Contains added, removed, and difference values for the whole range either 7 or 30 days") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaRangeResult { + @doc("The range of dates requested") + range: int64; + + @doc("The total amount of assets removed over a date range") + removed: int64; + + @doc("The total amount of assets added over a date range") + added: int64; + + @doc("The total amount of assets changed removed over a date range") + difference: int64; + + @doc("A list of summary changes per asset kind") + kindSummaries: DeltaTypeResponse[]; +} + +@doc("The type of Delta response for each asset kind") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaTypeResponse { + @doc("The kind of asset") + kind: GlobalAssetType; + + @doc("The amount of assets removed for one asset kind") + removed: int64; + + @doc("The amount of assets added for one asset kind") + added: int64; + + @doc("The amount of assets changed for one asset kind") + difference: int64; +} + +@doc("Date information for the delta response") +@Versioning.added(Versions.v2024_03_01_preview) +model DeltaDateResult { + @doc("The date that is being requested") + date: utcDateTime; + + @doc("A list of summary counts per day") + deltas: DailyDeltaTypeResponse[]; +} + +@doc("Delta response for each day") +@Versioning.added(Versions.v2024_03_01_preview) +model DailyDeltaTypeResponse extends DeltaTypeResponse { + @doc("The current number of assets for one asset kind") + count: int64; +} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" @doc("A list of asset types to cascade the updates to.") union AssetUpdateTransfers { @@ -1391,6 +1578,108 @@ union ReportBillableAssetBreakdownKind { "ipAddress", } +@doc("A list of global inventory states.") +@Versioning.added(Versions.v2024_03_01_preview) +union GlobalInventoryState { + string, + + @doc("candidate") + "candidate", + + @doc("candidate investigate") + "candidateInvestigate", + + @doc("confirmed") + "confirmed", + + @doc("associated") + "associated", + + @doc("associated partner") + "associatedPartner", + + @doc("associated third party") + "associatedThirdParty", + + @doc("archived") + "archived", + + @doc("dismissed") + "dismissed", + + @doc("auto confirmed") + "autoconfirmed", +} + +@doc("A list of asset response type") +@Versioning.added(Versions.v2024_03_01_preview) +union AssetResponseType { + string, + + @doc("Return only the asset id.") + "id", + + @doc("Return the standard set of asset fields.") + "standard", + + @doc("Return the full set of asset fields.") + "full", + + @doc("Return a reduced set of fields.") + "reduced", +} + +@doc("A list of delta detail type") +@Versioning.added(Versions.v2024_03_01_preview) +union DeltaDetailType { + string, + + @doc("added") + "added", + + @doc("removed") + "removed", +} + +@doc("A list of global asset type") +@Versioning.added(Versions.v2024_03_01_preview) +union GlobalAssetType { + string, + + @doc("page") + "page", + + @doc("resource") + "resource", + + @doc("mail server") + "mailServer", + + @doc("name server") + "nameServer", + + @doc("host") + "host", + + @doc("domain") + "domain", + + @doc("ip address") + "ipAddress", + + @doc("ip block") + "ipBlock", + + @doc("autonomous system number") + "as", + + @doc("contact") + "contact", + + @doc("ssl certificate") + "sslCert", +} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" @doc("The state the task is in.") @clientName("TaskResourceState", "csharp") @@ -1539,10 +1828,84 @@ union SslCertAssetValidationType { "extendedValidation", } +@doc("A list of observation types") +@Versioning.added(Versions.v2024_03_01_preview) +union ObservationType { + string, + + @doc("common vulnerabilities and exposures") + "cve", + + @doc("insight") + "insight", +} + +@doc("A list of observation priorities") +@Versioning.added(Versions.v2024_03_01_preview) +union ObservationPriority { + string, + + @doc("high") + "high", + + @doc("medium") + "medium", + + @doc("low") + "low", + + @doc("none") + "none", +} + +@doc("The result response for the observation") +@Versioning.added(Versions.v2024_03_01_preview) +model ObservationResult { + @doc("The name of the observation.") + name: string; + + @doc("The list of applicable types.") + types: ObservationType[]; + + @doc("The priority of the observation.") + priority: ObservationPriority; + + @doc("The CVSS v2 score.") + cvssScoreV2: float64; + + @doc("The CVSS v3 score.") + cvssScoreV3: float64; +} + +@doc("The page result response for the observation") +@Versioning.added(Versions.v2024_03_01_preview) +model ObservationPageResult { + @doc("The total number of elements.") + totalElements: int64; + + @doc("The summary of observation counts by priority.") + prioritySummary: Record; + + @doc("The list of observation results.") + value: ObservationResult[]; +} + +@doc("A list of asset chain sources") +@Versioning.added(Versions.v2024_03_01_preview) +union AssetChainSource { + string, + + @doc("discovery group") + "DISCO_GROUP", + + @doc("asset") + "ASSET", +} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" @clientName("LogAnalyticsDataConnectionPayload", "csharp") model LogAnalyticsDataConnectionData extends DataConnectionData { - @doc("The kind of DataConnectionData") + @doc("The kind of DataConnectionData ") kind: "logAnalytics"; @doc("properties") @@ -1671,9 +2034,121 @@ model MarkParameter { mark?: string; } +@doc("Specify the response type.") +@Versioning.added(Versions.v2024_03_01_preview) +model ResponseTypeParameter { + @doc("Specify the response type. The possible values are: ID, STANDARD, FULL, REDUCED") + @query("responseType") + responseType?: AssetResponseType; +} + +@doc("The prameter of responseIncludes") +@Versioning.added(Versions.v2024_03_01_preview) +model ResponseIncludesParameter { + @query({ + format: "csv", + }) + @doc("The properties to include in the response.") + responseIncludes?: string[]; +} + +@doc("The prameter of responseIncludes") +@Versioning.added(Versions.v2024_03_01_preview) +model RecentOnlyParameter { + @query("recentOnly") + @doc("If it's recent only.") + recentOnly?: boolean; +} + @doc("An expression on the resource type that selects the resources to be returned.") model RequiredFilterParameter { @doc("An expression on the resource type that selects the resources to be returned.") @query("filter") filter: string; } + +@resource("cisaCves") +@doc("cisa cve in a given workspace.") +@Versioning.added(Versions.v2024_03_01_preview) +model CisaCveResult { + @key("cveId") + @visibility("read") + @doc("The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits.") + cveId: string; + + @doc("The vendor or project name for the vulnerability.") + vendorProject: string; + + @doc("The vulnerability product") + product: string; + + @doc("The name of the vulnerability") + vulnerabilityName: string; + + @doc("A short description of the vulnerability") + shortDescription: string; + + @doc("The required action to address the vulnerability") + requiredAction: string; + + @doc("Any additional notes about the vulnerability") + notes: string; + + @doc("The date the vulnerability was added to the catalog in the format YYYY-MM-DD") + dateAdded: utcDateTime; + + @doc("The date the required action is due in the format YYYY-MM-DD") + dueDate: utcDateTime; + + @doc("The date the vulnerability was updated") + updatedAt: utcDateTime; + + @doc("The number of assets affected by the vulnerability") + count: int64; +} + +@doc("AssetChainRequest containing information needed for the retrieval of the asset chain summary.") +@Versioning.added(Versions.v2024_03_01_preview) +model AssetChainRequest { + @doc("Asset chain source.") + assetChainSource: AssetChainSource; + + @doc("A collection of asset chain source ids.") + sourceIds: string[]; +} + +@doc("Response for the asset chain summary.") +@Versioning.added(Versions.v2024_03_01_preview) +model AssetChainSummaryResult { + @doc("A list of asset chain summaries per asset kind") + affectedAssetsSummary: AssetChainKindSummaryResult[]; + + @doc("A list of disco group summaries") + affectedGroupsSummary: DiscoGroupSummaryResult[]; + + @doc("The list of exceptions") + errors?: ErrorResponse[]; +} + +@doc("A list of asset chain summaries per asset kind") +@Versioning.added(Versions.v2024_03_01_preview) +model AssetChainKindSummaryResult { + @doc("The kind of asset") + kind: AssetKind; + + @doc("The amount of assets affected for a given asset kind") + affectedCount: int64; +} + +@doc("A list of disco group summaries") +@Versioning.added(Versions.v2024_03_01_preview) +model DiscoGroupSummaryResult { + @doc("The system generated unique id for the resource.") + id: string; + + @doc("The caller provided unique name for the resource.") + name: string; + + @doc("The name that can be used for display purposes.") + displayName: string; +} diff --git a/specification/riskiq/Easm/routes.tsp b/specification/riskiq/Easm/routes.tsp index 0e82f56188fc..c787851abd12 100644 --- a/specification/riskiq/Easm/routes.tsp +++ b/specification/riskiq/Easm/routes.tsp @@ -35,6 +35,46 @@ interface Assets { >; @doc("Retrieve an asset by assetId.") getAssetResource is Operations.ResourceRead; + + @doc("Export a list of assets for the provided search parameters.") + @action("export") + @Versioning.added(Versions.v2024_03_01_preview) + getAssetsExport is Operations.ResourceCollectionAction< + AssetResource, + AssetsExportRequest, + Task, + AssetsExportTrait + >; + + @doc("Retrieve observations on an asset") + @action("getObservations") + @Versioning.added(Versions.v2024_03_01_preview) + getObservations is Operations.ResourceAction< + AssetResource, + {}, + ObservationPageResult, + ObservationsParameters + >; + + @doc("Retrieve a list of deltas for the provided time range.") + @action("getDeltaDetails") + @Versioning.added(Versions.v2024_03_01_preview) + getDeltaDetails is Operations.ResourceCollectionAction< + AssetResource, + DeltaDetailsRequest, + DeltaPageResult, + DeltaDetailsTrait + >; + + @doc("Retrieve a list of deltas with overall summary changes for the provided time range.") + @action("getDeltaSummary") + @Versioning.added(Versions.v2024_03_01_preview) + getDeltaSummary is Operations.ResourceCollectionAction< + AssetResource, + DeltaSummaryRequest, + DeltaSummaryResult, + {} + >; } @tag("Data Connections") @@ -112,6 +152,28 @@ interface DiscoveryGroups { DiscoGroupsListRunsParameter, DiscoRunPageResult >; + + @Versioning.added(Versions.v2024_03_01_preview) + @doc("Delete a discovery group with a given discovery group name.") + deleteDiscoGroup is Operations.ResourceDelete; + + @doc("Retrieve an asset chain summary.") + @action("getAssetChainSummary") + @Versioning.added(Versions.v2024_03_01_preview) + getAssetChainSummary is Operations.ResourceCollectionAction< + DiscoGroup, + AssetChainRequest, + AssetChainSummaryResult + >; + + @doc("Dismiss discovery chain for a given asset chain source") + @action("dismissAssetChain") + @Versioning.added(Versions.v2024_03_01_preview) + dismissAssetChain is Operations.ResourceCollectionAction< + DiscoGroup, + AssetChainRequest, + Task + >; } @tag("Discovery Templates") @@ -152,6 +214,16 @@ interface Reports { ReportAssetSummaryRequest, ReportAssetSummaryResult >; + + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Get the most recent snapshot of asset summary values for the snapshot request exported to a file.") + @Versioning.added(Versions.v2024_03_01_preview) + @route("/reports/assets:getSnapshotExport") + @post + getSnapshotExport is Foundations.Operation< + ReportAssetSnapshotExportRequest, + Task + >; } @tag("Saved Filters") @@ -187,4 +259,26 @@ interface Tasks { @doc("Cancel a task by taskId.") @action("cancel") cancelTask is Operations.ResourceAction; + + @doc("Run a task by taskId.") + @Versioning.added(Versions.v2024_03_01_preview) + @action("run") + runTask is Operations.ResourceAction; + + @doc("Download a task.") + @Versioning.added(Versions.v2024_03_01_preview) + @action("download") + downloadTask is Operations.ResourceAction; +} + +@tag("CisaCves") +@doc("Provides access to cisa cves.") +interface CisaCves { + @doc("Retrieve a list of CisaCves for the provided search parameters.") + @Versioning.added(Versions.v2024_03_01_preview) + getCisaCves is Operations.ResourceList; + + @doc("Retrieve details of CisaCve by cveId") + @Versioning.added(Versions.v2024_03_01_preview) + getCisaCve is Operations.ResourceRead; } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json new file mode 100644 index 000000000000..7414e732a170 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json @@ -0,0 +1,7174 @@ +{ + "swagger": "2.0", + "info": { + "title": "Defender EASM", + "version": "2024-03-01-preview", + "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.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}", + "useSchemePrefix": false, + "parameters": [ + { + "name": "endpoint", + "in": "path", + "description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}", + "required": true, + "type": "string" + } + ] + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "OAuth2Auth": [ + "https://easm.defender.microsoft.com/.default" + ] + } + ], + "securityDefinitions": { + "OAuth2Auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "https://easm.defender.microsoft.com/.default": "" + } + } + }, + "tags": [ + { + "name": "Assets" + }, + { + "name": "Data Connections" + }, + { + "name": "Discovery Groups" + }, + { + "name": "Discovery Templates" + }, + { + "name": "Reports" + }, + { + "name": "Saved Filters" + }, + { + "name": "Tasks" + }, + { + "name": "CisaCves" + } + ], + "paths": { + "/assets": { + "get": { + "operationId": "Assets_ListAssetResource", + "tags": [ + "Assets" + ], + "description": "Retrieve a list of assets for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/OrderByParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/MarkParameter" + }, + { + "$ref": "#/parameters/ResponseTypeParameter" + }, + { + "$ref": "#/parameters/ResponseIncludesParameter" + }, + { + "$ref": "#/parameters/RecentOnlyParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedAssetResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_ListAssetResource": { + "$ref": "./examples/Assets_ListAssetResource_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + }, + "post": { + "operationId": "Assets_UpdateAssets", + "tags": [ + "Assets" + ], + "description": "Update labels on assets matching the provided filter.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/RequiredFilterParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetUpdateData" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_UpdateAssets": { + "$ref": "./examples/Assets_UpdateAssets_MaximumSet_Gen.json" + } + } + } + }, + "/assets/{assetId}": { + "get": { + "operationId": "Assets_GetAssetResource", + "tags": [ + "Assets" + ], + "description": "Retrieve an asset by assetId.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "assetId", + "in": "path", + "description": "The system generated unique id for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AssetResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_GetAssetResource": { + "$ref": "./examples/Assets_GetAssetResource_MaximumSet_Gen.json" + } + } + } + }, + "/assets/{assetId}:getObservations": { + "post": { + "operationId": "Assets_GetObservations", + "tags": [ + "Assets" + ], + "description": "Retrieve observations on an asset", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "assetId", + "in": "path", + "description": "The system generated unique id for the resource.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/OrderByParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ObservationPageResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_GetObservations": { + "$ref": "./examples/Assets_GetObservations.json" + } + } + } + }, + "/assets:export": { + "post": { + "operationId": "Assets_GetAssetsExport", + "tags": [ + "Assets" + ], + "description": "Export a list of assets for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/OrderByParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetsExportRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_GetAssetsExport": { + "$ref": "./examples/Assets_GetAssetsExport.json" + } + } + } + }, + "/assets:getDeltaDetails": { + "post": { + "operationId": "Assets_GetDeltaDetails", + "tags": [ + "Assets" + ], + "description": "Retrieve a list of deltas for the provided time range.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeltaDetailsRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeltaPageResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_GetDeltaDetails": { + "$ref": "./examples/Assets_GetDeltaDetails.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/assets:getDeltaSummary": { + "post": { + "operationId": "Assets_GetDeltaSummary", + "tags": [ + "Assets" + ], + "description": "Retrieve a list of deltas with overall summary changes for the provided time range.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeltaSummaryRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeltaSummaryResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Assets_GetDeltaSummary": { + "$ref": "./examples/Assets_GetDeltaSummary.json" + } + } + } + }, + "/cisaCves": { + "get": { + "operationId": "CisaCves_GetCisaCves", + "tags": [ + "CisaCves" + ], + "description": "Retrieve a list of CisaCves for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedCisaCveResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "CisaCves_GetCisaCves": { + "$ref": "./examples/CisaCves_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/cisaCves/{cveId}": { + "get": { + "operationId": "CisaCves_GetCisaCve", + "tags": [ + "CisaCves" + ], + "description": "Retrieve details of CisaCve by cveId", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "cveId", + "in": "path", + "description": "The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CisaCveResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "CisaCves_GetCisaCve": { + "$ref": "./examples/CisaCves_Get.json" + } + } + } + }, + "/dataConnections": { + "get": { + "operationId": "DataConnections_ListDataConnection", + "tags": [ + "Data Connections" + ], + "description": "Retrieve a list of data connections.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedDataConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DataConnections_ListDataConnection": { + "$ref": "./examples/DataConnections_ListDataConnection_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/dataConnections/{dataConnectionName}": { + "get": { + "operationId": "DataConnections_GetDataConnection", + "tags": [ + "Data Connections" + ], + "description": "Retrieve a data connection with a given dataConnectionName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "dataConnectionName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DataConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DataConnections_GetDataConnection": { + "$ref": "./examples/DataConnections_GetDataConnection_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataConnections_CreateOrReplaceDataConnection", + "tags": [ + "Data Connections" + ], + "description": "Create or replace a data connection with a given dataConnectionName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "dataConnectionName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataConnectionData" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DataConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DataConnections_CreateOrReplaceDataConnection": { + "$ref": "./examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "DataConnections_DeleteDataConnection", + "tags": [ + "Data Connections" + ], + "description": "Delete a data connection with a given dataConnectionName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "dataConnectionName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DataConnections_DeleteDataConnection": { + "$ref": "./examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json" + } + } + } + }, + "/dataConnections:validate": { + "post": { + "operationId": "DataConnections_ValidateDataConnection", + "tags": [ + "Data Connections" + ], + "description": "Validate a data connection with a given dataConnectionName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataConnectionData" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DataConnections_ValidateDataConnection": { + "$ref": "./examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json" + } + } + } + }, + "/discoGroups": { + "get": { + "operationId": "DiscoveryGroups_ListDiscoGroup", + "tags": [ + "Discovery Groups" + ], + "description": "Retrieve a list of discovery group for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedDiscoGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_ListDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/discoGroups/{groupName}": { + "get": { + "operationId": "DiscoveryGroups_GetDiscoGroup", + "tags": [ + "Discovery Groups" + ], + "description": "Retrieve a discovery group with a given groupName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DiscoGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_GetDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "tags": [ + "Discovery Groups" + ], + "description": "Create a discovery group with a given groupName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DiscoGroupData" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DiscoGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_CreateOrReplaceDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "DiscoveryGroups_DeleteDiscoGroup", + "tags": [ + "Discovery Groups" + ], + "description": "Delete a discovery group with a given discovery group name.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_DeleteDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json" + } + } + } + }, + "/discoGroups/{groupName}:run": { + "post": { + "operationId": "DiscoveryGroups_RunDiscoGroup", + "tags": [ + "Discovery Groups" + ], + "description": "Run a discovery group with a given groupName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_RunDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json" + } + } + } + }, + "/discoGroups/{groupName}/runs": { + "get": { + "operationId": "DiscoveryGroups_ListRuns", + "tags": [ + "Discovery Groups" + ], + "description": "Retrieve a collection of discovery run results for a discovery group with a given groupName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/DiscoGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DiscoRunPageResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_ListRuns": { + "$ref": "./examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/discoGroups:dismissAssetChain": { + "post": { + "operationId": "DiscoveryGroups_DismissAssetChain", + "tags": [ + "Discovery Groups" + ], + "description": "Dismiss discovery chain for a given asset chain source", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetChainRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_DismissAssetChain": { + "$ref": "./examples/DiscoveryGroups_DismissAssetChain.json" + } + } + } + }, + "/discoGroups:getAssetChainSummary": { + "post": { + "operationId": "DiscoveryGroups_GetAssetChainSummary", + "tags": [ + "Discovery Groups" + ], + "description": "Retrieve an asset chain summary.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssetChainRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AssetChainSummaryResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_GetAssetChainSummary": { + "$ref": "./examples/DiscoveryGroups_GetAssetChainSummary.json" + } + } + } + }, + "/discoGroups:validate": { + "post": { + "operationId": "DiscoveryGroups_ValidateDiscoGroup", + "tags": [ + "Discovery Groups" + ], + "description": "Validate a discovery group with a given groupName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DiscoGroupData" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ValidateResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryGroups_ValidateDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json" + } + } + } + }, + "/discoTemplates": { + "get": { + "operationId": "DiscoveryTemplates_ListDiscoTemplate", + "tags": [ + "Discovery Templates" + ], + "description": "Retrieve a list of disco templates for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedDiscoTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryTemplates_ListDiscoTemplate": { + "$ref": "./examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/discoTemplates/{templateId}": { + "get": { + "operationId": "DiscoveryTemplates_GetDiscoTemplate", + "tags": [ + "Discovery Templates" + ], + "description": "Retrieve a disco template with a given templateId.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "templateId", + "in": "path", + "description": "The system generated unique id for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DiscoTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "DiscoveryTemplates_GetDiscoTemplate": { + "$ref": "./examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json" + } + } + } + }, + "/reports/assets:getBillable": { + "post": { + "operationId": "Reports_GetBillable", + "tags": [ + "Reports" + ], + "description": "Get billable assets summary for the workspace.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReportBillableAssetSummaryResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Reports_GetBillable": { + "$ref": "./examples/Reports_GetBillable_MaximumSet_Gen.json" + } + } + } + }, + "/reports/assets:getSnapshot": { + "post": { + "operationId": "Reports_GetSnapshot", + "tags": [ + "Reports" + ], + "description": "Get the most recent snapshot of asset summary values for the snapshot request.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReportAssetSnapshotRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReportAssetSnapshotResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Reports_GetSnapshot": { + "$ref": "./examples/Reports_GetSnapshot_MaximumSet_Gen.json" + } + } + } + }, + "/reports/assets:getSnapshotExport": { + "post": { + "operationId": "Reports_GetSnapshotExport", + "tags": [ + "Reports" + ], + "description": "Get the most recent snapshot of asset summary values for the snapshot request exported to a file.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReportAssetSnapshotExportRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Reports_GetSnapshotExport": { + "$ref": "./examples/Reports_GetReportAssetSnapshotExport.json" + } + } + } + }, + "/reports/assets:getSummary": { + "post": { + "operationId": "Reports_GetSummary", + "tags": [ + "Reports" + ], + "description": "Get asset summary details for the summary request.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReportAssetSummaryRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReportAssetSummaryResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Reports_GetSummary": { + "$ref": "./examples/Reports_GetSummary_MaximumSet_Gen.json" + } + } + } + }, + "/savedFilters": { + "get": { + "operationId": "SavedFilters_ListSavedFilter", + "tags": [ + "Saved Filters" + ], + "description": "Retrieve a list of saved filters for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedSavedFilter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "SavedFilters_ListSavedFilter": { + "$ref": "./examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/savedFilters/{filterName}": { + "get": { + "operationId": "SavedFilters_GetSavedFilter", + "tags": [ + "Saved Filters" + ], + "description": "Retrieve a saved filter by filterName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "filterName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/SavedFilter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "SavedFilters_GetSavedFilter": { + "$ref": "./examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "SavedFilters_CreateOrReplaceSavedFilter", + "tags": [ + "Saved Filters" + ], + "description": "Create or replace a saved filter with a given filterName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "filterName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SavedFilterData" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/SavedFilter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "SavedFilters_CreateOrReplaceSavedFilter": { + "$ref": "./examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "SavedFilters_DeleteSavedFilter", + "tags": [ + "Saved Filters" + ], + "description": "Delete a saved filter with a given filterName.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "filterName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "SavedFilters_DeleteSavedFilter": { + "$ref": "./examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json" + } + } + } + }, + "/tasks": { + "get": { + "operationId": "Tasks_ListTask", + "tags": [ + "Tasks" + ], + "description": "Retrieve a list of tasks for the provided search parameters.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/OrderByParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedTask" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Tasks_ListTask": { + "$ref": "./examples/Tasks_ListTask_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/tasks/{taskId}": { + "get": { + "operationId": "Tasks_GetTask", + "tags": [ + "Tasks" + ], + "description": "Retrieve a task by taskId.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "taskId", + "in": "path", + "description": "The unique identifier of the task.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Tasks_GetTask": { + "$ref": "./examples/Tasks_GetTask_MaximumSet_Gen.json" + } + } + } + }, + "/tasks/{taskId}:cancel": { + "post": { + "operationId": "Tasks_CancelTask", + "tags": [ + "Tasks" + ], + "description": "Cancel a task by taskId.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "taskId", + "in": "path", + "description": "The unique identifier of the task.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Tasks_CancelTask": { + "$ref": "./examples/Tasks_CancelTask_MaximumSet_Gen.json" + } + } + } + }, + "/tasks/{taskId}:run": { + "post": { + "operationId": "Tasks_RunTask", + "tags": [ + "Tasks" + ], + "description": "Run a task by taskId.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "taskId", + "in": "path", + "description": "The unique identifier of the task.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Tasks_RunTask": { + "$ref": "./examples/Tasks_RunTask.json" + } + } + } + }, + "/tasks/{taskId}:download": { + "post": { + "operationId": "Tasks_DownloadTask", + "tags": [ + "Tasks" + ], + "description": "Download a task.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "taskId", + "in": "path", + "description": "The unique identifier of the task.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Tasks_DownloadTask": { + "$ref": "./examples/Tasks_DownloadTask.json" + } + } + } + } + }, + "definitions": { + "AlexaInfo": { + "type": "object", + "properties": { + "alexaRank": { + "type": "integer", + "format": "int64" + }, + "category": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + } + } + }, + "AsAsset": { + "type": "object", + "properties": { + "asn": { + "type": "integer", + "format": "int64" + }, + "asNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "orgNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "orgIds": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "countries": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registries": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "registrarCreatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrarUpdatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrantContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrarNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "detailedFromWhoisAt": { + "type": "string", + "format": "date-time" + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "AsAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/AsAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "as" + }, + "AssetChainKindSummaryResult": { + "type": "object", + "description": "A list of asset chain summaries per asset kind", + "properties": { + "kind": { + "$ref": "#/definitions/AssetKind", + "description": "The kind of asset" + }, + "affectedCount": { + "type": "integer", + "format": "int64", + "description": "The amount of assets affected for a given asset kind" + } + }, + "required": [ + "kind", + "affectedCount" + ] + }, + "AssetChainRequest": { + "type": "object", + "description": "AssetChainRequest containing information needed for the retrieval of the asset chain summary.", + "properties": { + "assetChainSource": { + "$ref": "#/definitions/AssetChainSource", + "description": "Asset chain source." + }, + "sourceIds": { + "type": "array", + "description": "A collection of asset chain source ids.", + "items": { + "type": "string" + } + } + }, + "required": [ + "assetChainSource", + "sourceIds" + ] + }, + "AssetChainSource": { + "type": "string", + "description": "A list of asset chain sources", + "enum": [ + "DISCO_GROUP", + "ASSET" + ], + "x-ms-enum": { + "name": "AssetChainSource", + "modelAsString": true, + "values": [ + { + "name": "DISCO_GROUP", + "value": "DISCO_GROUP", + "description": "discovery group" + }, + { + "name": "ASSET", + "value": "ASSET", + "description": "asset" + } + ] + } + }, + "AssetChainSummaryResult": { + "type": "object", + "description": "Response for the asset chain summary.", + "properties": { + "affectedAssetsSummary": { + "type": "array", + "description": "A list of asset chain summaries per asset kind", + "items": { + "$ref": "#/definitions/AssetChainKindSummaryResult" + }, + "x-ms-identifiers": [] + }, + "affectedGroupsSummary": { + "type": "array", + "description": "A list of disco group summaries", + "items": { + "$ref": "#/definitions/DiscoGroupSummaryResult" + } + }, + "errors": { + "type": "array", + "description": "The list of exceptions", + "items": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponseItem" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "affectedAssetsSummary", + "affectedGroupsSummary" + ] + }, + "AssetKind": { + "type": "string", + "description": "The kind of asset.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "x-ms-enum": { + "name": "AssetKind", + "modelAsString": true + } + }, + "AssetPageResult": { + "type": "object", + "description": "The page of assets that match the provided metric.", + "properties": { + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + }, + "mark": { + "type": "string", + "description": "The cursor mark to be used on the next request. Not set if using paging." + }, + "nextLink": { + "type": "string", + "description": "The link to access the next page of results. Not set if at the end of the result set." + }, + "value": { + "type": "array", + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/AssetResource" + } + } + } + }, + "AssetResource": { + "type": "object", + "description": "The items in the current page of results.", + "properties": { + "kind": { + "type": "string", + "description": "Discriminator property for AssetResource." + }, + "id": { + "type": "string", + "description": "The system generated unique id for the resource.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource." + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + }, + "uuid": { + "$ref": "#/definitions/Azure.Core.uuid", + "description": "Global UUID for the asset." + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "The date this asset was first added to this workspace." + }, + "updatedDate": { + "type": "string", + "format": "date-time", + "description": "The date this asset was last updated for this workspace." + }, + "state": { + "$ref": "#/definitions/AssetState" + }, + "externalId": { + "type": "string", + "description": "An optional customer provided identifier for this asset." + }, + "labels": { + "type": "array", + "description": "Customer labels assigned to this asset.", + "items": { + "type": "string" + } + }, + "wildcard": { + "type": "boolean", + "description": "An indicator of whether this asset represents a wildcard rollup of assets on this domain." + }, + "discoGroupName": { + "type": "string", + "description": "The name of the DiscoGroup that brought added this asset to the workspace." + }, + "auditTrail": { + "type": "array", + "description": "The history of how this asset was pulled into the workspace through the discovery process.", + "items": { + "$ref": "#/definitions/AuditTrailItem" + } + }, + "reason": { + "type": "string" + } + }, + "discriminator": "kind", + "required": [ + "kind", + "id" + ] + }, + "AssetResponseType": { + "type": "string", + "description": "A list of asset response type", + "enum": [ + "id", + "standard", + "full", + "reduced" + ], + "x-ms-enum": { + "name": "AssetResponseType", + "modelAsString": true, + "values": [ + { + "name": "id", + "value": "id", + "description": "Return only the asset id." + }, + { + "name": "standard", + "value": "standard", + "description": "Return the standard set of asset fields." + }, + { + "name": "full", + "value": "full", + "description": "Return the full set of asset fields." + }, + { + "name": "reduced", + "value": "reduced", + "description": "Return a reduced set of fields." + } + ] + } + }, + "AssetSecurityPolicy": { + "type": "object", + "properties": { + "policyName": { + "type": "string" + }, + "isAffected": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + } + }, + "AssetState": { + "type": "string", + "description": "The state of assets", + "enum": [ + "candidate", + "confirmed", + "dismissed", + "candidateInvestigate", + "associatedPartner", + "associatedThirdparty", + "archived" + ], + "x-ms-enum": { + "name": "AssetState", + "modelAsString": true + } + }, + "AssetSummaryResult": { + "type": "object", + "description": "The collection of asset summaries.", + "properties": { + "displayName": { + "type": "string", + "description": "The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric." + }, + "description": { + "type": "string", + "description": "The description of the summary response. Filters don't have a description." + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "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." + }, + "metricCategory": { + "type": "string", + "description": "If the request is for a metric category, this will contain the requested unique category name." + }, + "metric": { + "type": "string", + "description": "If the request is for a metric, this will contain the requested unique metric name." + }, + "filter": { + "type": "string", + "description": "If the request is for an asset filter, this will contain the corresponding filter." + }, + "labelName": { + "type": "string", + "description": "An optional label used to filter requests results." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "The count of assets matching the request parameters." + }, + "link": { + "type": "string", + "description": "The link to the corresponding asset details." + }, + "children": { + "type": "array", + "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/AssetSummaryResult" + }, + "x-ms-identifiers": [] + } + } + }, + "AssetUpdateData": { + "type": "object", + "description": "A request body used to update an asset.", + "properties": { + "state": { + "$ref": "#/definitions/AssetUpdateState", + "description": "The state to update the asset to." + }, + "externalId": { + "type": "string", + "description": "A string which can be used to identify the asset in external systems." + }, + "labels": { + "type": "object", + "description": "Any Labels to update the asset with.", + "additionalProperties": { + "type": "boolean" + } + }, + "transfers": { + "$ref": "#/definitions/AssetUpdateTransfers", + "description": "A list of asset types to cascade the updates to." + } + } + }, + "AssetUpdateState": { + "type": "string", + "description": "The state to update the asset to.", + "enum": [ + "candidate", + "confirmed", + "dismissed", + "candidateInvestigate", + "associatedPartner", + "associatedThirdparty" + ], + "x-ms-enum": { + "name": "AssetUpdateState", + "modelAsString": true + } + }, + "AssetUpdateTransfers": { + "type": "string", + "description": "A list of asset types to cascade the updates to.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "x-ms-enum": { + "name": "AssetUpdateTransfers", + "modelAsString": true + } + }, + "AssetsExportRequest": { + "type": "object", + "description": "A request body used to export an asset.", + "properties": { + "fileName": { + "type": "string", + "description": "The name of the file to export." + }, + "columns": { + "type": "array", + "description": "The columns to export.", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileName", + "columns" + ] + }, + "Attribute": { + "type": "object", + "properties": { + "attributeType": { + "type": "string" + }, + "attributeValue": { + "type": "string" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + } + } + }, + "AuditTrailItem": { + "type": "object", + "description": "The history of how this asset was pulled into the workspace through the discovery process.", + "properties": { + "id": { + "type": "string", + "description": "The system generated unique id for the resource." + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource." + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + }, + "kind": { + "$ref": "#/definitions/AuditTrailItemKind", + "description": "The kind of asset." + }, + "reason": { + "type": "string", + "description": "An explanation of why this audit trail node was discovered from the previous node." + } + } + }, + "AuditTrailItemKind": { + "type": "string", + "description": "The kind of asset.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "x-ms-enum": { + "name": "AuditTrailItemKind", + "modelAsString": true + } + }, + "Azure.Core.Foundations.Error": { + "type": "object", + "description": "The error object.", + "properties": { + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "message": { + "type": "string", + "description": "A human-readable representation of the error." + }, + "target": { + "type": "string", + "description": "The target of the error." + }, + "details": { + "type": "array", + "description": "An array of details about specific errors that led to this reported error.", + "items": { + "$ref": "#/definitions/Azure.Core.Foundations.Error" + }, + "x-ms-identifiers": [] + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "An object containing more specific information than the current object about the error." + } + }, + "required": [ + "code", + "message" + ] + }, + "Azure.Core.Foundations.ErrorResponse": { + "type": "object", + "description": "A response containing error details.", + "properties": { + "error": { + "$ref": "#/definitions/Azure.Core.Foundations.Error", + "description": "The error object." + } + }, + "required": [ + "error" + ] + }, + "Azure.Core.Foundations.ErrorResponseItem": { + "type": "object", + "description": "A response containing error details.", + "properties": { + "error": { + "$ref": "#/definitions/Azure.Core.Foundations.Error", + "description": "The error object." + }, + "errorCode": { + "type": "string", + "description": "String error code indicating what went wrong." + } + }, + "required": [ + "error" + ] + }, + "Azure.Core.Foundations.InnerError": { + "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", + "properties": { + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "Inner error." + } + } + }, + "Azure.Core.uuid": { + "type": "string", + "format": "uuid", + "description": "Universally Unique Identifier" + }, + "AzureDataExplorerDataConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AzureDataExplorerDataConnectionProperties", + "description": "properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/DataConnection" + } + ], + "x-ms-discriminator-value": "azureDataExplorer" + }, + "AzureDataExplorerDataConnectionData": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AzureDataExplorerDataConnectionProperties", + "description": "properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/DataConnectionData" + } + ], + "x-ms-discriminator-value": "azureDataExplorer" + }, + "AzureDataExplorerDataConnectionProperties": { + "type": "object", + "properties": { + "clusterName": { + "type": "string", + "description": "The azure data explorer cluster name" + }, + "region": { + "type": "string", + "description": "The azure data explorer region" + }, + "databaseName": { + "type": "string", + "description": "The azure data explorer database name" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataConnectionProperties" + } + ] + }, + "Banner": { + "type": "object", + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "banner": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "scanType": { + "type": "string" + }, + "bannerMetadata": { + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "sha256": { + "type": "string" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + } + }, + "CisaCveResult": { + "type": "object", + "description": "cisa cve in a given workspace.", + "properties": { + "cveId": { + "type": "string", + "description": "The CVE ID of the vulnerability in the format CVE-YYYY-NNNN, note that the number portion can have more than 4 digits.", + "readOnly": true + }, + "vendorProject": { + "type": "string", + "description": "The vendor or project name for the vulnerability." + }, + "product": { + "type": "string", + "description": "The vulnerability product" + }, + "vulnerabilityName": { + "type": "string", + "description": "The name of the vulnerability" + }, + "shortDescription": { + "type": "string", + "description": "A short description of the vulnerability" + }, + "requiredAction": { + "type": "string", + "description": "The required action to address the vulnerability" + }, + "notes": { + "type": "string", + "description": "Any additional notes about the vulnerability" + }, + "dateAdded": { + "type": "string", + "format": "date-time", + "description": "The date the vulnerability was added to the catalog in the format YYYY-MM-DD" + }, + "dueDate": { + "type": "string", + "format": "date-time", + "description": "The date the required action is due in the format YYYY-MM-DD" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "description": "The date the vulnerability was updated" + }, + "count": { + "type": "integer", + "format": "int64", + "description": "The number of assets affected by the vulnerability" + } + }, + "required": [ + "cveId", + "vendorProject", + "product", + "vulnerabilityName", + "shortDescription", + "requiredAction", + "notes", + "dateAdded", + "dueDate", + "updatedAt", + "count" + ] + }, + "ContactAsset": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "organizations": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "ContactAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/ContactAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "contact" + }, + "Cookie": { + "type": "object", + "properties": { + "cookieName": { + "type": "string" + }, + "cookieDomain": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + }, + "cookieExpiryDate": { + "type": "string", + "format": "date-time" + } + } + }, + "Cve": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "cweId": { + "type": "string" + }, + "cvssScore": { + "type": "number", + "format": "float" + }, + "cvss3Summary": { + "$ref": "#/definitions/Cvss3Summary" + } + } + }, + "Cvss3Summary": { + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "vectorString": { + "type": "string" + }, + "attackVector": { + "type": "string" + }, + "attackComplexity": { + "type": "string" + }, + "privilegesRequired": { + "type": "string" + }, + "userInteraction": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "confidentialityImpact": { + "type": "string" + }, + "integrityImpact": { + "type": "string" + }, + "availabilityImpact": { + "type": "string" + }, + "baseScore": { + "type": "number", + "format": "float" + }, + "baseSeverity": { + "type": "string" + }, + "exploitCodeMaturity": { + "type": "string" + }, + "remediationLevel": { + "type": "string" + }, + "reportConfidence": { + "type": "string" + }, + "exploitabilityScore": { + "type": "number", + "format": "float" + }, + "impactScore": { + "type": "number", + "format": "float" + } + } + }, + "DailyDeltaTypeResponse": { + "type": "object", + "description": "Delta response for each day", + "properties": { + "count": { + "type": "integer", + "format": "int64", + "description": "The current number of assets for one asset kind" + } + }, + "required": [ + "count" + ], + "allOf": [ + { + "$ref": "#/definitions/DeltaTypeResponse" + } + ] + }, + "DataConnection": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Discriminator property for DataConnection." + }, + "id": { + "type": "string", + "description": "The system generated unique id for the resource." + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + }, + "content": { + "$ref": "#/definitions/DataConnectionContent", + "description": "The type of data the data connection will transfer" + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "The date the data connection was created.", + "readOnly": true + }, + "frequency": { + "$ref": "#/definitions/DataConnectionFrequency", + "description": "The rate at which the data connection will receive updates." + }, + "frequencyOffset": { + "type": "integer", + "format": "int32", + "description": "The day to update the data connection on." + }, + "updatedDate": { + "type": "string", + "format": "date-time", + "description": "The date the data connection was last updated.", + "readOnly": true + }, + "userUpdatedAt": { + "type": "string", + "format": "date-time", + "description": "The date the data connection was last updated by user.", + "readOnly": true + }, + "active": { + "type": "boolean", + "description": "An indicator of whether the data connection is active." + }, + "inactiveMessage": { + "type": "string", + "description": "A message that specifies details about data connection if inactive.", + "readOnly": true + } + }, + "discriminator": "kind", + "required": [ + "kind", + "name" + ] + }, + "DataConnectionContent": { + "type": "string", + "description": "The type of data the data connection will transfer", + "enum": [ + "assets", + "attackSurfaceInsights" + ], + "x-ms-enum": { + "name": "DataConnectionContent", + "modelAsString": true + } + }, + "DataConnectionData": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Discriminator property for DataConnectionData." + }, + "name": { + "type": "string", + "description": "The name of data connection" + }, + "content": { + "$ref": "#/definitions/DataConnectionContent", + "description": "The type of data the data connection will transfer." + }, + "frequency": { + "$ref": "#/definitions/DataConnectionFrequency", + "description": "The rate at which the data connection will receive updates." + }, + "frequencyOffset": { + "type": "integer", + "format": "int32", + "description": "The day to update the data connection on. (1-7 for weekly, 1-31 for monthly)" + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "DataConnectionFrequency": { + "type": "string", + "description": "The rate at which the data connection will receive updates.", + "enum": [ + "daily", + "weekly", + "monthly" + ], + "x-ms-enum": { + "name": "DataConnectionFrequency", + "modelAsString": true + } + }, + "DataConnectionKind": { + "type": "string", + "description": "The kind of data connection.", + "enum": [ + "logAnalytics", + "azureDataExplorer" + ], + "x-ms-enum": { + "name": "DataConnectionKind", + "modelAsString": true + } + }, + "DataConnectionProperties": { + "type": "object", + "description": "The properties required to establish connection to a particular service" + }, + "DeltaDateResult": { + "type": "object", + "description": "Date information for the delta response", + "properties": { + "date": { + "type": "string", + "format": "date-time", + "description": "The date that is being requested" + }, + "deltas": { + "type": "array", + "description": "A list of summary counts per day", + "items": { + "$ref": "#/definitions/DailyDeltaTypeResponse" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "date", + "deltas" + ] + }, + "DeltaDetailType": { + "type": "string", + "description": "A list of delta detail type", + "enum": [ + "added", + "removed" + ], + "x-ms-enum": { + "name": "DeltaDetailType", + "modelAsString": true, + "values": [ + { + "name": "added", + "value": "added", + "description": "added" + }, + { + "name": "removed", + "value": "removed", + "description": "removed" + } + ] + } + }, + "DeltaDetailsRequest": { + "type": "object", + "description": "A request body used to retrieve a list of deltas.", + "properties": { + "deltaDetailType": { + "$ref": "#/definitions/DeltaDetailType", + "description": "The type of delta detail to retrieve." + }, + "priorDays": { + "type": "integer", + "format": "int32", + "description": "The number of days prior to retrieve deltas for." + }, + "kind": { + "$ref": "#/definitions/GlobalAssetType", + "description": "The type of asset" + }, + "date": { + "type": "string", + "description": "expected format to be: yyyy-MM-dd" + } + }, + "required": [ + "deltaDetailType", + "kind" + ] + }, + "DeltaPageResult": { + "type": "object", + "properties": { + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + }, + "nextLink": { + "type": "string", + "description": "The link to access the next page of results. Not set if at the end of the result set." + }, + "value": { + "type": "array", + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DeltaResult" + }, + "x-ms-identifiers": [] + } + } + }, + "DeltaRangeResult": { + "type": "object", + "description": "Contains added, removed, and difference values for the whole range either 7 or 30 days", + "properties": { + "range": { + "type": "integer", + "format": "int64", + "description": "The range of dates requested" + }, + "removed": { + "type": "integer", + "format": "int64", + "description": "The total amount of assets removed over a date range" + }, + "added": { + "type": "integer", + "format": "int64", + "description": "The total amount of assets added over a date range" + }, + "difference": { + "type": "integer", + "format": "int64", + "description": "The total amount of assets changed removed over a date range" + }, + "kindSummaries": { + "type": "array", + "description": "A list of summary changes per asset kind", + "items": { + "$ref": "#/definitions/DeltaTypeResponse" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "range", + "removed", + "added", + "difference", + "kindSummaries" + ] + }, + "DeltaResult": { + "type": "object", + "description": "Result for each of the delta detail response", + "properties": { + "kind": { + "$ref": "#/definitions/GlobalAssetType", + "description": "Shows the asset kind" + }, + "name": { + "type": "string", + "description": "Shows the asset name" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Shows the date when the asset was originally created" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "description": "Shows the date when the asset was last updated, usually the date the we trying to pull up the results for" + }, + "state": { + "$ref": "#/definitions/GlobalInventoryState", + "description": "Shows the inventory state" + } + }, + "required": [ + "kind", + "name", + "createdAt", + "updatedAt", + "state" + ] + }, + "DeltaSummaryRequest": { + "type": "object", + "description": "A request body used to retrieve a delta summary.", + "properties": { + "priorDays": { + "type": "integer", + "format": "int32", + "description": "The number of days prior to retrieve deltas for." + }, + "date": { + "type": "string", + "description": "expected format to be: yyyy-MM-dd" + } + } + }, + "DeltaSummaryResult": { + "type": "object", + "description": "Define response body for getting delta summary", + "properties": { + "summary": { + "$ref": "#/definitions/DeltaRangeResult", + "description": "Contains added, removed, and difference values for the whole range either 7 or 30 days" + }, + "daily": { + "type": "array", + "description": "Contains added, removed, count, and difference values for each day", + "items": { + "$ref": "#/definitions/DeltaDateResult" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "summary", + "daily" + ] + }, + "DeltaTypeResponse": { + "type": "object", + "description": "The type of Delta response for each asset kind", + "properties": { + "kind": { + "$ref": "#/definitions/GlobalAssetType", + "description": "The kind of asset" + }, + "removed": { + "type": "integer", + "format": "int64", + "description": "The amount of assets removed for one asset kind" + }, + "added": { + "type": "integer", + "format": "int64", + "description": "The amount of assets added for one asset kind" + }, + "difference": { + "type": "integer", + "format": "int64", + "description": "The amount of assets changed for one asset kind" + } + }, + "required": [ + "kind", + "removed", + "added", + "difference" + ] + }, + "DependentResource": { + "type": "object", + "properties": { + "md5": { + "type": "string" + }, + "responseBodySize": { + "type": "integer", + "format": "int64" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "firstSeenCrawlGuid": { + "type": "string" + }, + "firstSeenPageGuid": { + "type": "string" + }, + "firstSeenResourceGuid": { + "type": "string" + }, + "lastSeenCrawlGuid": { + "type": "string" + }, + "lastSeenPageGuid": { + "type": "string" + }, + "lastSeenResourceGuid": { + "type": "string" + }, + "responseBodyMinhash": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "contentType": { + "type": "string" + }, + "sha256": { + "type": "string" + }, + "sha384": { + "type": "string" + }, + "sha512": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "cached": { + "type": "boolean" + }, + "sriChecks": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResourceIntegrityCheck" + }, + "x-ms-identifiers": [] + }, + "host": { + "type": "string" + }, + "lastObservedViolation": { + "type": "string", + "format": "date-time" + }, + "lastObservedValidation": { + "type": "string", + "format": "date-time" + }, + "lastObservedActualSriHash": { + "type": "string" + }, + "lastObservedExpectedSriHash": { + "type": "string" + } + } + }, + "DiscoGroup": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The system generated unique id for the resource." + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + }, + "description": { + "type": "string", + "description": "The description for a disco group." + }, + "tier": { + "type": "string", + "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group." + }, + "frequencyMilliseconds": { + "type": "integer", + "format": "int64", + "description": "The frequency at which the disco group is supposed to be rerun in milliseconds." + }, + "seeds": { + "type": "array", + "description": "The list of seeds used for the disco group runs.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "names": { + "type": "array", + "description": "The list of names used for the disco group runs.", + "items": { + "type": "string" + } + }, + "excludes": { + "type": "array", + "description": "The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "latestRun": { + "$ref": "#/definitions/DiscoRunResult", + "description": "The latest run of this disco group with some limited information, null if the group has never been run." + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "The date for the disco group was created." + }, + "templateId": { + "type": "string", + "description": "The unique identifier for the disco template used for the disco group creation." + } + }, + "required": [ + "name" + ] + }, + "DiscoGroupData": { + "type": "object", + "description": "A request body used to create a discovery group.", + "properties": { + "name": { + "type": "string", + "description": "The name for a disco group." + }, + "description": { + "type": "string", + "description": "The description for a disco group." + }, + "tier": { + "type": "string", + "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group." + }, + "frequencyMilliseconds": { + "type": "integer", + "format": "int64", + "description": "The frequency at which the disco group is supposed to be rerun in milliseconds." + }, + "seeds": { + "type": "array", + "description": "The list of seeds used for the disco group runs.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "names": { + "type": "array", + "description": "The list of names used for the disco group runs.", + "items": { + "type": "string" + } + }, + "excludes": { + "type": "array", + "description": "The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "templateId": { + "type": "string", + "description": "The unique identifier for the disco template used for the disco group creation." + } + } + }, + "DiscoGroupSummaryResult": { + "type": "object", + "description": "A list of disco group summaries", + "properties": { + "id": { + "type": "string", + "description": "The system generated unique id for the resource." + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource." + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + } + }, + "required": [ + "id", + "name", + "displayName" + ] + }, + "DiscoRunPageResult": { + "type": "object", + "properties": { + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + }, + "nextLink": { + "type": "string", + "description": "The link to access the next page of results. Not set if at the end of the result set." + }, + "value": { + "type": "array", + "description": "The items in the current page of results.", + "items": { + "$ref": "#/definitions/DiscoRunResult" + }, + "x-ms-identifiers": [] + } + } + }, + "DiscoRunResult": { + "type": "object", + "description": "The latest run of this disco group with some limited information, null if the group has never been run.", + "properties": { + "submittedDate": { + "type": "string", + "format": "date-time", + "description": "The date for when the disco run was created in the system." + }, + "startedDate": { + "type": "string", + "format": "date-time", + "description": "The date for when the disco run was actually started by the system." + }, + "completedDate": { + "type": "string", + "format": "date-time", + "description": "The date for when the disco run was completed by the system." + }, + "tier": { + "type": "string", + "description": "The tier which will affect the algorithm used for the disco run." + }, + "state": { + "$ref": "#/definitions/DiscoRunState", + "description": "The State of the disco run." + }, + "totalAssetsFoundCount": { + "type": "integer", + "format": "int64", + "description": "The total count of assets that were found this disco run." + }, + "seeds": { + "type": "array", + "description": "The list of seeds used for the disco run.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "excludes": { + "type": "array", + "description": "The list of excludes used for the disco run, aka assets to exclude from the discovery algorithm.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "names": { + "type": "array", + "description": "The list of names used for the disco run.", + "items": { + "type": "string" + } + } + } + }, + "DiscoRunState": { + "type": "string", + "description": "The State of the disco run.", + "enum": [ + "pending", + "running", + "completed", + "failed" + ], + "x-ms-enum": { + "name": "DiscoRunState", + "modelAsString": true + } + }, + "DiscoSource": { + "type": "object", + "description": "Source entity used to drive discovery.", + "properties": { + "kind": { + "$ref": "#/definitions/DiscoSourceKind", + "description": "The kind of disco source." + }, + "name": { + "type": "string", + "description": "The name for the disco source." + } + } + }, + "DiscoSourceKind": { + "type": "string", + "description": "The kind of disco source.", + "enum": [ + "as", + "attribute", + "contact", + "domain", + "host", + "ipBlock" + ], + "x-ms-enum": { + "name": "DiscoSourceKind", + "modelAsString": true + } + }, + "DiscoTemplate": { + "type": "object", + "description": "The items in the current page of results.", + "properties": { + "id": { + "type": "string", + "description": "The system generated unique id for the resource.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource." + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + }, + "industry": { + "type": "string", + "description": "The name of the industry." + }, + "region": { + "type": "string", + "description": "The name of the region." + }, + "countryCode": { + "type": "string", + "description": "The country code." + }, + "stateCode": { + "type": "string", + "description": "The state code." + }, + "city": { + "type": "string", + "description": "The name of the city." + }, + "seeds": { + "type": "array", + "description": "The list of disco template seeds.", + "items": { + "$ref": "#/definitions/DiscoSource" + }, + "x-ms-identifiers": [] + }, + "names": { + "type": "array", + "description": "The list of disco template names.", + "items": { + "type": "string" + } + } + }, + "required": [ + "id" + ] + }, + "DomainAsset": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "whoisId": { + "type": "integer", + "format": "int64" + }, + "registrarIanaIds": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedInteger" + }, + "x-ms-identifiers": [] + }, + "registrantContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "alexaInfos": { + "type": "array", + "items": { + "$ref": "#/definitions/AlexaInfo" + }, + "x-ms-identifiers": [] + }, + "nameServers": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "mailServers": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "whoisServers": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "domainStatuses": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrarCreatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrarUpdatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrarExpiresAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "soaRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/SoaRecord" + }, + "x-ms-identifiers": [] + }, + "detailedFromWhoisAt": { + "type": "string", + "format": "date-time" + }, + "registrarNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "parkedDomain": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "registrantNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + } + } + }, + "DomainAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/DomainAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "domain" + }, + "ErrorDetail": { + "type": "object", + "description": "This is the top-level error object whose code matches the x-ms-error-code response header.", + "properties": { + "code": { + "type": "string", + "description": "This is one of a server-defined set of error codes." + }, + "message": { + "type": "string", + "description": "This is a human-readable representation of the error." + }, + "target": { + "type": "string", + "description": "This is the error target." + }, + "details": { + "type": "array", + "description": "This is an array of details about specific errors that led to this reported error.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "x-ms-identifiers": [] + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "This is an object containing more specific information than the current object about the error." + } + }, + "required": [ + "code", + "message" + ] + }, + "GlobalAssetType": { + "type": "string", + "description": "A list of global asset type", + "enum": [ + "page", + "resource", + "mailServer", + "nameServer", + "host", + "domain", + "ipAddress", + "ipBlock", + "as", + "contact", + "sslCert" + ], + "x-ms-enum": { + "name": "GlobalAssetType", + "modelAsString": true, + "values": [ + { + "name": "page", + "value": "page", + "description": "page" + }, + { + "name": "resource", + "value": "resource", + "description": "resource" + }, + { + "name": "mailServer", + "value": "mailServer", + "description": "mail server" + }, + { + "name": "nameServer", + "value": "nameServer", + "description": "name server" + }, + { + "name": "host", + "value": "host", + "description": "host" + }, + { + "name": "domain", + "value": "domain", + "description": "domain" + }, + { + "name": "ipAddress", + "value": "ipAddress", + "description": "ip address" + }, + { + "name": "ipBlock", + "value": "ipBlock", + "description": "ip block" + }, + { + "name": "as", + "value": "as", + "description": "autonomous system number" + }, + { + "name": "contact", + "value": "contact", + "description": "contact" + }, + { + "name": "sslCert", + "value": "sslCert", + "description": "ssl certificate" + } + ] + } + }, + "GlobalInventoryState": { + "type": "string", + "description": "A list of global inventory states.", + "enum": [ + "candidate", + "candidateInvestigate", + "confirmed", + "associated", + "associatedPartner", + "associatedThirdParty", + "archived", + "dismissed", + "autoconfirmed" + ], + "x-ms-enum": { + "name": "GlobalInventoryState", + "modelAsString": true, + "values": [ + { + "name": "candidate", + "value": "candidate", + "description": "candidate" + }, + { + "name": "candidateInvestigate", + "value": "candidateInvestigate", + "description": "candidate investigate" + }, + { + "name": "confirmed", + "value": "confirmed", + "description": "confirmed" + }, + { + "name": "associated", + "value": "associated", + "description": "associated" + }, + { + "name": "associatedPartner", + "value": "associatedPartner", + "description": "associated partner" + }, + { + "name": "associatedThirdParty", + "value": "associatedThirdParty", + "description": "associated third party" + }, + { + "name": "archived", + "value": "archived", + "description": "archived" + }, + { + "name": "dismissed", + "value": "dismissed", + "description": "dismissed" + }, + { + "name": "autoconfirmed", + "value": "autoconfirmed", + "description": "auto confirmed" + } + ] + } + }, + "GuidPair": { + "type": "object", + "properties": { + "pageGuid": { + "type": "string" + }, + "crawlStateGuid": { + "type": "string" + }, + "loadDate": { + "type": "string", + "format": "date-time" + }, + "recent": { + "type": "boolean" + } + } + }, + "HostAsset": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "ipAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "webComponents": { + "type": "array", + "items": { + "$ref": "#/definitions/WebComponent" + }, + "x-ms-identifiers": [] + }, + "headers": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedHeader" + }, + "x-ms-identifiers": [] + }, + "attributes": { + "type": "array", + "items": { + "$ref": "#/definitions/Attribute" + }, + "x-ms-identifiers": [] + }, + "cookies": { + "type": "array", + "items": { + "$ref": "#/definitions/Cookie" + }, + "x-ms-identifiers": [] + }, + "sslCerts": { + "type": "array", + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "x-ms-identifiers": [] + }, + "parentHosts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "childHosts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "hostCore": { + "$ref": "#/definitions/HostCore" + }, + "services": { + "type": "array", + "items": { + "$ref": "#/definitions/Service" + }, + "x-ms-identifiers": [] + }, + "cnames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "resourceUrls": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceUrl" + }, + "x-ms-identifiers": [] + }, + "scanMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/ScanMetadata" + }, + "x-ms-identifiers": [] + }, + "asns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "ipBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/IpBlock" + }, + "x-ms-identifiers": [] + }, + "responseBodies": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "domainAsset": { + "$ref": "#/definitions/DomainAsset" + }, + "nsRecord": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "mxRecord": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "webserver": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "location": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "x-ms-identifiers": [] + }, + "nxdomain": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "sslServerConfig": { + "type": "array", + "items": { + "$ref": "#/definitions/SslServerConfig" + }, + "x-ms-identifiers": [] + }, + "isWildcard": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "banners": { + "type": "array", + "items": { + "$ref": "#/definitions/Banner" + }, + "x-ms-identifiers": [] + }, + "ipv4": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "ipv6": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "HostAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/HostAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "host" + }, + "HostCore": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "blacklistCauseFirstSeen": { + "type": "string", + "format": "date-time" + }, + "blacklistCauseLastSeen": { + "type": "string", + "format": "date-time" + }, + "blacklistCauseCount": { + "type": "integer", + "format": "int64" + }, + "blacklistResourceFirstSeen": { + "type": "string", + "format": "date-time" + }, + "blacklistResourceLastSeen": { + "type": "string", + "format": "date-time" + }, + "blacklistResourceCount": { + "type": "integer", + "format": "int64" + }, + "blacklistSequenceFirstSeen": { + "type": "string", + "format": "date-time" + }, + "blacklistSequenceLastSeen": { + "type": "string", + "format": "date-time" + }, + "blacklistSequenceCount": { + "type": "integer", + "format": "int64" + }, + "phishCauseCount": { + "type": "integer", + "format": "int64" + }, + "malwareCauseCount": { + "type": "integer", + "format": "int64" + }, + "spamCauseCount": { + "type": "integer", + "format": "int64" + }, + "scamCauseCount": { + "type": "integer", + "format": "int64" + }, + "phishResourceCount": { + "type": "integer", + "format": "int64" + }, + "malwareResourceCount": { + "type": "integer", + "format": "int64" + }, + "spamResourceCount": { + "type": "integer", + "format": "int64" + }, + "scamResourceCount": { + "type": "integer", + "format": "int64" + }, + "phishSequenceCount": { + "type": "integer", + "format": "int64" + }, + "malwareSequenceCount": { + "type": "integer", + "format": "int64" + }, + "spamSequenceCount": { + "type": "integer", + "format": "int64" + }, + "scamSequenceCount": { + "type": "integer", + "format": "int64" + }, + "alexaRank": { + "type": "integer", + "format": "int32" + }, + "hostReputationScore": { + "type": "integer", + "format": "int32" + }, + "hostPhishReputationScore": { + "type": "integer", + "format": "int32" + }, + "hostMalwareReputationScore": { + "type": "integer", + "format": "int32" + }, + "hostSpamReputationScore": { + "type": "integer", + "format": "int32" + }, + "hostScamReputationScore": { + "type": "integer", + "format": "int32" + }, + "domainReputationScore": { + "type": "integer", + "format": "int32" + }, + "domainPhishReputationScore": { + "type": "integer", + "format": "int32" + }, + "domainMalwareReputationScore": { + "type": "integer", + "format": "int32" + }, + "domainSpamReputationScore": { + "type": "integer", + "format": "int32" + }, + "domainScamReputationScore": { + "type": "integer", + "format": "int32" + }, + "uuid": { + "type": "string" + } + } + }, + "InnerError": { + "type": "object", + "description": "This is an object containing more specific information than the current object about the error.", + "properties": { + "code": { + "type": "string", + "description": "This is a more specific error code than was provided by the containing error." + }, + "value": { + "description": "This is an additional field representing the value that caused the error to help with debugging." + } + } + }, + "InventoryAsset": { + "type": "object", + "description": "A inventory base model created for swagger documentation purpose" + }, + "IpAddressAsset": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string" + }, + "asns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "reputations": { + "type": "array", + "items": { + "$ref": "#/definitions/Reputation" + }, + "x-ms-identifiers": [] + }, + "webComponents": { + "type": "array", + "items": { + "$ref": "#/definitions/WebComponent" + }, + "x-ms-identifiers": [] + }, + "netRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "headers": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedHeader" + }, + "x-ms-identifiers": [] + }, + "attributes": { + "type": "array", + "items": { + "$ref": "#/definitions/Attribute" + }, + "x-ms-identifiers": [] + }, + "cookies": { + "type": "array", + "items": { + "$ref": "#/definitions/Cookie" + }, + "x-ms-identifiers": [] + }, + "sslCerts": { + "type": "array", + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "x-ms-identifiers": [] + }, + "services": { + "type": "array", + "items": { + "$ref": "#/definitions/Service" + }, + "x-ms-identifiers": [] + }, + "ipBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/IpBlock" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "banners": { + "type": "array", + "items": { + "$ref": "#/definitions/Banner" + }, + "x-ms-identifiers": [] + }, + "scanMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/ScanMetadata" + }, + "x-ms-identifiers": [] + }, + "nsRecord": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "mxRecord": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "location": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "x-ms-identifiers": [] + }, + "hosts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "nxdomain": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "sslServerConfig": { + "type": "array", + "items": { + "$ref": "#/definitions/SslServerConfig" + }, + "x-ms-identifiers": [] + }, + "ipv4": { + "type": "boolean" + }, + "ipv6": { + "type": "boolean" + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "IpAddressAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/IpAddressAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "ipAddress" + }, + "IpBlock": { + "type": "object", + "properties": { + "ipBlock": { + "type": "string" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + } + } + }, + "IpBlockAsset": { + "type": "object", + "properties": { + "ipBlock": { + "type": "string" + }, + "asns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "bgpPrefixes": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "netNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalContacts": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrarCreatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrarUpdatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "netRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "startIp": { + "type": "string" + }, + "endIp": { + "type": "string" + }, + "reputations": { + "type": "array", + "items": { + "$ref": "#/definitions/Reputation" + }, + "x-ms-identifiers": [] + }, + "detailedFromWhoisAt": { + "type": "string", + "format": "date-time" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "location": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "x-ms-identifiers": [] + }, + "registrarExpiresAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrantNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalOrgs": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "registrantPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "technicalPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "ipv4": { + "type": "boolean" + }, + "ipv6": { + "type": "boolean" + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "IpBlockAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/IpBlockAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "ipBlock" + }, + "Location": { + "type": "object", + "properties": { + "countryCode": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "region": { + "type": "string" + }, + "regionName": { + "type": "string" + }, + "city": { + "type": "string" + }, + "areaCode": { + "type": "integer", + "format": "int32" + }, + "postalCode": { + "type": "string" + }, + "latitude": { + "type": "number", + "format": "float" + }, + "longitude": { + "type": "number", + "format": "float" + }, + "dmaCode": { + "type": "integer", + "format": "int32" + }, + "metroCodeId": { + "type": "integer", + "format": "int32" + } + } + }, + "LogAnalyticsDataConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LogAnalyticsDataConnectionProperties", + "description": "properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/DataConnection" + } + ], + "x-ms-discriminator-value": "logAnalytics" + }, + "LogAnalyticsDataConnectionData": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LogAnalyticsDataConnectionProperties", + "description": "properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/DataConnectionData" + } + ], + "x-ms-discriminator-value": "logAnalytics" + }, + "LogAnalyticsDataConnectionProperties": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "description": "log analytics api key" + }, + "workspaceId": { + "type": "string", + "description": "log analytics workspace id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataConnectionProperties" + } + ] + }, + "ObservationPageResult": { + "type": "object", + "description": "The page result response for the observation", + "properties": { + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of elements." + }, + "prioritySummary": { + "type": "object", + "description": "The summary of observation counts by priority.", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + }, + "value": { + "type": "array", + "description": "The list of observation results.", + "items": { + "$ref": "#/definitions/ObservationResult" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "totalElements", + "prioritySummary", + "value" + ] + }, + "ObservationPriority": { + "type": "string", + "description": "A list of observation priorities", + "enum": [ + "high", + "medium", + "low", + "none" + ], + "x-ms-enum": { + "name": "ObservationPriority", + "modelAsString": true, + "values": [ + { + "name": "high", + "value": "high", + "description": "high" + }, + { + "name": "medium", + "value": "medium", + "description": "medium" + }, + { + "name": "low", + "value": "low", + "description": "low" + }, + { + "name": "none", + "value": "none", + "description": "none" + } + ] + } + }, + "ObservationResult": { + "type": "object", + "description": "The result response for the observation", + "properties": { + "name": { + "type": "string", + "description": "The name of the observation." + }, + "types": { + "type": "array", + "description": "The list of applicable types.", + "items": { + "$ref": "#/definitions/ObservationType" + } + }, + "priority": { + "$ref": "#/definitions/ObservationPriority", + "description": "The priority of the observation." + }, + "cvssScoreV2": { + "type": "number", + "format": "double", + "description": "The CVSS v2 score." + }, + "cvssScoreV3": { + "type": "number", + "format": "double", + "description": "The CVSS v3 score." + } + }, + "required": [ + "name", + "types", + "priority", + "cvssScoreV2", + "cvssScoreV3" + ] + }, + "ObservationType": { + "type": "string", + "description": "A list of observation types", + "enum": [ + "cve", + "insight" + ], + "x-ms-enum": { + "name": "ObservationType", + "modelAsString": true, + "values": [ + { + "name": "cve", + "value": "cve", + "description": "common vulnerabilities and exposures" + }, + { + "name": "insight", + "value": "insight", + "description": "insight" + } + ] + } + }, + "ObservedBoolean": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedHeader": { + "type": "object", + "properties": { + "headerName": { + "type": "string" + }, + "headerValue": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedInteger": { + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedIntegers": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedLocation": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/Location" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedLong": { + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int64" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedPortState": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/ObservedPortStateValue" + }, + "port": { + "type": "integer", + "format": "int32" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedPortStateValue": { + "type": "string", + "description": "state of observed port", + "enum": [ + "open", + "closed", + "filtered" + ], + "x-ms-enum": { + "name": "ObservedPortStateValue", + "modelAsString": true + } + }, + "ObservedString": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedValue": { + "type": "object", + "description": "Template model for observed values", + "properties": { + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + } + } + }, + "PageAsset": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "httpMethod": { + "type": "string" + }, + "service": { + "type": "string" + }, + "ipAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "successful": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "httpResponseCodes": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedInteger" + }, + "x-ms-identifiers": [] + }, + "httpResponseMessages": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "responseTimes": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "frames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "windows": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "nonHtmlFrames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "undirectedContent": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "contentTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "contentLengths": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "windowNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "charsets": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "titles": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "languages": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "responseHeaders": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedHeader" + }, + "x-ms-identifiers": [] + }, + "cookies": { + "type": "array", + "items": { + "$ref": "#/definitions/Cookie" + }, + "x-ms-identifiers": [] + }, + "webComponents": { + "type": "array", + "items": { + "$ref": "#/definitions/WebComponent" + }, + "x-ms-identifiers": [] + }, + "attributes": { + "type": "array", + "items": { + "$ref": "#/definitions/Attribute" + }, + "x-ms-identifiers": [] + }, + "assetSecurityPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/AssetSecurityPolicy" + }, + "x-ms-identifiers": [] + }, + "responseBodyMinhashSignatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedIntegers" + }, + "x-ms-identifiers": [] + }, + "fullDomMinhashSignatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedIntegers" + }, + "x-ms-identifiers": [] + }, + "responseBodyHashSignatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "sslCerts": { + "type": "array", + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "cause": { + "$ref": "#/definitions/PageCause" + }, + "referrer": { + "type": "string" + }, + "redirectUrls": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "redirectType": { + "$ref": "#/definitions/PageAssetRedirectType" + }, + "finalUrls": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "finalResponseCodes": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedInteger" + }, + "x-ms-identifiers": [] + }, + "parkedPage": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "resourceUrls": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceUrl" + }, + "x-ms-identifiers": [] + }, + "guids": { + "type": "array", + "items": { + "$ref": "#/definitions/GuidPair" + }, + "x-ms-identifiers": [] + }, + "finalIpAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "asns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "ipBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/IpBlock" + }, + "x-ms-identifiers": [] + }, + "finalAsns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "finalIpBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/IpBlock" + }, + "x-ms-identifiers": [] + }, + "responseBodies": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "domainAsset": { + "$ref": "#/definitions/DomainAsset" + }, + "rootUrl": { + "$ref": "#/definitions/ObservedBoolean" + }, + "isRootUrl": { + "type": "boolean" + }, + "location": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLocation" + }, + "x-ms-identifiers": [] + }, + "services": { + "type": "array", + "items": { + "$ref": "#/definitions/Service" + }, + "x-ms-identifiers": [] + }, + "siteStatus": { + "type": "string" + }, + "cnames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "cdns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "host": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "sslServerConfig": { + "type": "array", + "items": { + "$ref": "#/definitions/SslServerConfig" + }, + "x-ms-identifiers": [] + }, + "gdprAssetSecurityPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/AssetSecurityPolicy" + }, + "x-ms-identifiers": [] + }, + "ipv4": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "ipv6": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "PageAssetRedirectType": { + "type": "string", + "description": "The redirect type of a page", + "enum": [ + "httpHeader", + "metaRefresh", + "javascript", + "final" + ], + "x-ms-enum": { + "name": "PageAssetRedirectType", + "modelAsString": true + } + }, + "PageAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/PageAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "page" + }, + "PageCause": { + "type": "object", + "properties": { + "cause": { + "type": "string" + }, + "causeElementXPath": { + "type": "string" + }, + "location": { + "type": "string" + }, + "possibleMatches": { + "type": "integer", + "format": "int32" + }, + "loopDetected": { + "type": "boolean" + }, + "version": { + "type": "integer", + "format": "int32" + }, + "domChangeIndex": { + "type": "integer", + "format": "int32" + } + } + }, + "PagedAssetResource": { + "type": "object", + "description": "Paged collection of AssetResource items", + "properties": { + "value": { + "type": "array", + "description": "The AssetResource items on this page", + "items": { + "$ref": "#/definitions/AssetResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + }, + "mark": { + "type": "string", + "description": "The cursor mark to be used on the next request. Not set if using paging." + } + }, + "required": [ + "value" + ] + }, + "PagedCisaCveResult": { + "type": "object", + "description": "Paged collection of CisaCveResult items", + "properties": { + "value": { + "type": "array", + "description": "The CisaCveResult items on this page", + "items": { + "$ref": "#/definitions/CisaCveResult" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + } + }, + "required": [ + "value" + ] + }, + "PagedDataConnection": { + "type": "object", + "description": "Paged collection of DataConnection items", + "properties": { + "value": { + "type": "array", + "description": "The DataConnection items on this page", + "items": { + "$ref": "#/definitions/DataConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + } + }, + "required": [ + "value" + ] + }, + "PagedDiscoGroup": { + "type": "object", + "description": "Paged collection of DiscoGroup items", + "properties": { + "value": { + "type": "array", + "description": "The DiscoGroup items on this page", + "items": { + "$ref": "#/definitions/DiscoGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + } + }, + "required": [ + "value" + ] + }, + "PagedDiscoTemplate": { + "type": "object", + "description": "Paged collection of DiscoTemplate items", + "properties": { + "value": { + "type": "array", + "description": "The DiscoTemplate items on this page", + "items": { + "$ref": "#/definitions/DiscoTemplate" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + } + }, + "required": [ + "value" + ] + }, + "PagedSavedFilter": { + "type": "object", + "description": "Paged collection of SavedFilter items", + "properties": { + "value": { + "type": "array", + "description": "The SavedFilter items on this page", + "items": { + "$ref": "#/definitions/SavedFilter" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + } + }, + "required": [ + "value" + ] + }, + "PagedTask": { + "type": "object", + "description": "Paged collection of Task items", + "properties": { + "value": { + "type": "array", + "description": "The Task items on this page", + "items": { + "$ref": "#/definitions/Task" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + }, + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." + } + }, + "required": [ + "value" + ] + }, + "Port": { + "type": "object", + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + } + } + }, + "ReportAssetSnapshotExportRequest": { + "type": "object", + "description": "A request body used for an asset report snapshot export.", + "properties": { + "metric": { + "type": "string", + "description": "The metric to retrieve a snapshot for." + }, + "fileName": { + "type": "string", + "description": "The filename of the exported file." + }, + "columns": { + "type": "array", + "description": "The columns to include in the export", + "items": { + "type": "string" + } + } + } + }, + "ReportAssetSnapshotRequest": { + "type": "object", + "description": "A request body used to retrieve an asset report snapshot.", + "properties": { + "metric": { + "type": "string", + "description": "The metric to retrieve a snapshot for." + }, + "labelName": { + "type": "string", + "description": "The name of the label to retrieve a snapshot for." + }, + "size": { + "type": "integer", + "format": "int32", + "description": "The number of assets per page." + }, + "page": { + "type": "integer", + "format": "int32", + "description": "The page to retrieve." + } + } + }, + "ReportAssetSnapshotResult": { + "type": "object", + "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": { + "displayName": { + "type": "string", + "description": "The name of the metric." + }, + "metric": { + "type": "string", + "description": "The unique metric name." + }, + "labelName": { + "type": "string", + "description": "The customer label that was filtered on, if one was provided." + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "description": "The last time this asset data was updated on this metric." + }, + "description": { + "type": "string", + "description": "A description of what the metric represents." + }, + "assets": { + "$ref": "#/definitions/AssetPageResult", + "description": "The page of assets that match the provided metric." + } + } + }, + "ReportAssetSummaryRequest": { + "type": "object", + "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": { + "metricCategories": { + "type": "array", + "description": "Categories to retrieve risk reporting data for.", + "items": { + "type": "string" + } + }, + "metrics": { + "type": "array", + "description": "Metrics to retrieve risk reporting data for.", + "items": { + "type": "string" + } + }, + "filters": { + "type": "array", + "description": "Query filters to apply to the asset summary.", + "items": { + "type": "string" + } + }, + "groupBy": { + "type": "string", + "description": "A parameter to group the assets by (first level facet field), only used when the chosen summary identifier is filters." + }, + "segmentBy": { + "type": "string", + "description": "A parameter to segment the assets by (second level facet field), only used when the chosen summary identifier is filters." + }, + "labelName": { + "type": "string", + "description": "Currently unused." + } + } + }, + "ReportAssetSummaryResult": { + "type": "object", + "properties": { + "assetSummaries": { + "type": "array", + "description": "The collection of asset summaries.", + "items": { + "$ref": "#/definitions/AssetSummaryResult" + }, + "x-ms-identifiers": [] + } + } + }, + "ReportBillableAssetBreakdown": { + "type": "object", + "description": "The breakdown of billable asset counts for each asset type.", + "properties": { + "kind": { + "$ref": "#/definitions/ReportBillableAssetBreakdownKind", + "description": "The kind of billable asset." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "The number of assets of this type." + } + } + }, + "ReportBillableAssetBreakdownKind": { + "type": "string", + "description": "The kind of billable asset.", + "enum": [ + "domain", + "host", + "ipAddress" + ], + "x-ms-enum": { + "name": "ReportBillableAssetBreakdownKind", + "modelAsString": true + } + }, + "ReportBillableAssetSnapshotResult": { + "type": "object", + "properties": { + "date": { + "type": "string", + "format": "date", + "description": "The date these assets were billed on." + }, + "total": { + "type": "integer", + "format": "int64", + "description": "The total number of billable assets for this date." + }, + "assetBreakdown": { + "type": "array", + "description": "The breakdown of billable asset counts for each asset type.", + "items": { + "$ref": "#/definitions/ReportBillableAssetBreakdown" + }, + "x-ms-identifiers": [] + } + } + }, + "ReportBillableAssetSummaryResult": { + "type": "object", + "properties": { + "assetSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/ReportBillableAssetSnapshotResult" + }, + "x-ms-identifiers": [] + } + } + }, + "Reputation": { + "type": "object", + "properties": { + "listName": { + "type": "string" + }, + "threatType": { + "type": "string" + }, + "trusted": { + "type": "boolean" + }, + "cidr": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "listUpdatedAt": { + "type": "string", + "format": "date-time" + }, + "recent": { + "type": "boolean" + } + } + }, + "ResourceUrl": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/definitions/DependentResource" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + } + } + }, + "SavedFilter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The system generated unique id for the resource." + }, + "name": { + "type": "string", + "description": "The caller provided unique name for the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The name that can be used for display purposes." + }, + "filter": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "SavedFilterData": { + "type": "object", + "description": "A request body used to create a saved filter.", + "properties": { + "filter": { + "type": "string", + "description": "An expression on the resource type that selects the resources to be returned." + }, + "description": { + "type": "string", + "description": "A human readable description of the saved filter." + } + }, + "required": [ + "filter", + "description" + ] + }, + "ScanMetadata": { + "type": "object", + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "bannerMetadata": { + "type": "string" + }, + "startScan": { + "type": "string", + "format": "date-time" + }, + "endScan": { + "type": "string", + "format": "date-time" + } + } + }, + "Service": { + "type": "object", + "properties": { + "scheme": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "webComponents": { + "type": "array", + "items": { + "$ref": "#/definitions/WebComponent" + }, + "x-ms-identifiers": [] + }, + "sslCerts": { + "type": "array", + "items": { + "$ref": "#/definitions/SslCertAsset" + }, + "x-ms-identifiers": [] + }, + "exceptions": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + }, + "portStates": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedPortState" + }, + "x-ms-identifiers": [] + } + } + }, + "SoaRecord": { + "type": "object", + "properties": { + "nameServer": { + "type": "string" + }, + "email": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "serialNumber": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + } + } + }, + "Source": { + "type": "object", + "properties": { + "source": { + "type": "string" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "reason": { + "type": "string" + } + } + }, + "SslCertAsset": { + "type": "object", + "properties": { + "sha1": { + "type": "string" + }, + "subjectCommonNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "organizations": { + "type": "array", + "items": { + "type": "string" + } + }, + "organizationalUnits": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerCommonNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "sigAlgName": { + "type": "string" + }, + "invalidAfter": { + "type": "string", + "format": "date-time" + }, + "serialNumber": { + "type": "string" + }, + "subjectAlternativeNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerAlternativeNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "invalidBefore": { + "type": "string", + "format": "date-time" + }, + "keySize": { + "type": "integer", + "format": "int32" + }, + "keyAlgorithm": { + "type": "string" + }, + "subjectLocality": { + "type": "array", + "items": { + "type": "string" + } + }, + "subjectState": { + "type": "array", + "items": { + "type": "string" + } + }, + "subjectCountry": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerLocality": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerState": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerCountry": { + "type": "array", + "items": { + "type": "string" + } + }, + "subjectOrganizations": { + "type": "array", + "items": { + "type": "string" + } + }, + "subjectOrganizationalUnits": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerOrganizations": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerOrganizationalUnits": { + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "type": "integer", + "format": "int32" + }, + "certificateAuthority": { + "type": "boolean" + }, + "selfSigned": { + "type": "boolean" + }, + "sigAlgOid": { + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "validationType": { + "$ref": "#/definitions/SslCertAssetValidationType" + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "SslCertAssetResource": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/definitions/SslCertAsset", + "description": "asset" + } + }, + "required": [ + "asset" + ], + "allOf": [ + { + "$ref": "#/definitions/AssetResource" + } + ], + "x-ms-discriminator-value": "sslCert" + }, + "SslCertAssetValidationType": { + "type": "string", + "description": "The validation type of a Ssl certificate", + "enum": [ + "domainValidation", + "organizationValidation", + "extendedValidation" + ], + "x-ms-enum": { + "name": "SslCertAssetValidationType", + "modelAsString": true + } + }, + "SslServerConfig": { + "type": "object", + "properties": { + "tlsVersions": { + "type": "array", + "items": { + "type": "string" + } + }, + "cipherSuites": { + "type": "array", + "items": { + "type": "string" + } + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + } + } + }, + "SubResourceIntegrityCheck": { + "type": "object", + "properties": { + "violation": { + "type": "boolean" + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "causePageUrl": { + "type": "string" + }, + "crawlGuid": { + "type": "string" + }, + "pageGuid": { + "type": "string" + }, + "resourceGuid": { + "type": "string" + }, + "expectedHash": { + "type": "string" + } + } + }, + "Task": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the task.", + "readOnly": true + }, + "startedAt": { + "type": "string", + "format": "date-time", + "description": "The time the task started." + }, + "completedAt": { + "type": "string", + "format": "date-time", + "description": "The time the task completed." + }, + "lastPolledAt": { + "type": "string", + "format": "date-time", + "description": "The last time the status of the task was updated." + }, + "state": { + "$ref": "#/definitions/TaskState", + "description": "The state the task is in." + }, + "phase": { + "$ref": "#/definitions/TaskPhase", + "description": "The phase the task is in." + }, + "reason": { + "type": "string", + "description": "The reason the task was moved into its current state, if the task wasn't completed." + }, + "metadata": { + "type": "object", + "description": "Attributes unique to the task. This differs by task type.", + "additionalProperties": {} + } + }, + "required": [ + "id" + ] + }, + "TaskPhase": { + "type": "string", + "description": "The phase the task is in.", + "enum": [ + "running", + "polling", + "complete" + ], + "x-ms-enum": { + "name": "TaskPhase", + "modelAsString": true + } + }, + "TaskState": { + "type": "string", + "description": "The state the task is in.", + "enum": [ + "pending", + "running", + "paused", + "complete", + "incomplete", + "failed", + "warning" + ], + "x-ms-enum": { + "name": "TaskState", + "modelAsString": true + } + }, + "ValidateResult": { + "type": "object", + "description": "Validate result for validate action endpoints", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDetail", + "description": "This is the top-level error object whose code matches the x-ms-error-code response header." + } + } + }, + "WebComponent": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "version": { + "type": "string" + }, + "ruleId": { + "type": "array", + "items": { + "type": "string" + } + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "cve": { + "type": "array", + "items": { + "$ref": "#/definitions/Cve" + }, + "x-ms-identifiers": [] + }, + "endOfLife": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" + }, + "ports": { + "type": "array", + "items": { + "$ref": "#/definitions/Port" + }, + "x-ms-identifiers": [] + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] + }, + "service": { + "type": "string" + } + } + } + }, + "parameters": { + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.Foundations.ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for this operation.", + "required": true, + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" + }, + "Azure.Core.MaxPageSizeQueryParameter": { + "name": "maxpagesize", + "in": "query", + "description": "The maximum number of result items per page.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "Azure.Core.SkipQueryParameter": { + "name": "skip", + "in": "query", + "description": "The number of result items to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0, + "x-ms-parameter-location": "method" + }, + "DiscoGroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The unique identifier for the discovery group.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "MarkParameter": { + "name": "mark", + "in": "query", + "description": "Specify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "OrderByParameter": { + "name": "orderby", + "in": "query", + "description": "A list of expressions that specify the order of the returned resources.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RecentOnlyParameter": { + "name": "recentOnly", + "in": "query", + "description": "If it's recent only.", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method" + }, + "RequiredFilterParameter": { + "name": "filter", + "in": "query", + "description": "An expression on the resource type that selects the resources to be returned.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResponseIncludesParameter": { + "name": "responseIncludes", + "in": "query", + "description": "The properties to include in the response.", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv", + "x-ms-parameter-location": "method" + }, + "ResponseTypeParameter": { + "name": "responseType", + "in": "query", + "description": "Specify the response type. The possible values are: ID, STANDARD, FULL, REDUCED", + "required": false, + "type": "string", + "enum": [ + "id", + "standard", + "full", + "reduced" + ], + "x-ms-enum": { + "name": "AssetResponseType", + "modelAsString": true, + "values": [ + { + "name": "id", + "value": "id", + "description": "Return only the asset id." + }, + { + "name": "standard", + "value": "standard", + "description": "Return the standard set of asset fields." + }, + { + "name": "full", + "value": "full", + "description": "Return the full set of asset fields." + }, + { + "name": "reduced", + "value": "reduced", + "description": "Return a reduced set of fields." + } + ] + }, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..7401a019a715 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json @@ -0,0 +1,1040 @@ +{ + "operationId": "Assets_GetAssetResource", + "title": "Assets_GetAssetResource", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Assets_GetAssetsExport.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetsExport.json new file mode 100644 index 000000000000..f41cacbde618 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetAssetsExport.json @@ -0,0 +1,33 @@ +{ + "operationId": "Assets_GetAssetsExport", + "title": "Assets_GetAssetsExport", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "fileName": "ThisisaFileName", + "filter": "state%20%3D%20%22confirmed%22", + "orderBy": "name", + "body": { + "fileName": "ThisisaFileName", + "columns": [ + "asset", + "name" + ] + } + }, + "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/2024-03-01-preview/examples/Assets_GetDeltaDetails.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaDetails.json new file mode 100644 index 000000000000..eac409342e9d --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaDetails.json @@ -0,0 +1,46 @@ +{ + "operationId": "Assets_GetDeltaDetails", + "title": "Assets_GetDeltaDetails", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "deltaDetailType": "added", + "priorDays": 30, + "kind": "domain", + "date": "2024-03-17" + } + }, + "responses": { + "200": { + "body": { + "totalElements": 3, + "value": [ + { + "kind": "domain", + "name": "hondawallofdreams.ca", + "createdAt": "2024-02-23T18:33:06Z", + "updatedAt": "2024-02-23T18:33:06Z", + "state": "confirmed" + }, + { + "kind": "domain", + "name": "hondawallofdreamsfr.ca", + "createdAt": "2024-02-16T16:14:40Z", + "updatedAt": "2024-02-16T16:14:40Z", + "state": "confirmed" + }, + { + "kind": "domain", + "name": "parkerhonda.com", + "createdAt": "2024-03-02T07:29:01Z", + "updatedAt": "2024-03-09T09:19:23Z", + "state": "confirmed" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaSummary.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaSummary.json new file mode 100644 index 000000000000..93a846861411 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetDeltaSummary.json @@ -0,0 +1,106 @@ +{ + "operationId": "Assets_GetDeltaSummary", + "title": "Assets_GetDeltaSummary", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "priorDays": 30, + "date": "2024-03-17" + } + }, + "responses": { + "200": { + "body": { + "summary": { + "range": 30, + "removed": 4, + "added": 36924, + "difference": 36920, + "kindSummaries": [ + { + "kind": "ipAddress", + "removed": 0, + "added": 3, + "difference": 3 + }, + { + "kind": "contact", + "removed": 0, + "added": 0, + "difference": 0 + }, + { + "kind": "host", + "removed": 0, + "added": 11817, + "difference": 11817 + }, + { + "kind": "ipBlock", + "removed": 0, + "added": 0, + "difference": 0 + } + ] + }, + "daily": [ + { + "date": "2024-03-17T00:00:00Z", + "deltas": [ + { + "kind": "contact", + "removed": 0, + "added": 0, + "difference": 0, + "count": 61 + }, + { + "kind": "sslCert", + "removed": 0, + "added": 4, + "difference": 4, + "count": 1943 + }, + { + "kind": "domain", + "removed": 0, + "added": 0, + "difference": 0, + "count": 528 + }, + { + "kind": "ipBlock", + "removed": 0, + "added": 0, + "difference": 0, + "count": 44 + } + ] + }, + { + "date": "2024-02-17T00:00:00Z", + "deltas": [ + { + "kind": "ipAddress", + "removed": 0, + "added": 0, + "difference": 0, + "count": 331105 + }, + { + "kind": "contact", + "removed": 0, + "added": 0, + "difference": 0, + "count": 61 + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetObservations.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetObservations.json new file mode 100644 index 000000000000..a67e0be5d343 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_GetObservations.json @@ -0,0 +1,24 @@ +{ + "operationId": "Assets_GetObservations", + "title": "Assets_GetObservations", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "assetId": "aG9zdCQkY29udG9zby5jb20" + }, + "responses": { + "200": { + "body": { + "totalElements": 0, + "prioritySummary": { + "high": 0, + "medium": 0, + "low": 0 + }, + "value": [] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..fa4ba20c9da3 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json @@ -0,0 +1,3901 @@ +{ + "operationId": "Assets_ListAssetResource", + "title": "Assets_ListAssetResource", + "parameters": { + "api-version": "2024-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://eastus.easm.defender.microsoft.com/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/2024-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json new file mode 100644 index 000000000000..a0025d435808 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "Assets_UpdateAssets", + "title": "Assets_UpdateAssets", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/CisaCves_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_Get.json new file mode 100644 index 000000000000..7b322105a40a --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_Get.json @@ -0,0 +1,28 @@ +{ + "operationId": "CisaCves_GetCisaCve", + "title": "CisaCves_GetCisaCve", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "cveId": "CVE-2021-40438" + }, + "responses": { + "200": { + "body": { + "cveId": "CVE-0000-00000", + "vendorProject": "Apache", + "product": "Apache", + "vulnerabilityName": "Apache HTTP Server-Side Request Forgery (SSRF)", + "shortDescription": "A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.", + "requiredAction": "Apply updates per vendor instructions.", + "notes": "", + "dateAdded": "2022-12-09T06:01:35.000+00:00", + "dueDate": "2022-12-09T06:01:35.000+00:00", + "updatedAt": "2022-12-10T06:01:35.000+00:00", + "count": 121 + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_List.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_List.json new file mode 100644 index 000000000000..934403497f08 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/CisaCves_List.json @@ -0,0 +1,46 @@ +{ + "operationId": "CisaCves_GetCisaCves", + "title": "CisaCves_GetCisaCves", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "nextLink": "https://eastus.easm.defender.microsoft.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/cisacves/api-version=2023-03-01-preview", + "value": [ + { + "cveId": "CVE-2000-0000", + "vendorProject": "Apache", + "product": "Apache", + "vulnerabilityName": "Apache HTTP Server-Side Request Forgery (SSRF)", + "shortDescription": "A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.", + "requiredAction": "Apply updates per vendor instructions.", + "notes": "", + "dateAdded": "2022-12-09T06:01:35.000+00:00", + "dueDate": "2022-12-09T06:01:35.000+00:00", + "updatedAt": "2022-12-10T06:01:35.000+00:00", + "count": 121 + }, + { + "cveId": "CVE-2000-0000", + "vendorProject": "Apache", + "product": "Tomcat", + "vulnerabilityName": "Apache Tomcat Remote Code Execution Vulnerability", + "shortDescription": "Apache Tomcat contains an unspecified vulnerability that allows for remote code execution if JmxRemoteLifecycleListener is used and an attacker can reach Java Management Extension (JMX) ports. This CVE exists because this listener wasn't updated for consistency with the Oracle patched issues for CVE-2016-3427 which affected credential types.", + "requiredAction": "Apply updates per vendor instructions.", + "notes": "https://tomcat.apache.org/security-9.html", + "dateAdded": "2022-12-09T06:01:35.000+00:00", + "dueDate": "2022-12-09T06:01:35.000+00:00", + "updatedAt": "2022-12-10T06:01:35.000+00:00", + "count": 1 + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..383eda683065 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "operationId": "DataConnections_CreateOrReplaceDataConnection", + "title": "DataConnections_CreateOrReplaceDataConnection", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..57a9c6573a25 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DataConnections_DeleteDataConnection", + "title": "DataConnections_DeleteDataConnection", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..c50651b95e95 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "operationId": "DataConnections_GetDataConnection", + "title": "DataConnections_GetDataConnection", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..89c7c6b3b06e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "operationId": "DataConnections_ListDataConnection", + "title": "DataConnections_ListDataConnection", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "nextLink": "https://eastus.easm.defender.microsoft.com/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/2024-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..5230f4a8bceb --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "operationId": "DataConnections_ValidateDataConnection", + "title": "DataConnections_ValidateDataConnection", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..3bc3caad1501 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "operationId": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "title": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..66d166ccd5a4 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_DeleteDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DiscoveryGroups_DeleteDiscoGroup", + "title": "DiscoveryGroups_DeleteDiscoGroup", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_DismissAssetChain.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_DismissAssetChain.json new file mode 100644 index 000000000000..9f33c9a5851e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_DismissAssetChain.json @@ -0,0 +1,29 @@ +{ + "operationId": "DiscoveryGroups_DismissAssetChain", + "title": "DiscoveryGroups_DismissAssetChain", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "assetChainSource": "ASSET", + "sourceIds": [ + "DOMAIN$$contoso.com" + ] + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2024-05-02T19:30:14.432+00:00", + "completedAt": "2024-05-02T19:30:54.432+00:00", + "lastPolledAt": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_GetAssetChainSummary.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetAssetChainSummary.json new file mode 100644 index 000000000000..7b6a99541487 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetAssetChainSummary.json @@ -0,0 +1,39 @@ +{ + "operationId": "DiscoveryGroups_GetAssetChainSummary", + "title": "DiscoveryGroups_GetAssetChainSummary", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "assetChainSource": "ASSET", + "sourceIds": [ + "DOMAIN$$contoso.com" + ] + } + }, + "responses": { + "200": { + "body": { + "affectedAssetsSummary": [ + { + "kind": "host", + "affectedCount": 1473 + }, + { + "kind": "page", + "affectedCount": 1235 + } + ], + "affectedGroupsSummary": [ + { + "id": "Contoso Corporation", + "name": "Contoso Corporation", + "displayName": "Contoso Corporation" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..04fcba52a318 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "operationId": "DiscoveryGroups_GetDiscoGroup", + "title": "DiscoveryGroups_GetDiscoGroup", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8fb79d89a420 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,72 @@ +{ + "operationId": "DiscoveryGroups_ListDiscoGroup", + "title": "DiscoveryGroups_ListDiscoGroup", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json new file mode 100644 index 000000000000..d85e5b2db497 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "operationId": "DiscoveryGroups_ListRuns", + "title": "DiscoveryGroups_ListRuns", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "body": { + "totalElements": 45, + "nextLink": "https://eastus.easm.defender.microsoft.com/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/2024-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..525206a2ba95 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DiscoveryGroups_RunDiscoGroup", + "title": "DiscoveryGroups_RunDiscoGroup", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..beec98746463 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "operationId": "DiscoveryGroups_ValidateDiscoGroup", + "title": "DiscoveryGroups_ValidateDiscoGroup", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json new file mode 100644 index 000000000000..60ed3017c836 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "operationId": "DiscoveryTemplates_GetDiscoTemplate", + "title": "DiscoveryTemplates_GetDiscoTemplate", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json new file mode 100644 index 000000000000..a4cd990a7ff0 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "DiscoveryTemplates_ListDiscoTemplate", + "title": "DiscoveryTemplates_ListDiscoTemplate", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json new file mode 100644 index 000000000000..0e61bd87c00e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json @@ -0,0 +1,595 @@ +{ + "operationId": "Reports_GetBillable", + "title": "Reports_GetBillable", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Reports_GetReportAssetSnapshotExport.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetReportAssetSnapshotExport.json new file mode 100644 index 000000000000..efc5d6794367 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetReportAssetSnapshotExport.json @@ -0,0 +1,32 @@ +{ + "operationId": "Reports_GetSnapshotExport", + "title": "Reports_GetSnapshotExport", + "parameters": { + "api-version": "2024-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metric": "ThisisaMetricName", + "fileName": "exportedFileName", + "columns": [ + "Column1", + "Column2", + "Column3" + ] + } + }, + "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/2024-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json new file mode 100644 index 000000000000..9a0e274f8d1e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json @@ -0,0 +1,1137 @@ +{ + "operationId": "Reports_GetSnapshot", + "title": "Reports_GetSnapshot", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json new file mode 100644 index 000000000000..aa6975416528 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json @@ -0,0 +1,64 @@ +{ + "operationId": "Reports_GetSummary", + "title": "Reports_GetSummary", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..095a93384caf --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "operationId": "SavedFilters_CreateOrReplaceSavedFilter", + "title": "SavedFilters_CreateOrReplaceSavedFilter", + "parameters": { + "api-version": "2024-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": { + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter", + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..bde8d371a352 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "SavedFilters_DeleteSavedFilter", + "title": "SavedFilters_DeleteSavedFilter", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..f1ff8b23e592 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "SavedFilters_GetSavedFilter", + "title": "SavedFilters_GetSavedFilter", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..f68574bd443e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "operationId": "SavedFilters_ListSavedFilter", + "title": "SavedFilters_ListSavedFilter", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..cd48bcec2aa5 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_CancelTask", + "title": "Tasks_CancelTask", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Tasks_DownloadTask.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_DownloadTask.json new file mode 100644 index 000000000000..59c5ed14fedc --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_DownloadTask.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_DownloadTask", + "title": "Tasks_DownloadTask", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..84357c2810c8 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_GetTask", + "title": "Tasks_GetTask", + "parameters": { + "api-version": "2024-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/2024-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..1bd516ce08c1 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "operationId": "Tasks_ListTask", + "title": "Tasks_ListTask", + "parameters": { + "api-version": "2024-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/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_RunTask.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_RunTask.json new file mode 100644 index 000000000000..2f9d63bf7a9c --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/examples/Tasks_RunTask.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_RunTask", + "title": "Tasks_RunTask", + "parameters": { + "api-version": "2024-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/readme.md b/specification/riskiq/data-plane/readme.md index 87fb2ca6e940..eb9331660612 100644 --- a/specification/riskiq/data-plane/readme.md +++ b/specification/riskiq/data-plane/readme.md @@ -4,11 +4,10 @@ Configuration for generating EASM SDK. -The current release is `2023-03-01-preview`. +The current release is `2024-03-01-preview`. -``` yaml - -tag: 2023-03-01-preview +```yaml +tag: 2024-03-01-preview add-credentials: true openapi-type: data-plane openapi-subtype: providerHub @@ -16,40 +15,54 @@ license-header: MICROSOFT_MIT_NO_CODEGEN azure-arm: true clear-output-folder: true ``` + # Releases ### Release 2022-04-01-preview + These settings apply only when `--tag=2022-04-01-preview` is specified on the command line. -``` yaml $(tag) == '2022-04-01-preview' +```yaml $(tag) == '2022-04-01-preview' input-file: - Microsoft.Easm/preview/2022-04-01-preview/easm.json ``` ### Release 2022-09-01-preview + These settings apply only when `--tag=2022-09-01-preview` is specified on the command line. -``` yaml $(tag) == '2022-09-01-preview' +```yaml $(tag) == '2022-09-01-preview' input-file: - Microsoft.Easm/preview/2022-09-01-preview/easm.json ``` ### Release 2022-11-01-preview + These settings apply only when `--tag=2022-11-01-preview` is specified on the command line. -``` yaml $(tag) == '2022-11-01-preview' +```yaml $(tag) == '2022-11-01-preview' 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' +```yaml $(tag) == '2023-03-01-preview' input-file: - Microsoft.Easm/preview/2023-03-01-preview/easm.json ``` +### Release 2024-03-01-preview + +These settings apply only when `--tag=2024-03-01-preview` is specified on the command line. + +```yaml $(tag) == '2024-03-01-preview' +input-file: + - Microsoft.Easm/preview/2024-03-01-preview/easm.json +``` + ## Python These settings apply only when `--python` is specified on the command line. @@ -57,7 +70,7 @@ Please also specify `--python-sdks-folder=