diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json similarity index 99% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json index 7a413bc70ee3..abbe10e5ab3e 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Get.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Assets_GetAssetResource_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Assets_GetAssetResource", + "title": "Assets_GetAssetResource", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json similarity index 99% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json index ba42fd29e5f5..6d82361df7b2 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_List.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Assets_ListAssetResource_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Assets_ListAssetResource", + "title": "Assets_ListAssetResource", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -13,7 +15,7 @@ "body": { "totalElements": 50000, "mark": null, - "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/assets?filter=state+%3D+%22confirmed%22&skip=1&maxpagesize=25&api-version=2023-03-01-preview", + "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", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json similarity index 91% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json index 1924b7da718a..262f8ecf7eba 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_Update.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Assets_UpdateAssets_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Assets_UpdateAssets", + "title": "Assets_UpdateAssets", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json similarity index 87% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json index 540c9f8025b7..9dcf5d62b276 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Put.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DataConnections_CreateOrReplaceDataConnection", + "title": "DataConnections_CreateOrReplaceDataConnection", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json similarity index 73% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json index 3e0c1417f4b5..4b5a7654022a 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Delete.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_DeleteDataConnection_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DataConnections_DeleteDataConnection", + "title": "DataConnections_DeleteDataConnection", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json similarity index 88% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json index f202256272a7..171c09bf4eb1 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Get.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_GetDataConnection_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DataConnections_GetDataConnection", + "title": "DataConnections_GetDataConnection", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json similarity index 81% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json index 92378f5ef234..2c8d1e3fe7f8 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_List.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_ListDataConnection_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DataConnections_ListDataConnection", + "title": "DataConnections_ListDataConnection", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -9,7 +11,7 @@ "200": { "body": { "totalElements": 2, - "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/dataConnections?maxpagesize=25&api-version=2023-03-01-preview", + "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", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json similarity index 82% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json index 4130e639d649..bc56bf9b8d8f 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_Validate.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DataConnections_ValidateDataConnection_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DataConnections_ValidateDataConnection", + "title": "DataConnections_ValidateDataConnection", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json similarity index 89% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json index e4c6f3198cda..39c06d7c71e6 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Put.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "title": "DiscoveryGroups_CreateOrReplaceDiscoGroup", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json similarity index 90% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json index d55c7eeaae18..f71568880ea9 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Get.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryGroups_GetDiscoGroup", + "title": "DiscoveryGroups_GetDiscoGroup", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json similarity index 95% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json index a20573e3af6c..6e22deca3b9e 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_List.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryGroups_ListDiscoGroup", + "title": "DiscoveryGroups_ListDiscoGroup", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json similarity index 79% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json index a4dc8c4476bf..7f411596d88b 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ListRuns_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryGroups_ListRuns", + "title": "DiscoveryGroups_ListRuns", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -10,7 +12,7 @@ "200": { "body": { "totalElements": 45, - "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/discoGroups/ThisisaDiscoGroup/runs?skip=1&maxpagesize=2&api-version=2023-03-01-preview", + "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", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json similarity index 74% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json index ad1267de271f..776ca45b1685 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Run.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryGroups_RunDiscoGroup", + "title": "DiscoveryGroups_RunDiscoGroup", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json similarity index 84% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json index 4c245397f8e5..cc24a8c21dcf 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_Validate.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryGroups_ValidateDiscoGroup", + "title": "DiscoveryGroups_ValidateDiscoGroup", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json similarity index 90% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json index bea93340588b..f5373b9fec7b 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_Get.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryTemplates_GetDiscoTemplate", + "title": "DiscoveryTemplates_GetDiscoTemplate", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json similarity index 86% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json index d5ee4f0cce40..08e9a39d46da 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_List.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "DiscoveryTemplates_ListDiscoTemplate", + "title": "DiscoveryTemplates_ListDiscoTemplate", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json similarity index 99% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json index a9589c48a5b9..3683bf48e406 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Billable.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetBillable_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Reports_GetBillable", + "title": "Reports_GetBillable", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json similarity index 99% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json index f8ce3f67c700..143c7a356037 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Snapshot.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetSnapshot_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Reports_GetSnapshot", + "title": "Reports_GetSnapshot", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json similarity index 96% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json index 31c716783cc5..8349c6044fb9 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Reports_GetSummary_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Reports_GetSummary", + "title": "Reports_GetSummary", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json similarity index 84% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json index b0ee9d3ab5b4..4d1551f6ba9a 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Put.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "SavedFilters_CreateOrReplaceSavedFilter", + "title": "SavedFilters_CreateOrReplaceSavedFilter", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json similarity index 74% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json index 4fdd02faf829..d34e53f1c9bc 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Delete.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "SavedFilters_DeleteSavedFilter", + "title": "SavedFilters_DeleteSavedFilter", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json similarity index 85% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json index 5fbd9545d85f..ee39d7f8d093 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_Get.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_GetSavedFilter_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "SavedFilters_GetSavedFilter", + "title": "SavedFilters_GetSavedFilter", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json similarity index 90% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json index cfc5b5847242..71f9514ba016 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_List.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/SavedFilters_ListSavedFilter_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "SavedFilters_ListSavedFilter", + "title": "SavedFilters_ListSavedFilter", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..9248b55b34df --- /dev/null +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_CancelTask_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_CancelTask", + "title": "Tasks_CancelTask", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json similarity index 90% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json index 6e14cd16106a..fddad07215df 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Cancel.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_GetTask_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Tasks_GetTask", + "title": "Tasks_GetTask", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json b/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json similarity index 94% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json rename to specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json index c165c6150319..92cbe6a634d1 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_List.json +++ b/specification/riskiq/Easm/examples/2023-03-01-preview/Tasks_ListTask_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Tasks_ListTask", + "title": "Tasks_ListTask", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/Easm/main.tsp b/specification/riskiq/Easm/main.tsp new file mode 100644 index 000000000000..b265af73db5d --- /dev/null +++ b/specification/riskiq/Easm/main.tsp @@ -0,0 +1,55 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@azure-tools/typespec-azure-core"; +import "@typespec/versioning"; +import "./routes.tsp"; +import "./models.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.Core; +using TypeSpec.Versioning; + +@useAuth( + OAuth2Auth<[ + { + @doc("implicit flow") + type: OAuth2FlowType.implicit, + + @doc("the authorization URL") + authorizationUrl: "https://login.microsoftonline.com/common/oauth2/authorize", + + @doc("list of scopes for the credential") + scopes: ["https://easm.defender.microsoft.com/.default"], + } + ]> +) +@versioned(Easm.Versions) +@service({ + title: "Defender EASM", +}) +@server( + "{endpoint}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}", + "", + { + @doc("The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com") + endpoint: string, + + @doc("The ID of the target subscription.") + subscriptionId: string, + + @doc("The name of the Resource Group.") + resourceGroupName: string, + + @doc("The name of the Workspace.") + workspaceName: string, + } +) +@doc("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.") +namespace Easm; +@doc("The EASM Defender service version.") +enum Versions { + @doc("Version 2023-03-01-preview") + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2023_03_01_preview: "2023-03-01-preview", +} diff --git a/specification/riskiq/Easm/models.tsp b/specification/riskiq/Easm/models.tsp new file mode 100644 index 000000000000..450546d84d45 --- /dev/null +++ b/specification/riskiq/Easm/models.tsp @@ -0,0 +1,1613 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@azure-tools/typespec-azure-core"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.Core; +using Azure.Core.Traits; + +namespace Easm; + +@trait +model PageResultBodyFields { + @traitContext(Context) + responseFields: { + @traitLocation(TraitLocation.Response) + parameters: TResultFields; + }; +} + +alias AssetsListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + + @doc("The cursor mark to be used on the next request. Not set if using paging.") + mark?: string; + }>; + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...OrderByParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + ...MarkParameter; + }>; +}; +alias AssetsUpdateParameter = { + ...RequiredFilterParameter; +}; +alias DataConnectionsListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + }>; + ...QueryParametersTrait<{ + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; +alias DiscoGroupsListRunsParameter = { + ...FilterQueryParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + ...DiscoGroupNameParameter; +}; +alias TasksListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + }>; + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...OrderByParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; +alias DiscoGroupsListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + }>; + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; +alias DiscoTemplatesListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + }>; + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; +alias SavedFiltersListTrait = { + ...PageResultBodyFields<{ + @doc("The total number of items available in the full result set.") + totalElements?: int64; + }>; + ...QueryParametersTrait<{ + ...FilterQueryParameter; + ...SkipQueryParameter; + ...MaxPageSizeQueryParameter; + }>; +}; + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@projectedName("java", "AlexaDetails") +model AlexaInfo { + alexaRank?: int64; + category?: string; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model AsAsset extends InventoryAsset { + asn?: int64; + asNames?: ObservedString[]; + orgNames?: ObservedString[]; + orgIds?: ObservedString[]; + countries?: ObservedString[]; + registries?: ObservedString[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + registrarCreatedAt?: ObservedLong[]; + registrarUpdatedAt?: ObservedLong[]; + registrantContacts?: ObservedString[]; + adminContacts?: ObservedString[]; + technicalContacts?: ObservedString[]; + registrarNames?: ObservedString[]; + registrantNames?: ObservedString[]; + adminNames?: ObservedString[]; + technicalNames?: ObservedString[]; + adminOrgs?: ObservedString[]; + technicalOrgs?: ObservedString[]; + registrantPhones?: ObservedString[]; + adminPhones?: ObservedString[]; + technicalPhones?: ObservedString[]; + detailedFromWhoisAt?: utcDateTime; +} + +@doc("The page of assets that match the provided metric.") +@pagedResult +model AssetPageResult { + @doc("The total number of items available in the full result set.") + totalElements?: int64; + + @doc("The cursor mark to be used on the next request. Not set if using paging.") + mark?: string; + + @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?: AssetResource[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The items in the current page of results.") +@discriminator("kind") +@resource("assets") +model AssetResource { + @doc("The system generated unique id for the resource.") + @key("assetId") + @visibility("read") + 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; + + @doc("Global UUID for the asset.") + uuid?: uuid; + + @doc("The date this asset was first added to this workspace.") + createdDate?: utcDateTime; + + @doc("The date this asset was last updated for this workspace.") + updatedDate?: utcDateTime; + + state?: AssetState; + + @doc("An optional customer provided identifier for this asset.") + externalId?: string; + + @doc("Customer labels assigned to this asset.") + labels?: string[]; + + @doc("An indicator of whether this asset represents a wildcard rollup of assets on this domain.") + wildcard?: boolean; + + @doc("The name of the DiscoGroup that brought added this asset to the workspace.") + discoGroupName?: string; + + @doc("The history of how this asset was pulled into the workspace through the discovery process.") + auditTrail?: AuditTrailItem[]; + + reason?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model AssetSecurityPolicy { + policyName?: string; + isAffected?: boolean; + description?: string; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; + sources?: Source[]; +} + +@doc("The collection of asset summaries.") +model AssetSummaryResult { + @doc("The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric.") + displayName?: string; + + @doc("The description of the summary response. Filters don't have a description.") + description?: string; + + @doc("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.") + updatedAt?: utcDateTime; + + @doc("If the request is for a metric category, this will contain the requested unique category name.") + metricCategory?: string; + + @doc("If the request is for a metric, this will contain the requested unique metric name.") + metric?: string; + + @doc("If the request is for an asset filter, this will contain the corresponding filter.") + filter?: string; + + @doc("An optional label used to filter requests results.") + labelName?: string; + + @doc("The count of assets matching the request parameters.") + count?: int64; + + @doc("The link to the corresponding asset details.") + link?: string; + + @doc("The corresponding child entities. For metric categories this will contain metrics. For filters with groupBy and segmentBy this will contain facets.") + children?: AssetSummaryResult[]; +} + +@doc("A request body used to update an asset.") +model AssetUpdateData { + @doc("The state to update the asset to.") + state?: AssetUpdateState; + + @doc("A string which can be used to identify the asset in external systems.") + externalId?: string; + + @doc("Any Labels to update the asset with.") + labels?: Record; + + @doc("A list of asset types to cascade the updates to.") + transfers?: AssetUpdateTransfers; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Attribute { + attributeType?: string; + attributeValue?: string; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; +} + +@doc("The history of how this asset was pulled into the workspace through the discovery process.") +model AuditTrailItem { + @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; + + @doc("The kind of asset.") + kind?: AuditTrailItemKind; + + @doc("An explanation of why this audit trail node was discovered from the previous node.") + reason?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model AzureDataExplorerDataConnectionProperties + extends DataConnectionProperties { + @doc("The azure data explorer cluster name") + clusterName?: string; + + @doc("The azure data explorer region") + region?: string; + + @doc("The azure data explorer database name") + databaseName?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Banner { + port?: int32; + + @projectedName("csharp", "bannerProperty") + banner?: string; + + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + scanType?: string; + bannerMetadata?: string; + recent?: boolean; + sha256?: string; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +#suppress "@azure-tools/typespec-azure-core/casing-style" +model Cvss3Summary { + version?: string; + vectorString?: string; + attackVector?: string; + attackComplexity?: string; + privilegesRequired?: string; + userInteraction?: string; + scope?: string; + confidentialityImpact?: string; + integrityImpact?: string; + availabilityImpact?: string; + baseScore?: float32; + baseSeverity?: string; + exploitCodeMaturity?: string; + remediationLevel?: string; + reportConfidence?: string; + exploitabilityScore?: float32; + impactScore?: float32; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ContactAsset extends InventoryAsset { + email?: string; + names?: ObservedString[]; + organizations?: ObservedString[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Cookie { + cookieName?: string; + cookieDomain?: string; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; + cookieExpiryDate?: utcDateTime; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Cve { + name?: string; + cweId?: string; + cvssScore?: float32; + cvss3Summary?: Cvss3Summary; +} + +@doc("The properties required to establish connection to a particular service") +model DataConnectionProperties {} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@discriminator("kind") +model DataConnectionData { + @doc("The name of data connection") + name?: string; + + @doc("The type of data the data connection will transfer.") + content?: DataConnectionContent; + + @doc("The rate at which the data connection will receive updates.") + frequency?: DataConnectionFrequency; + + @doc("The day to update the data connection on. (1-7 for weekly, 1-31 for monthly)") + frequencyOffset?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@discriminator("kind") +@resource("dataConnections") +model DataConnection { + @doc("The system generated unique id for the resource.") + id?: string; + + @doc("The caller provided unique name for the resource.") + @key("dataConnectionName") + @visibility("read") + name: string; + + @doc("The name that can be used for display purposes.") + displayName?: string; + + @doc("The type of data the data connection will transfer") + content?: DataConnectionContent; + + @doc("The date the data connection was created.") + @visibility("read") + createdDate?: utcDateTime; + + @doc("The rate at which the data connection will receive updates.") + frequency?: DataConnectionFrequency; + + @doc("The day to update the data connection on.") + frequencyOffset?: int32; + + @doc("The date the data connection was last updated.") + @visibility("read") + updatedDate?: utcDateTime; + + @doc("The date the data connection was last updated by user.") + @visibility("read") + userUpdatedAt?: utcDateTime; + + @doc("An indicator of whether the data connection is active.") + active?: boolean; + + @doc("A message that specifies details about data connection if inactive.") + @visibility("read") + inactiveMessage?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model DependentResource { + md5?: string; + responseBodySize?: int64; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + firstSeenCrawlGuid?: string; + firstSeenPageGuid?: string; + firstSeenResourceGuid?: string; + lastSeenCrawlGuid?: string; + lastSeenPageGuid?: string; + lastSeenResourceGuid?: string; + responseBodyMinhash?: int32[]; + contentType?: string; + sha256?: string; + sha384?: string; + sha512?: string; + url?: url; + cached?: boolean; + sriChecks?: SubResourceIntegrityCheck[]; + host?: string; + lastObservedViolation?: utcDateTime; + lastObservedValidation?: utcDateTime; + lastObservedActualSriHash?: string; + lastObservedExpectedSriHash?: string; +} + +@doc("A request body used to create a discovery group.") +model DiscoGroupData { + @doc("The name for a disco group.") + name?: string; + + @doc("The description for a disco group.") + description?: string; + + @doc("The tier for the disco group which will affect the algorithm used for the disco runs in this group.") + tier?: string; + + @doc("The frequency at which the disco group is supposed to be rerun in milliseconds.") + frequencyMilliseconds?: int64; + + @doc("The list of seeds used for the disco group runs.") + seeds?: DiscoSource[]; + + @doc("The list of names used for the disco group runs.") + names?: string[]; + + @doc("The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.") + excludes?: DiscoSource[]; + + @doc("The unique identifier for the disco template used for the disco group creation.") + templateId?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@resource("discoGroups") +model DiscoGroup { + @doc("The system generated unique id for the resource.") + id?: string; + + @doc("The caller provided unique name for the resource.") + @key("groupName") + @visibility("read") + name: string; + + @doc("The name that can be used for display purposes.") + displayName?: string; + + @doc("The description for a disco group.") + description?: string; + + @doc("The tier for the disco group which will affect the algorithm used for the disco runs in this group.") + tier?: string; + + @doc("The frequency at which the disco group is supposed to be rerun in milliseconds.") + frequencyMilliseconds?: int64; + + @doc("The list of seeds used for the disco group runs.") + seeds?: DiscoSource[]; + + @doc("The list of names used for the disco group runs.") + names?: string[]; + + @doc("The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.") + excludes?: DiscoSource[]; + + @doc("The latest run of this disco group with some limited information, null if the group has never been run.") + latestRun?: DiscoRunResult; + + @doc("The date for the disco group was created.") + createdDate?: utcDateTime; + + @doc("The unique identifier for the disco template used for the disco group creation.") + templateId?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@pagedResult +model DiscoRunPageResult { + @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?: DiscoRunResult[]; +} + +@doc("The latest run of this disco group with some limited information, null if the group has never been run.") +model DiscoRunResult { + @doc("The date for when the disco run was created in the system.") + submittedDate?: utcDateTime; + + @doc("The date for when the disco run was actually started by the system.") + startedDate?: utcDateTime; + + @doc("The date for when the disco run was completed by the system.") + completedDate?: utcDateTime; + + @doc("The tier which will affect the algorithm used for the disco run.") + tier?: string; + + @doc("The State of the disco run.") + state?: DiscoRunState; + + @doc("The total count of assets that were found this disco run.") + totalAssetsFoundCount?: int64; + + @doc("The list of seeds used for the disco run.") + seeds?: DiscoSource[]; + + @doc("The list of excludes used for the disco run, aka assets to exclude from the discovery algorithm.") + excludes?: DiscoSource[]; + + @doc("The list of names used for the disco run.") + names?: string[]; +} + +@doc("Source entity used to drive discovery.") +model DiscoSource { + @doc("The kind of disco source.") + kind?: DiscoSourceKind; + + @doc("The name for the disco source.") + name?: string; +} + +@doc("The items in the current page of results.") +@resource("discoTemplates") +model DiscoTemplate { + @doc("The system generated unique id for the resource.") + @key("templateId") + @visibility("read") + 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; + + @doc("The name of the industry.") + industry?: string; + + @doc("The name of the region.") + region?: string; + + @doc("The country code.") + countryCode?: string; + + @doc("The state code.") + stateCode?: string; + + @doc("The name of the city.") + city?: string; + + @doc("The list of disco template seeds.") + seeds?: DiscoSource[]; + + @doc("The list of disco template names.") + names?: string[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model DomainAsset extends InventoryAsset { + domain?: string; + whoisId?: int64; + registrarIanaIds?: ObservedInteger[]; + registrantContacts?: ObservedString[]; + registrantOrgs?: ObservedString[]; + adminContacts?: ObservedString[]; + technicalContacts?: ObservedString[]; + alexaInfos?: AlexaInfo[]; + nameServers?: ObservedString[]; + mailServers?: ObservedString[]; + whoisServers?: ObservedString[]; + domainStatuses?: ObservedString[]; + registrarCreatedAt?: ObservedLong[]; + registrarUpdatedAt?: ObservedLong[]; + registrarExpiresAt?: ObservedLong[]; + soaRecords?: SoaRecord[]; + detailedFromWhoisAt?: utcDateTime; + registrarNames?: ObservedString[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + parkedDomain?: ObservedBoolean[]; + registrantNames?: ObservedString[]; + adminNames?: ObservedString[]; + technicalNames?: ObservedString[]; + adminOrgs?: ObservedString[]; + technicalOrgs?: ObservedString[]; + registrantPhones?: ObservedString[]; + adminPhones?: ObservedString[]; + technicalPhones?: ObservedString[]; +} + +@doc("This is the top-level error object whose code matches the x-ms-error-code response header.") +model ErrorDetail { + @doc("This is one of a server-defined set of error codes.") + code: string; + + @doc("This is a human-readable representation of the error.") + message: string; + + @doc("This is the error target.") + target?: string; + + @doc("This is an array of details about specific errors that led to this reported error.") + details?: ErrorDetail[]; + + @doc("This is an object containing more specific information than the current object about the error.") + innererror?: InnerError; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model GuidPair { + pageGuid?: string; + crawlStateGuid?: string; + loadDate?: utcDateTime; + recent?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model HostAsset extends InventoryAsset { + host?: string; + domain?: string; + ipAddresses?: ObservedString[]; + webComponents?: WebComponent[]; + headers?: ObservedHeader[]; + attributes?: Attribute[]; + cookies?: Cookie[]; + sslCerts?: SslCertAsset[]; + parentHosts?: ObservedString[]; + childHosts?: ObservedString[]; + hostCore?: HostCore; + services?: Service[]; + cnames?: ObservedString[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + resourceUrls?: ResourceUrl[]; + scanMetadata?: ScanMetadata[]; + asns?: ObservedLong[]; + ipBlocks?: IpBlock[]; + responseBodies?: ObservedString[]; + domainAsset?: DomainAsset; + nsRecord?: ObservedBoolean[]; + mxRecord?: ObservedBoolean[]; + webserver?: ObservedBoolean[]; + location?: ObservedLocation[]; + nxdomain?: ObservedBoolean[]; + sslServerConfig?: SslServerConfig[]; + isWildcard?: ObservedBoolean[]; + banners?: Banner[]; + ipv4?: ObservedBoolean[]; + ipv6?: ObservedBoolean[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model HostCore { + host?: string; + domain?: string; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + blacklistCauseFirstSeen?: utcDateTime; + blacklistCauseLastSeen?: utcDateTime; + blacklistCauseCount?: int64; + blacklistResourceFirstSeen?: utcDateTime; + blacklistResourceLastSeen?: utcDateTime; + blacklistResourceCount?: int64; + blacklistSequenceFirstSeen?: utcDateTime; + blacklistSequenceLastSeen?: utcDateTime; + blacklistSequenceCount?: int64; + phishCauseCount?: int64; + malwareCauseCount?: int64; + spamCauseCount?: int64; + scamCauseCount?: int64; + phishResourceCount?: int64; + malwareResourceCount?: int64; + spamResourceCount?: int64; + scamResourceCount?: int64; + phishSequenceCount?: int64; + malwareSequenceCount?: int64; + spamSequenceCount?: int64; + scamSequenceCount?: int64; + alexaRank?: int32; + hostReputationScore?: int32; + hostPhishReputationScore?: int32; + hostMalwareReputationScore?: int32; + hostSpamReputationScore?: int32; + hostScamReputationScore?: int32; + domainReputationScore?: int32; + domainPhishReputationScore?: int32; + domainMalwareReputationScore?: int32; + domainSpamReputationScore?: int32; + domainScamReputationScore?: int32; + uuid?: string; +} + +@doc("This is an object containing more specific information than the current object about the error.") +model InnerError { + @doc("This is a more specific error code than was provided by the containing error.") + code?: string; + + #suppress "@azure-tools/typespec-azure-core/no-unknown" + @doc("This is an additional field representing the value that caused the error to help with debugging.") + value?: unknown; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model InventoryAsset {} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model IpAddressAsset extends InventoryAsset { + ipAddress?: string; + asns?: ObservedLong[]; + reputations?: Reputation[]; + webComponents?: WebComponent[]; + netRanges?: ObservedString[]; + headers?: ObservedHeader[]; + attributes?: Attribute[]; + cookies?: Cookie[]; + sslCerts?: SslCertAsset[]; + services?: Service[]; + ipBlocks?: IpBlock[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + banners?: Banner[]; + scanMetadata?: ScanMetadata[]; + nsRecord?: ObservedBoolean[]; + mxRecord?: ObservedBoolean[]; + location?: ObservedLocation[]; + hosts?: ObservedString[]; + nxdomain?: ObservedBoolean[]; + sslServerConfig?: SslServerConfig[]; + ipv4?: boolean; + ipv6?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model IpBlock { + @projectedName("csharp", "ipBlockProperty") + ipBlock?: string; + + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model IpBlockAsset extends InventoryAsset { + ipBlock?: string; + asns?: ObservedLong[]; + bgpPrefixes?: ObservedString[]; + netNames?: ObservedString[]; + registrantContacts?: ObservedString[]; + registrantOrgs?: ObservedString[]; + adminContacts?: ObservedString[]; + technicalContacts?: ObservedString[]; + registrarCreatedAt?: ObservedLong[]; + registrarUpdatedAt?: ObservedLong[]; + netRanges?: ObservedString[]; + startIp?: string; + endIp?: string; + reputations?: Reputation[]; + detailedFromWhoisAt?: utcDateTime; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + location?: ObservedLocation[]; + registrarExpiresAt?: ObservedLong[]; + registrantNames?: ObservedString[]; + adminNames?: ObservedString[]; + technicalNames?: ObservedString[]; + adminOrgs?: ObservedString[]; + technicalOrgs?: ObservedString[]; + registrantPhones?: ObservedString[]; + adminPhones?: ObservedString[]; + technicalPhones?: ObservedString[]; + ipv4?: boolean; + ipv6?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Location { + countryCode?: string; + countryName?: string; + region?: string; + regionName?: string; + city?: string; + areaCode?: int32; + postalCode?: string; + latitude?: float32; + longitude?: float32; + dmaCode?: int32; + metroCodeId?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model LogAnalyticsDataConnectionProperties extends DataConnectionProperties { + @doc("log analytics api key") + apiKey?: string; + + @doc("log analytics workspace id") + workspaceId?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedBoolean extends ObservedValue { + value?: boolean; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedHeader extends ObservedValue { + headerName?: string; + headerValue?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedInteger extends ObservedValue { + value?: int32; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedIntegers extends ObservedValue { + values?: int32[]; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedLocation extends ObservedValue { + value?: Location; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedLong extends ObservedValue { + value?: int64; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedPortState extends ObservedValue { + value?: ObservedPortStateValue; + port?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ObservedString extends ObservedValue { + value?: string; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model PageAsset extends InventoryAsset { + url?: url; + httpMethod?: string; + service?: string; + ipAddresses?: ObservedString[]; + successful?: ObservedBoolean[]; + httpResponseCodes?: ObservedInteger[]; + httpResponseMessages?: ObservedString[]; + responseTimes?: ObservedLong[]; + frames?: ObservedBoolean[]; + windows?: ObservedBoolean[]; + nonHtmlFrames?: ObservedBoolean[]; + undirectedContent?: ObservedBoolean[]; + contentTypes?: ObservedString[]; + contentLengths?: ObservedLong[]; + windowNames?: ObservedString[]; + charsets?: ObservedString[]; + titles?: ObservedString[]; + languages?: ObservedString[]; + responseHeaders?: ObservedHeader[]; + cookies?: Cookie[]; + webComponents?: WebComponent[]; + attributes?: Attribute[]; + assetSecurityPolicies?: AssetSecurityPolicy[]; + responseBodyMinhashSignatures?: ObservedIntegers[]; + fullDomMinhashSignatures?: ObservedIntegers[]; + responseBodyHashSignatures?: ObservedString[]; + errors?: ObservedString[]; + sslCerts?: SslCertAsset[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + cause?: PageCause; + referrer?: string; + redirectUrls?: ObservedString[]; + redirectType?: PageAssetRedirectType; + finalUrls?: ObservedString[]; + finalResponseCodes?: ObservedInteger[]; + parkedPage?: ObservedBoolean[]; + resourceUrls?: ResourceUrl[]; + guids?: GuidPair[]; + finalIpAddresses?: ObservedString[]; + asns?: ObservedLong[]; + ipBlocks?: IpBlock[]; + finalAsns?: ObservedLong[]; + finalIpBlocks?: IpBlock[]; + responseBodies?: ObservedString[]; + domainAsset?: DomainAsset; + rootUrl?: ObservedBoolean; + isRootUrl?: boolean; + location?: ObservedLocation[]; + services?: Service[]; + siteStatus?: string; + cnames?: ObservedString[]; + cdns?: ObservedString[]; + host?: string; + domain?: string; + sslServerConfig?: SslServerConfig[]; + gdprAssetSecurityPolicies?: AssetSecurityPolicy[]; + ipv4?: ObservedBoolean[]; + ipv6?: ObservedBoolean[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model PageCause { + cause?: string; + #suppress "@azure-tools/typespec-azure-core/casing-style" + causeElementXPath?: string; + location?: string; + possibleMatches?: int32; + loopDetected?: boolean; + version?: int32; + domChangeIndex?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Port { + @projectedName("csharp", "portProperty") + port?: int32; + + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; +} + +@doc("A request body used for an asset report snapshot export.") +model ReportAssetSnapshotExportRequest { + @doc("The metric to retrieve a snapshot for.") + metric?: string; + + @doc("The filename of the exported file.") + fileName?: string; + + @doc("The columns to include in the export") + columns?: string[]; +} + +@doc("A request body used to retrieve an asset report snapshot.") +model ReportAssetSnapshotRequest { + @doc("The metric to retrieve a snapshot for.") + metric?: string; + + @doc("The name of the label to retrieve a snapshot for.") + labelName?: string; + + @doc("The number of assets per page.") + size?: int32; + + @doc("The page to retrieve.") + page?: int32; +} + +@doc("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.") +model ReportAssetSnapshotResult { + @doc("The name of the metric.") + displayName?: string; + + @doc("The unique metric name.") + metric?: string; + + @doc("The customer label that was filtered on, if one was provided.") + labelName?: string; + + @doc("The last time this asset data was updated on this metric.") + updatedAt?: utcDateTime; + + @doc("A description of what the metric represents.") + description?: string; + + @doc("The page of assets that match the provided metric.") + assets?: AssetPageResult; +} + +@doc("A request body used to retrieve summary asset information. One and only one collection of summary identifiers must be provided: filters, metrics, or metricCategories.") +model ReportAssetSummaryRequest { + @doc("Categories to retrieve risk reporting data for.") + metricCategories?: string[]; + + @doc("Metrics to retrieve risk reporting data for.") + metrics?: string[]; + + @doc("Query filters to apply to the asset summary.") + filters?: string[]; + + @doc("A parameter to group the assets by (first level facet field), only used when the chosen summary identifier is filters.") + groupBy?: string; + + @doc("A parameter to segment the assets by (second level facet field), only used when the chosen summary identifier is filters.") + segmentBy?: string; + + @doc("Currently unused.") + labelName?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ReportAssetSummaryResult { + @doc("The collection of asset summaries.") + assetSummaries?: AssetSummaryResult[]; +} + +@doc("The breakdown of billable asset counts for each asset type.") +model ReportBillableAssetBreakdown { + @doc("The kind of billable asset.") + kind?: ReportBillableAssetBreakdownKind; + + @doc("The number of assets of this type.") + count?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ReportBillableAssetSnapshotResult { + @doc("The date these assets were billed on.") + date?: plainDate; + + @doc("The total number of billable assets for this date.") + total?: int64; + + @doc("The breakdown of billable asset counts for each asset type.") + assetBreakdown?: ReportBillableAssetBreakdown[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ReportBillableAssetSummaryResult { + assetSummaries?: ReportBillableAssetSnapshotResult[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Reputation { + listName?: string; + threatType?: string; + trusted?: boolean; + cidr?: string; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + listUpdatedAt?: utcDateTime; + recent?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ResourceUrl { + url?: url; + resources?: DependentResource[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; +} + +@doc("A request body used to create a saved filter.") +model SavedFilterData { + @doc("An expression on the resource type that selects the resources to be returned.") + filter: string; + + @doc("A human readable description of the saved filter.") + description: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@resource("savedFilters") +model SavedFilter { + @doc("The system generated unique id for the resource.") + id?: string; + + @doc("The caller provided unique name for the resource.") + @key("filterName") + @visibility("read") + name: string; + + @doc("The name that can be used for display purposes.") + displayName?: string; + + filter?: string; + description?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ScanMetadata { + port?: int32; + bannerMetadata?: string; + startScan?: utcDateTime; + endScan?: utcDateTime; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Service { + scheme?: string; + port?: int32; + webComponents?: WebComponent[]; + sslCerts?: SslCertAsset[]; + exceptions?: ObservedString[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; + portStates?: ObservedPortState[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model SoaRecord { + nameServer?: string; + email?: string; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + serialNumber?: int64; + recent?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model Source { + @projectedName("csharp", "sourceProperty") + source?: string; + + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + reason?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model SslCertAsset extends InventoryAsset { + sha1?: string; + subjectCommonNames?: string[]; + organizations?: string[]; + organizationalUnits?: string[]; + issuerCommonNames?: string[]; + sigAlgName?: string; + invalidAfter?: utcDateTime; + serialNumber?: string; + subjectAlternativeNames?: string[]; + issuerAlternativeNames?: string[]; + sources?: Source[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + invalidBefore?: utcDateTime; + keySize?: int32; + keyAlgorithm?: string; + subjectLocality?: string[]; + subjectState?: string[]; + subjectCountry?: string[]; + issuerLocality?: string[]; + issuerState?: string[]; + issuerCountry?: string[]; + subjectOrganizations?: string[]; + subjectOrganizationalUnits?: string[]; + issuerOrganizations?: string[]; + issuerOrganizationalUnits?: string[]; + version?: int32; + certificateAuthority?: boolean; + selfSigned?: boolean; + sigAlgOid?: string; + recent?: boolean; + validationType?: SslCertAssetValidationType; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model SslServerConfig { + tlsVersions?: string[]; + cipherSuites?: string[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + sources?: Source[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model SubResourceIntegrityCheck { + violation?: boolean; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + causePageUrl?: string; + crawlGuid?: string; + pageGuid?: string; + resourceGuid?: string; + expectedHash?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@resource("tasks") +model Task { + @doc("The unique identifier of the task.") + @key("taskId") + @visibility("read") + id: string; + + @doc("The time the task started.") + startedAt?: utcDateTime; + + @doc("The time the task completed.") + completedAt?: utcDateTime; + + @doc("The last time the status of the task was updated.") + lastPolledAt?: utcDateTime; + + @doc("The state the task is in.") + state?: TaskState; + + @doc("The phase the task is in.") + phase?: TaskPhase; + + @doc("The reason the task was moved into its current state, if the task wasn't completed.") + reason?: string; + + #suppress "@azure-tools/typespec-azure-core/bad-record-type" + @doc("Attributes unique to the task. This differs by task type.") + metadata?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ValidateResult { + @doc("This is the top-level error object whose code matches the x-ms-error-code response header.") + error?: ErrorDetail; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model WebComponent { + name?: string; + type?: string; + version?: string; + ruleId?: string[]; + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + cve?: Cve[]; + endOfLife?: int64; + recent?: boolean; + ports?: Port[]; + sources?: Source[]; + service?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("Template model for observed values") +model ObservedValue { + firstSeen?: utcDateTime; + lastSeen?: utcDateTime; + count?: int64; + recent?: boolean; +} +#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.") +enum AssetUpdateTransfers { + as, + contact, + domain, + host, + ipAddress, + ipBlock, + page, + sslCert, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The kind of billable asset.") +enum ReportBillableAssetBreakdownKind { + domain, + host, + ipAddress, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The state the task is in.") +enum TaskState { + pending, + running, + paused, + complete, + incomplete, + failed, + warning, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The phase the task is in.") +enum TaskPhase { + running, + polling, + complete, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The kind of data connection.") +enum DataConnectionKind { + logAnalytics, + azureDataExplorer, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The rate at which the data connection will receive updates.") +enum DataConnectionFrequency { + daily, + weekly, + monthly, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The kind of asset.") +enum AssetKind { + as, + contact, + domain, + host, + ipAddress, + ipBlock, + page, + sslCert, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The State of the disco run.") +enum DiscoRunState { + pending, + running, + completed, + failed, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The type of data the data connection will transfer") +enum DataConnectionContent { + assets, + attackSurfaceInsights, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The kind of disco source.") +enum DiscoSourceKind { + as, + attribute, + contact, + domain, + host, + ipBlock, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +enum ObservedPortStateValue { + open, + closed, + filtered, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The state to update the asset to.") +enum AssetUpdateState { + candidate, + confirmed, + dismissed, + candidateInvestigate, + associatedPartner, + associatedThirdparty, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +enum AssetState { + ...AssetUpdateState, + archived, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +@doc("The kind of asset.") +enum AuditTrailItemKind { + as, + contact, + domain, + host, + ipAddress, + ipBlock, + page, + sslCert, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +enum PageAssetRedirectType { + httpHeader, + metaRefresh, + javascript, + final, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +enum SslCertAssetValidationType { + domainValidation, + organizationValidation, + extendedValidation, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model LogAnalyticsDataConnectionData extends DataConnectionData { + @doc("The kind of DataConnectionData") + kind: "logAnalytics"; + + @doc("properties") + properties: LogAnalyticsDataConnectionProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model AzureDataExplorerDataConnectionData extends DataConnectionData { + @doc("The kind of DataConnectionData") + kind: "azureDataExplorer"; + + @doc("properties") + properties: AzureDataExplorerDataConnectionProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model AsAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "as"; + + @doc("asset") + asset: AsAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model ContactAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "contact"; + + @doc("asset") + asset: ContactAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model DomainAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "domain"; + + @doc("asset") + asset: DomainAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model HostAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "host"; + + @doc("asset") + asset: HostAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model IpAddressAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "ipAddress"; + + @doc("asset") + asset: IpAddressAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model IpBlockAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "ipBlock"; + + @doc("asset") + asset: IpBlockAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model PageAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "page"; + + @doc("asset") + asset: PageAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model SslCertAssetResource extends AssetResource { + @doc("The kind of AssetResource") + kind: "sslCert"; + + @doc("asset") + asset: SslCertAsset; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model LogAnalyticsDataConnection extends DataConnection { + @doc("The kind of DataConnection") + kind: "logAnalytics"; + + @doc("properties") + properties: LogAnalyticsDataConnectionProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Documentation will be added next preview version" +model AzureDataExplorerDataConnection extends DataConnection { + @doc("The kind of DataConnection") + kind: "azureDataExplorer"; + + @doc("properties") + properties: AzureDataExplorerDataConnectionProperties; +} + +@doc("The unique identifier for the discovery group.") +model DiscoGroupNameParameter { + @doc("The unique identifier for the discovery group.") + @path("groupName") + groupName: string; +} + +@doc("A list of expressions that specify the order of the returned resources.") +model OrderByParameter { + @doc("A list of expressions that specify the order of the returned resources.") + @query("orderby") + orderby?: string; +} + +@doc("Specify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response.") +model MarkParameter { + @doc("Specify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response.") + @query("mark") + mark?: string; +} + +@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; +} diff --git a/specification/riskiq/Easm/routes.tsp b/specification/riskiq/Easm/routes.tsp new file mode 100644 index 000000000000..bdd34ea1b060 --- /dev/null +++ b/specification/riskiq/Easm/routes.tsp @@ -0,0 +1,173 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@azure-tools/typespec-azure-core"; +import "./models.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.Core; +using Azure.Core.Traits; + +namespace Easm; + +alias ServiceTraits = NoRepeatableRequests & + NoConditionalRequests & + NoClientRequestId; + +alias Operations = Azure.Core.ResourceOperations; +@tag("Assets") +@doc("Provides access to inventory assets.") +interface Assets { + @doc("Retrieve a list of assets for the provided search parameters.") + listAssetResource is Operations.ResourceList; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Update labels on assets matching the provided filter.") + @route("/assets") + @updatesResource(AssetResource) + @post + updateAssets is Foundations.Operation< + AssetsUpdateParameter & AssetUpdateData, + Task + >; + @doc("Retrieve an asset by assetId.") + getAssetResource is Operations.ResourceRead; +} + +@tag("Data Connections") +@doc("Provides access to data connection resources.") +interface DataConnections { + @doc("Retrieve a list of data connections.") + listDataConnection is Operations.ResourceList< + DataConnection, + DataConnectionsListTrait + >; + @doc("Validate a data connection with a given dataConnectionName.") + @action("validate") + validateDataConnection is Operations.ResourceCollectionAction< + DataConnection, + DataConnectionData, + ValidateResult + >; + @doc("Retrieve a data connection with a given dataConnectionName.") + getDataConnection is Operations.ResourceRead; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Create or replace a data connection with a given dataConnectionName.") + @createsOrReplacesResource(DataConnection) + @put + createOrReplaceDataConnection is Foundations.ResourceOperation< + DataConnection, + DataConnectionData, + DataConnection + >; + @doc("Delete a data connection with a given dataConnectionName.") + deleteDataConnection is Operations.ResourceDelete; +} + +@tag("Discovery Groups") +@doc("Provides access to discovery resources.") +interface DiscoveryGroups { + @doc("Retrieve a list of discovery group for the provided search parameters.") + listDiscoGroup is Operations.ResourceList; + @doc("Validate a discovery group with a given groupName.") + @action("validate") + validateDiscoGroup is Operations.ResourceCollectionAction< + DiscoGroup, + DiscoGroupData, + ValidateResult + >; + @doc("Retrieve a discovery group with a given groupName.") + getDiscoGroup is Operations.ResourceRead; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Create a discovery group with a given groupName.") + @createsOrReplacesResource(DiscoGroup) + @put + createOrReplaceDiscoGroup is Foundations.ResourceOperation< + DiscoGroup, + DiscoGroupData, + DiscoGroup + >; + @doc("Run a discovery group with a given groupName.") + @action("run") + runDiscoGroup is Operations.ResourceAction; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Retrieve a collection of discovery run results for a discovery group with a given groupName.") + @route("/discoGroups/{groupName}/runs") + @get + listRuns is Foundations.Operation< + DiscoGroupsListRunsParameter, + DiscoRunPageResult + >; +} + +@tag("Discovery Templates") +@doc("Provides access to disco template resources.") +interface DiscoveryTemplates { + @doc("Retrieve a list of disco templates for the provided search parameters.") + listDiscoTemplate is Operations.ResourceList< + DiscoTemplate, + DiscoTemplatesListTrait + >; + @doc("Retrieve a disco template with a given templateId.") + getDiscoTemplate is Operations.ResourceRead; +} + +@tag("Reports") +@doc("Provides access to reporting data.") +interface Reports { + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Get billable assets summary for the workspace.") + @route("/reports/assets:getBillable") + @post + getBillable is Foundations.Operation<{}, ReportBillableAssetSummaryResult>; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Get the most recent snapshot of asset summary values for the snapshot request.") + @route("/reports/assets:getSnapshot") + @post + getSnapshot is Foundations.Operation< + ReportAssetSnapshotRequest, + ReportAssetSnapshotResult + >; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Get asset summary details for the summary request.") + @route("/reports/assets:getSummary") + @post + getSummary is Foundations.Operation< + ReportAssetSummaryRequest, + ReportAssetSummaryResult + >; +} + +@tag("Saved Filters") +@doc("Provides access to saved filter resources.") +interface SavedFilters { + @doc("Retrieve a list of saved filters for the provided search parameters.") + listSavedFilter is Operations.ResourceList< + SavedFilter, + SavedFiltersListTrait + >; + @doc("Retrieve a saved filter by filterName.") + getSavedFilter is Operations.ResourceRead; + #suppress "@azure-tools/typespec-azure-core/use-standard-operations" + @doc("Create or replace a saved filter with a given filterName.") + @createsOrReplacesResource(SavedFilter) + @put + createOrReplaceSavedFilter is Foundations.ResourceOperation< + SavedFilter, + SavedFilterData, + SavedFilter + >; + @doc("Delete a saved filter with a given filterName.") + deleteSavedFilter is Operations.ResourceDelete; +} + +@tag("Tasks") +@doc("Provides access to task resources.") +interface Tasks { + @doc("Retrieve a list of tasks for the provided search parameters.") + listTask is Operations.ResourceList; + @doc("Retrieve a task by taskId.") + getTask is Operations.ResourceRead; + @doc("Cancel a task by taskId.") + @action("cancel") + cancelTask is Operations.ResourceAction; +} diff --git a/specification/riskiq/Easm/tspconfig.yaml b/specification/riskiq/Easm/tspconfig.yaml new file mode 100644 index 000000000000..3b2114e323fc --- /dev/null +++ b/specification/riskiq/Easm/tspconfig.yaml @@ -0,0 +1,27 @@ +parameters: + "service-dir": + default: "sdk/easm" +emit: + - "@azure-tools/typespec-autorest" +linter: + extends: + - "@azure-tools/typespec-azure-core/all" +options: + "@azure-tools/typespec-autorest": + azure-resource-provider-folder: "data-plane" + emitter-output-dir: "{project-root}/.." + examples-directory: "examples" + output-file: "{azure-resource-provider-folder}/Microsoft.Easm/{version-status}/{version}/easm.json" + "@azure-tools/typespec-csharp": + package-dir: "Azure.Analytics.Defender.Easm" + namespace: "{package-dir}" + clear-output-folder: true + model-namespace: false + "@azure-tools/typespec-ts": + package-dir: "defendereasm-rest" + packageDetails: + name: "@azure-rest/defender-easm-rest" + "@azure-tools/typespec-java": + package-dir: "azure-analytics-defender-easm" + namespace: com.azure.analytics.defender.easm + \ No newline at end of file diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 9f3abffa1132..78a1768abd7b 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -1,1036 +1,927 @@ { "swagger": "2.0", "info": { - "description": "Defender EASM discovers and maps your digital attack surface to provide an \"outside-in\" perspective using probes to discover assets. The assets are provided with detailed metadata associated, including vulnerabilities, configurations and web components, allowing customers to view and prioritize external risk. The EASM REST API enables you to develop clients that integrate with your application.", "title": "Defender EASM", - "version": "2023-03-01-preview" + "version": "2023-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}", + "hostTemplate": "{endpoint}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}", + "useSchemePrefix": false, "parameters": [ { - "$ref": "#/parameters/EndpointParameter" + "name": "endpoint", + "in": "path", + "description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com", + "required": true, + "type": "string" + }, + { + "name": "subscriptionId", + "in": "path", + "description": "The ID of the target subscription.", + "required": true, + "type": "string" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the Resource Group.", + "required": true, + "type": "string" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the Workspace.", + "required": true, + "type": "string" } - ], - "useSchemePrefix": true + ] }, - "schemes": [ - "https" + "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" + } ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/assets": { + "/assets": { "get": { - "produces": [ - "application/json" + "operationId": "Assets_ListAssetResource", + "tags": [ + "Assets" ], + "description": "Retrieve a list of assets for the provided search parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/FilterParameter" + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" }, { "$ref": "#/parameters/OrderByParameter" }, { - "$ref": "#/parameters/SkipParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/MaxPageSizeParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" }, { "$ref": "#/parameters/MarkParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/AssetPageResponse" + "$ref": "#/definitions/PagedAssetResource" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Assets" - ], - "operationId": "Assets_List", - "summary": "Retrieve a list of assets for the provided search parameters.", "x-ms-examples": { - "Assets": { - "$ref": "./examples/Assets_List.json" + "Assets_ListAssetResource": { + "$ref": "./examples/Assets_ListAssetResource_MaximumSet_Gen.json" } }, "x-ms-pageable": { - "itemName": "content", "nextLinkName": "nextLink" } }, "post": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "operationId": "Assets_UpdateAssets", + "tags": [ + "Assets" ], + "description": "Update labels on assets matching the provided filter.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/FilterParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/RequiredFilterParameter" }, { - "in": "body", "name": "body", + "in": "body", "required": true, "schema": { - "$ref": "#/definitions/AssetUpdateRequest" + "$ref": "#/definitions/AssetUpdateData" } } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/TaskResponse" + "$ref": "#/definitions/Task" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Assets" - ], - "operationId": "Assets_Update", - "summary": "Update labels on assets matching the provided filter.", "x-ms-examples": { - "Assets": { - "$ref": "./examples/Assets_Update.json" + "Assets_UpdateAssets": { + "$ref": "./examples/Assets_UpdateAssets_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/assets/{assetId}": { + "/assets/{assetId}": { "get": { - "produces": [ - "application/json" + "operationId": "Assets_GetAssetResource", + "tags": [ + "Assets" ], + "description": "Retrieve an asset by assetId.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/AssetIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "name": "assetId", + "in": "path", + "description": "The system generated unique id for the resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/AssetResponse" + "$ref": "#/definitions/AssetResource" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Assets" - ], - "operationId": "Assets_Get", - "summary": "Retrieve an asset by assetId.", "x-ms-examples": { - "Assets": { - "$ref": "./examples/Assets_Get.json" + "Assets_GetAssetResource": { + "$ref": "./examples/Assets_GetAssetResource_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections": { + "/dataConnections": { "get": { - "produces": [ - "application/json" + "operationId": "DataConnections_ListDataConnection", + "tags": [ + "Data Connections" ], + "description": "Retrieve a list of data connections.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/SkipParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/MaxPageSizeParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DataConnectionPageResponse" + "$ref": "#/definitions/PagedDataConnection" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Data Connections" - ], - "operationId": "DataConnections_List", - "summary": "Retrieve a list of data connections.", "x-ms-examples": { - "DataConnections": { - "$ref": "./examples/DataConnections_List.json" + "DataConnections_ListDataConnection": { + "$ref": "./examples/DataConnections_ListDataConnection_MaximumSet_Gen.json" } }, "x-ms-pageable": { - "itemName": "content", "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections/{dataConnectionName}": { - "delete": { - "produces": [ - "application/json" + "/dataConnections/{dataConnectionName}": { + "get": { + "operationId": "DataConnections_GetDataConnection", + "tags": [ + "Data Connections" ], + "description": "Retrieve a data connection with a given dataConnectionName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "name": "dataConnectionName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DataConnection" + } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Data Connections" - ], - "operationId": "DataConnections_Delete", - "summary": "Delete a data connection with a given dataConnectionName.", "x-ms-examples": { - "DataConnections": { - "$ref": "./examples/DataConnections_Delete.json" + "DataConnections_GetDataConnection": { + "$ref": "./examples/DataConnections_GetDataConnection_MaximumSet_Gen.json" } } }, - "get": { - "produces": [ - "application/json" + "put": { + "operationId": "DataConnections_CreateOrReplaceDataConnection", + "tags": [ + "Data Connections" ], + "description": "Create or replace a data connection with a given dataConnectionName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/DataConnectionNameParameter" + "name": "dataConnectionName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataConnectionData" + } } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DataConnectionResponse" + "$ref": "#/definitions/DataConnection" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Data Connections" - ], - "operationId": "DataConnections_Get", - "summary": "Retrieve a data connection with a given dataConnectionName.", "x-ms-examples": { - "DataConnections": { - "$ref": "./examples/DataConnections_Get.json" + "DataConnections_CreateOrReplaceDataConnection": { + "$ref": "./examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json" } } }, - "put": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "delete": { + "operationId": "DataConnections_DeleteDataConnection", + "tags": [ + "Data Connections" ], + "description": "Delete a data connection with a given dataConnectionName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", + "name": "dataConnectionName", + "in": "path", + "description": "The caller provided unique name for the resource.", "required": true, - "schema": { - "$ref": "#/definitions/DataConnectionRequest" - } + "type": "string" } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataConnectionResponse" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Data Connections" - ], - "operationId": "DataConnections_Put", - "summary": "Create or update a data connection with a given dataConnectionName.", "x-ms-examples": { - "DataConnections": { - "$ref": "./examples/DataConnections_Put.json" + "DataConnections_DeleteDataConnection": { + "$ref": "./examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/dataConnections:validate": { + "/dataConnections:validate": { "post": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "operationId": "DataConnections_ValidateDataConnection", + "tags": [ + "Data Connections" ], + "description": "Validate a data connection with a given dataConnectionName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "in": "body", "name": "body", + "in": "body", "required": true, "schema": { - "$ref": "#/definitions/DataConnectionRequest" + "$ref": "#/definitions/DataConnectionData" } } ], "responses": { "200": { - "description": "If validation succeeds, an empty response object will be returned. If validation fails, the response object will by populated with the 'errors' property containing the details for each individual validation failure.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ValidateResponse" + "$ref": "#/definitions/ValidateResult" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Data Connections" - ], - "operationId": "DataConnections_Validate", - "summary": "Validate a data connection with a given dataConnectionName.", "x-ms-examples": { - "DataConnections": { - "$ref": "./examples/DataConnections_Validate.json" + "DataConnections_ValidateDataConnection": { + "$ref": "./examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups": { + "/discoGroups": { "get": { - "produces": [ - "application/json" + "operationId": "DiscoveryGroups_ListDiscoGroup", + "tags": [ + "Discovery Groups" ], + "description": "Retrieve a list of discovery group for the provided search parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/FilterParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/SkipParameter" + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" }, { - "$ref": "#/parameters/MaxPageSizeParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DiscoGroupPageResponse" + "$ref": "#/definitions/PagedDiscoGroup" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Groups" - ], - "operationId": "DiscoveryGroups_List", - "summary": "Retrieve a list of discovery group for the provided search parameters.", "x-ms-examples": { - "DiscoveryGroups": { - "$ref": "./examples/DiscoveryGroups_List.json" + "DiscoveryGroups_ListDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json" } }, "x-ms-pageable": { - "itemName": "content", "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}": { + "/discoGroups/{groupName}": { "get": { - "produces": [ - "application/json" + "operationId": "DiscoveryGroups_GetDiscoGroup", + "tags": [ + "Discovery Groups" ], + "description": "Retrieve a discovery group with a given groupName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DiscoGroupNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DiscoGroupResponse" + "$ref": "#/definitions/DiscoGroup" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Groups" - ], - "operationId": "DiscoveryGroups_Get", - "summary": "Retrieve a discovery group with a given groupName.", "x-ms-examples": { - "DiscoveryGroups": { - "$ref": "./examples/DiscoveryGroups_Get.json" + "DiscoveryGroups_GetDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json" } } }, "put": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "operationId": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "tags": [ + "Discovery Groups" ], + "description": "Create a discovery group with a given groupName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/DiscoGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" }, { - "in": "body", "name": "body", + "in": "body", "required": true, "schema": { - "$ref": "#/definitions/DiscoGroupRequest" + "$ref": "#/definitions/DiscoGroupData" } } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DiscoGroupResponse" + "$ref": "#/definitions/DiscoGroup" } }, "default": { - "description": "Error", - "headers": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Groups" - ], - "operationId": "DiscoveryGroups_Put", - "summary": "Create a discovery group with a given groupName.", "x-ms-examples": { - "DiscoveryGroups": { - "$ref": "./examples/DiscoveryGroups_Put.json" + "DiscoveryGroups_CreateOrReplaceDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}/runs": { - "get": { - "produces": [ - "application/json" + "/discoGroups/{groupName}:run": { + "post": { + "operationId": "DiscoveryGroups_RunDiscoGroup", + "tags": [ + "Discovery Groups" ], + "description": "Run a discovery group with a given groupName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/DiscoGroupNameParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/SkipParameter" - }, - { - "$ref": "#/parameters/MaxPageSizeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "name": "groupName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiscoRunPageResponse" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Groups" - ], - "operationId": "DiscoveryGroups_ListRuns", - "summary": "Retrieve a collection of discovery run results for a discovery group with a given groupName.", "x-ms-examples": { - "DiscoveryGroups": { - "$ref": "./examples/DiscoveryGroups_ListRuns.json" + "DiscoveryGroups_RunDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json" } - }, - "x-ms-pageable": { - "itemName": "content", - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups/{groupName}:run": { - "post": { - "produces": [ - "application/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/SubscriptionIdParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" }, { - "$ref": "#/parameters/WorkspaceNameParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/DiscoGroupNameParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/DiscoGroupNameParameter" } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DiscoRunPageResult" + } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Groups" - ], - "operationId": "DiscoveryGroups_Run", - "summary": "Run a discovery group with a given groupName.", "x-ms-examples": { - "DiscoveryGroups": { - "$ref": "./examples/DiscoveryGroups_Run.json" + "DiscoveryGroups_ListRuns": { + "$ref": "./examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoGroups:validate": { + "/discoGroups:validate": { "post": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "operationId": "DiscoveryGroups_ValidateDiscoGroup", + "tags": [ + "Discovery Groups" ], + "description": "Validate a discovery group with a given groupName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "in": "body", "name": "body", + "in": "body", "required": true, "schema": { - "$ref": "#/definitions/DiscoGroupRequest" + "$ref": "#/definitions/DiscoGroupData" } } ], "responses": { "200": { - "description": "If validation succeeds, an empty response object will be returned. If validation fails, the response object will by populated with the 'errors' property containing the details for each individual validation failure.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ValidateResponse" + "$ref": "#/definitions/ValidateResult" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Groups" - ], - "operationId": "DiscoveryGroups_Validate", - "summary": "Validate a discovery group with a given groupName.", "x-ms-examples": { - "DiscoveryGroups": { - "$ref": "./examples/DiscoveryGroups_Validate.json" + "DiscoveryGroups_ValidateDiscoGroup": { + "$ref": "./examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoTemplates": { + "/discoTemplates": { "get": { - "produces": [ - "application/json" + "operationId": "DiscoveryTemplates_ListDiscoTemplate", + "tags": [ + "Discovery Templates" ], + "description": "Retrieve a list of disco templates for the provided search parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/FilterParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/SkipParameter" + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" }, { - "$ref": "#/parameters/MaxPageSizeParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DiscoTemplatePageResponse" + "$ref": "#/definitions/PagedDiscoTemplate" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Templates" - ], - "operationId": "DiscoveryTemplates_List", - "summary": "Retrieve a list of disco templates for the provided search parameters.", "x-ms-examples": { - "DiscoveryTemplates": { - "$ref": "./examples/DiscoveryTemplates_List.json" + "DiscoveryTemplates_ListDiscoTemplate": { + "$ref": "./examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json" } }, "x-ms-pageable": { - "itemName": "content", "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoTemplates/{templateId}": { + "/discoTemplates/{templateId}": { "get": { - "produces": [ - "application/json" + "operationId": "DiscoveryTemplates_GetDiscoTemplate", + "tags": [ + "Discovery Templates" ], + "description": "Retrieve a disco template with a given templateId.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DiscoTemplateIdParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "templateId", + "in": "path", + "description": "The system generated unique id for the resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/DiscoTemplateResponse" + "$ref": "#/definitions/DiscoTemplate" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Discovery Templates" - ], - "operationId": "DiscoveryTemplates_Get", - "summary": "Retrieve a disco template with a given templateId.", "x-ms-examples": { - "DiscoveryTemplates": { - "$ref": "./examples/DiscoveryTemplates_Get.json" + "DiscoveryTemplates_GetDiscoTemplate": { + "$ref": "./examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/reports/assets:getBillable": { + "/reports/assets:getBillable": { "post": { - "produces": [ - "application/json" + "operationId": "Reports_GetBillable", + "tags": [ + "Reports" ], + "description": "Get billable assets summary for the workspace.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportBillableAssetSummaryResponse" + "$ref": "#/definitions/ReportBillableAssetSummaryResult" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Reports" - ], - "operationId": "Reports_Billable", - "summary": "Get billable assets summary for the workspace.", "x-ms-examples": { - "Reports": { - "$ref": "./examples/Reports_Billable.json" + "Reports_GetBillable": { + "$ref": "./examples/Reports_GetBillable_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/reports/assets:getSnapshot": { + "/reports/assets:getSnapshot": { "post": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "operationId": "Reports_GetSnapshot", + "tags": [ + "Reports" ], + "description": "Get the most recent snapshot of asset summary values for the snapshot request.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "in": "body", "name": "body", + "in": "body", "required": true, "schema": { "$ref": "#/definitions/ReportAssetSnapshotRequest" @@ -1039,59 +930,45 @@ ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportAssetSnapshotResponse" + "$ref": "#/definitions/ReportAssetSnapshotResult" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Reports" - ], - "operationId": "Reports_Snapshot", - "summary": "Get the most recent snapshot of asset summary values for the snapshot request.", "x-ms-examples": { - "Reports": { - "$ref": "./examples/Reports_Snapshot.json" + "Reports_GetSnapshot": { + "$ref": "./examples/Reports_GetSnapshot_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/reports/assets:getSummary": { + "/reports/assets:getSummary": { "post": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "operationId": "Reports_GetSummary", + "tags": [ + "Reports" ], + "description": "Get asset summary details for the summary request.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "in": "body", "name": "body", + "in": "body", "required": true, "schema": { "$ref": "#/definitions/ReportAssetSummaryRequest" @@ -1100,441 +977,363 @@ ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportAssetSummaryResponse" + "$ref": "#/definitions/ReportAssetSummaryResult" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Reports" - ], - "operationId": "Reports_Summary", - "summary": "Get asset summary details for the summary request.", "x-ms-examples": { - "Retrieve asset counts for all metrics associated with metric categories": { - "$ref": "./examples/Reports_Summary_MetricCategories.json" - }, - "Retrieve asset counts for metrics": { - "$ref": "./examples/Reports_Summary_Metrics.json" - }, - "Retrieve asset counts for the provided filters": { - "$ref": "./examples/Reports_Summary_Assets.json" - }, - "Retrieve asset counts for the provided filters split by groupBy field": { - "$ref": "./examples/Reports_Summary_Assets_GroupBy.json" - }, - "Retrieve asset counts for the provided filters split by groupBy field and segmentBy field": { - "$ref": "./examples/Reports_Summary_Assets_GroupBy_SegmentBy.json" + "Reports_GetSummary": { + "$ref": "./examples/Reports_GetSummary_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters": { + "/savedFilters": { "get": { - "produces": [ - "application/json" + "operationId": "SavedFilters_ListSavedFilter", + "tags": [ + "Saved Filters" ], + "description": "Retrieve a list of saved filters for the provided search parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/FilterParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/SkipParameter" + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" }, { - "$ref": "#/parameters/MaxPageSizeParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/SavedFilterPageResponse" + "$ref": "#/definitions/PagedSavedFilter" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Saved Filters" - ], - "operationId": "SavedFilters_List", - "summary": "Retrieve a list of saved filters for the provided search parameters.", "x-ms-examples": { - "SavedFilters": { - "$ref": "./examples/SavedFilters_List.json" + "SavedFilters_ListSavedFilter": { + "$ref": "./examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json" } }, "x-ms-pageable": { - "itemName": "content", "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters/{filterName}": { - "delete": { - "produces": [ - "application/json" + "/savedFilters/{filterName}": { + "get": { + "operationId": "SavedFilters_GetSavedFilter", + "tags": [ + "Saved Filters" ], + "description": "Retrieve a saved filter by filterName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/SavedFilterNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "filterName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/SavedFilter" + } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Saved Filters" - ], - "operationId": "SavedFilters_Delete", - "summary": "Delete a saved filter with a given filterName.", "x-ms-examples": { - "SavedFilters": { - "$ref": "./examples/SavedFilters_Delete.json" + "SavedFilters_GetSavedFilter": { + "$ref": "./examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json" } } }, - "get": { - "produces": [ - "application/json" + "put": { + "operationId": "SavedFilters_CreateOrReplaceSavedFilter", + "tags": [ + "Saved Filters" ], + "description": "Create or replace a saved filter with a given filterName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/SavedFilterNameParameter" + "name": "filterName", + "in": "path", + "description": "The caller provided unique name for the resource.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SavedFilterData" + } } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/SavedFilterResponse" + "$ref": "#/definitions/SavedFilter" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Saved Filters" - ], - "operationId": "SavedFilters_Get", - "summary": "Retrieve a saved filter by filterName.", "x-ms-examples": { - "SavedFilters": { - "$ref": "./examples/SavedFilters_Get.json" + "SavedFilters_CreateOrReplaceSavedFilter": { + "$ref": "./examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json" } } }, - "put": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "delete": { + "operationId": "SavedFilters_DeleteSavedFilter", + "tags": [ + "Saved Filters" ], + "description": "Delete a saved filter with a given filterName.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/SavedFilterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "in": "body", - "name": "body", + "name": "filterName", + "in": "path", + "description": "The caller provided unique name for the resource.", "required": true, - "schema": { - "$ref": "#/definitions/SavedFilterRequest" - } + "type": "string" } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SavedFilterResponse" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Saved Filters" - ], - "operationId": "SavedFilters_Put", - "summary": "Create or update a saved filter with a given filterName.", "x-ms-examples": { - "SavedFilters": { - "$ref": "./examples/SavedFilters_Put.json" + "SavedFilters_DeleteSavedFilter": { + "$ref": "./examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/tasks": { + "/tasks": { "get": { - "produces": [ - "application/json" + "operationId": "Tasks_ListTask", + "tags": [ + "Tasks" ], + "description": "Retrieve a list of tasks for the provided search parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/FilterParameter" + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" }, { "$ref": "#/parameters/OrderByParameter" }, { - "$ref": "#/parameters/SkipParameter" - }, - { - "$ref": "#/parameters/MaxPageSizeParameter" + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/TaskPageResponse" + "$ref": "#/definitions/PagedTask" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Tasks" - ], - "operationId": "Tasks_List", - "summary": "Retrieve a list of tasks for the provided search parameters.", "x-ms-examples": { - "Tasks": { - "$ref": "./examples/Tasks_List.json" + "Tasks_ListTask": { + "$ref": "./examples/Tasks_ListTask_MaximumSet_Gen.json" } }, "x-ms-pageable": { - "itemName": "content", "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/tasks/{taskId}": { + "/tasks/{taskId}": { "get": { - "produces": [ - "application/json" + "operationId": "Tasks_GetTask", + "tags": [ + "Tasks" ], + "description": "Retrieve a task by taskId.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/TaskIdParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "taskId", + "in": "path", + "description": "The unique identifier of the task.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/TaskResponse" + "$ref": "#/definitions/Task" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Tasks" - ], - "operationId": "Tasks_Get", - "summary": "Retrieve a task by taskId.", "x-ms-examples": { - "Tasks": { - "$ref": "./examples/Tasks_Get.json" + "Tasks_GetTask": { + "$ref": "./examples/Tasks_GetTask_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/tasks/{taskId}:cancel": { + "/tasks/{taskId}:cancel": { "post": { - "produces": [ - "application/json" + "operationId": "Tasks_CancelTask", + "tags": [ + "Tasks" ], + "description": "Cancel a task by taskId.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/TaskIdParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "taskId", + "in": "path", + "description": "The unique identifier of the task.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/TaskResponse" + "$ref": "#/definitions/Task" } }, "default": { - "description": "Error", + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { - "type": "string" + "type": "string", + "description": "String error code indicating what went wrong." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, - "tags": [ - "Tasks" - ], - "operationId": "Tasks_Cancel", - "summary": "Cancel a task by taskId.", "x-ms-examples": { - "Tasks": { - "$ref": "./examples/Tasks_Cancel.json" + "Tasks_CancelTask": { + "$ref": "./examples/Tasks_CancelTask_MaximumSet_Gen.json" } } } @@ -1542,444 +1341,503 @@ }, "definitions": { "AlexaInfo": { + "type": "object", "properties": { "alexaRank": { - "format": "int64", - "type": "integer" + "type": "integer", + "format": "int64" }, "category": { "type": "string" }, - "count": { - "format": "int64", - "type": "integer" - }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" } - }, - "type": "object" + } }, "AsAsset": { + "type": "object", "properties": { - "adminContacts": { + "asn": { + "type": "integer", + "format": "int64" + }, + "asNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminNames": { + "orgNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminOrgs": { + "orgIds": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminPhones": { + "countries": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "asNames": { + "registries": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" - }, - "asn": { - "format": "int64", - "type": "integer" - }, - "count": { - "format": "int64", - "type": "integer" + "x-ms-identifiers": [] }, - "countries": { + "sources": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/Source" }, - "type": "array" - }, - "detailedFromWhoisAt": { - "format": "date-time", - "type": "string" + "x-ms-identifiers": [] }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "orgIds": { + "count": { + "type": "integer", + "format": "int64" + }, + "registrarCreatedAt": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "orgNames": { + "registrarUpdatedAt": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, "registrantContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantNames": { + "adminContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantPhones": { + "technicalContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarCreatedAt": { + "registrarNames": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarNames": { + "registrantNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarUpdatedAt": { + "adminNames": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registries": { + "technicalNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "sources": { + "adminOrgs": { + "type": "array", "items": { - "$ref": "#/definitions/Source" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "technicalContacts": { + "technicalOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "technicalNames": { + "registrantPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "technicalOrgs": { + "adminPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, "technicalPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] + }, + "detailedFromWhoisAt": { + "type": "string", + "format": "date-time" } }, - "type": "object" + "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" + }, + "AssetKind": { + "type": "string", + "description": "The kind of asset.", + "enum": [ + "as", + "contact", + "domain", + "host", + "ipAddress", + "ipBlock", + "page", + "sslCert" + ], + "x-ms-enum": { + "name": "AssetKind", + "modelAsString": true + } }, - "AssetPageResponse": { + "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": { - "description": "The cursor mark to be used on the next request. Not set if using paging.", - "type": "string" + "type": "string", + "description": "The cursor mark to be used on the next request. Not set if using paging." }, "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", - "type": "string" - }, - "totalElements": { - "description": "The total number of items available in the full result set.", - "format": "int64", - "type": "integer" + "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/AssetResponse" - }, - "type": "array" + "$ref": "#/definitions/AssetResource" + } } - }, - "required": [ - "value" - ], - "type": "object" + } }, - "AssetResponse": { + "AssetResource": { + "type": "object", "description": "The items in the current page of results.", "properties": { - "auditTrail": { - "description": "The history of how this asset was pulled into the workspace through the discovery process.", - "items": { - "$ref": "#/definitions/AuditTrailItem" - }, - "type": "array" + "kind": { + "type": "string", + "description": "Discriminator property for AssetResource." }, - "createdDate": { - "description": "The date this asset was first added to this workspace.", - "format": "date-time", - "type": "string" + "id": { + "type": "string", + "description": "The system generated unique id for the resource.", + "readOnly": true }, - "discoGroupName": { - "description": "The name of the DiscoveryGroup that brought added this asset to the workspace.", - "type": "string" + "name": { + "type": "string", + "description": "The caller provided unique name for the resource." }, "displayName": { - "description": "The name that can be used for display purposes.", - "type": "string" + "type": "string", + "description": "The name that can be used for display purposes." }, - "externalId": { - "description": "An optional customer provided identifier for this asset.", - "type": "string" + "uuid": { + "$ref": "#/definitions/Azure.Core.uuid", + "description": "Global UUID for the asset." }, - "id": { - "description": "The system generated unique id for the resource.", - "type": "string" + "createdDate": { + "type": "string", + "format": "date-time", + "description": "The date this asset was first added to this workspace." }, - "kind": { - "description": "The kind of asset.", - "enum": [ - "as", - "contact", - "domain", - "host", - "ipAddress", - "ipBlock", - "page", - "sslCert" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "AssetResponseKind" - } + "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" - }, - "type": "array" + } }, - "name": { - "description": "The caller provided unique name for the resource.", - "type": "string" + "wildcard": { + "type": "boolean", + "description": "An indicator of whether this asset represents a wildcard rollup of assets on this domain." }, - "reason": { - "type": "string" + "discoGroupName": { + "type": "string", + "description": "The name of the DiscoGroup that brought added this asset to the workspace." }, - "state": { - "enum": [ - "candidate", - "confirmed", - "dismissed", - "candidateInvestigate", - "associatedPartner", - "associatedThirdparty", - "archived" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "AssetResponseState" + "auditTrail": { + "type": "array", + "description": "The history of how this asset was pulled into the workspace through the discovery process.", + "items": { + "$ref": "#/definitions/AuditTrailItem" } }, - "updatedDate": { - "description": "The date this asset was last updated for this workspace.", - "format": "date-time", - "type": "string" - }, - "uuid": { - "description": "Global UUID for the asset.", - "format": "uuid", + "reason": { "type": "string" - }, - "wildcard": { - "description": "An indicator of whether this asset represents a wildcard rollup of assets on this domain.", - "type": "boolean" } }, - "type": "object", "discriminator": "kind", "required": [ - "kind" + "kind", + "id" ] }, "AssetSecurityPolicy": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" + "policyName": { + "type": "string" + }, + "isAffected": { + "type": "boolean" }, "description": { "type": "string" }, "firstSeen": { - "format": "date-time", - "type": "string" - }, - "isAffected": { - "type": "boolean" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "policyName": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] } - }, - "type": "object" + } + }, + "AssetState": { + "type": "string", + "enum": [ + "candidate", + "confirmed", + "dismissed", + "candidateInvestigate", + "associatedPartner", + "associatedThirdparty", + "archived" + ], + "x-ms-enum": { + "name": "AssetState", + "modelAsString": true + } }, - "AssetSummaryResponse": { + "AssetSummaryResult": { + "type": "object", "description": "The collection of asset summaries.", "properties": { - "children": { - "description": "The corresponding child entities. For metric categories this will contain metrics. For filters with groupBy and segmentBy this will contain facets.", - "items": { - "$ref": "#/definitions/AssetSummaryResponse" - }, - "type": "array" - }, - "count": { - "description": "The count of assets matching the request parameters.", - "format": "int64", - "type": "integer" + "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": { - "description": "The description of the summary response. Filters don't have a description.", - "type": "string" + "type": "string", + "description": "The description of the summary response. Filters don't have a description." }, - "displayName": { - "description": "The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric.", - "type": "string" + "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": { - "description": "If the request is for an asset filter, this will contain the corresponding filter.", - "type": "string" + "type": "string", + "description": "If the request is for an asset filter, this will contain the corresponding filter." }, "labelName": { - "description": "An optional label used to filter requests results.", - "type": "string" - }, - "link": { - "description": "The link to the corresponding asset details.", - "type": "string" + "type": "string", + "description": "An optional label used to filter requests results." }, - "metric": { - "description": "If the request is for a metric, this will contain the requested unique metric name.", - "type": "string" + "count": { + "type": "integer", + "format": "int64", + "description": "The count of assets matching the request parameters." }, - "metricCategory": { - "description": "If the request is for a metric category, this will contain the requested unique category name.", - "type": "string" + "link": { + "type": "string", + "description": "The link to the corresponding asset details." }, - "updatedAt": { - "description": "The last time risk categories or risk metrics were captured. Set to the current time for asset filter requests, which always pull the live asset data.", - "format": "date-time", - "type": "string" + "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": [] } - }, - "type": "object" + } }, - "AssetUpdateRequest": { + "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": { - "description": "A string which can be used to identify the asset in external systems.", - "type": "string" + "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" - }, - "description": "Any Labels to update the asset with.", - "type": "object" - }, - "state": { - "description": "The state to update the asset to.", - "enum": [ - "candidate", - "confirmed", - "dismissed", - "candidateInvestigate", - "associatedPartner", - "associatedThirdparty" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "AssetUpdateRequestState" } }, "transfers": { - "description": "A list of asset types to cascade the updates to.", - "enum": [ - "as", - "contact", - "domain", - "host", - "ipAddress", - "ipBlock", - "page", - "sslCert" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "AssetUpdateRequestTransfers" - } + "$ref": "#/definitions/AssetUpdateTransfers", + "description": "A list of asset types to cascade the updates to." } - }, - "type": "object" + } + }, + "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 + } }, "Attribute": { + "type": "object", "properties": { "attributeType": { "type": "string" @@ -1987,483 +1845,579 @@ "attributeValue": { "type": "string" }, - "count": { - "format": "int64", - "type": "integer" + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" - }, - "sources": { - "items": { - "$ref": "#/definitions/Source" - }, - "type": "array" } - }, - "type": "object" + } }, "AuditTrailItem": { + "type": "object", "description": "The history of how this asset was pulled into the workspace through the discovery process.", "properties": { - "displayName": { - "description": "The name that can be used for display purposes.", - "type": "string" - }, "id": { - "description": "The system generated unique id for the resource.", - "type": "string" - }, - "kind": { - "description": "The kind of asset.", - "enum": [ - "as", - "contact", - "domain", - "host", - "ipAddress", - "ipBlock", - "page", - "sslCert" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "AuditTrailItemKind" - } + "type": "string", + "description": "The system generated unique id for the resource." }, "name": { - "description": "The caller provided unique name for the resource.", - "type": "string" + "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": { - "description": "An explanation of why this audit trail node was discovered from the previous node.", - "type": "string" + "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." } }, - "type": "object" + "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.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": { - "description": "The azure data explorer cluster name", - "type": "string" - }, - "databaseName": { - "description": "The azure data explorer database name", - "type": "string" + "type": "string", + "description": "The azure data explorer cluster name" }, "region": { - "description": "The azure data explorer region", - "type": "string" + "type": "string", + "description": "The azure data explorer region" + }, + "databaseName": { + "type": "string", + "description": "The azure data explorer database name" } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/DataConnectionProperties" + } + ] }, "Banner": { + "type": "object", "properties": { + "port": { + "type": "integer", + "format": "int32" + }, "banner": { "type": "string" }, - "bannerMetadata": { - "type": "string" + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" }, "count": { - "format": "int64", - "type": "integer" + "type": "integer", + "format": "int64" }, - "firstSeen": { - "format": "date-time", + "scanType": { "type": "string" }, - "lastSeen": { - "format": "date-time", + "bannerMetadata": { "type": "string" }, - "port": { - "format": "int32", - "type": "integer" - }, "recent": { "type": "boolean" }, - "scanType": { - "type": "string" - }, "sha256": { "type": "string" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] } - }, - "type": "object" + } }, - "CVSS3Summary": { + "ContactAsset": { + "type": "object", "properties": { - "attackComplexity": { - "type": "string" - }, - "attackVector": { - "type": "string" - }, - "availabilityImpact": { - "type": "string" - }, - "baseScore": { - "format": "float", - "type": "number" - }, - "baseSeverity": { - "type": "string" - }, - "confidentialityImpact": { - "type": "string" - }, - "exploitCodeMaturity": { - "type": "string" - }, - "exploitabilityScore": { - "format": "float", - "type": "number" - }, - "impactScore": { - "format": "float", - "type": "number" - }, - "integrityImpact": { - "type": "string" - }, - "privilegesRequired": { - "type": "string" - }, - "remediationLevel": { - "type": "string" - }, - "reportConfidence": { - "type": "string" - }, - "scope": { - "type": "string" - }, - "userInteraction": { - "type": "string" - }, - "vectorString": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "type": "object" - }, - "ContactAsset": { - "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "email": { - "type": "string" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", + "email": { "type": "string" }, "names": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, "organizations": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" } }, - "type": "object" + "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": { - "cookieDomain": { - "type": "string" - }, - "cookieExpiryDate": { - "format": "date-time", - "type": "string" - }, "cookieName": { "type": "string" }, - "count": { - "format": "int64", - "type": "integer" + "cookieDomain": { + "type": "string" }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" + }, + "cookieExpiryDate": { + "type": "string", + "format": "date-time" } - }, - "type": "object" + } }, "Cve": { + "type": "object", "properties": { - "cvss3Summary": { - "$ref": "#/definitions/CVSS3Summary" - }, - "cvssScore": { - "format": "float", - "type": "number" + "name": { + "type": "string" }, "cweId": { "type": "string" }, - "name": { - "type": "string" + "cvssScore": { + "type": "number", + "format": "float" + }, + "cvss3Summary": { + "$ref": "#/definitions/Cvss3Summary" } - }, - "type": "object" + } }, - "DataConnectionPageResponse": { + "Cvss3Summary": { + "type": "object", "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", + "version": { "type": "string" }, - "totalElements": { - "description": "The total number of items available in the full result set.", - "format": "int64", - "type": "integer" + "vectorString": { + "type": "string" }, - "value": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DataConnectionResponse" - }, - "type": "array" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "DataConnectionRequest": { - "properties": { - "content": { - "description": "The type of data the data connection will transfer.", - "enum": [ - "assets", - "attackSurfaceInsights" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DataConnectionRequestContent" - } + "attackVector": { + "type": "string" }, - "frequency": { - "description": "The rate at which the data connection will receive updates.", - "enum": [ - "daily", - "weekly", - "monthly" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DataConnectionRequestFrequency" - } + "attackComplexity": { + "type": "string" }, - "frequencyOffset": { - "description": "The day to update the data connection on. (1-7 for weekly, 1-31 for monthly)", - "format": "int32", - "type": "integer" + "privilegesRequired": { + "type": "string" }, - "kind": { - "description": "The kind of data connection.", - "enum": [ - "logAnalytics", - "azureDataExplorer" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DataConnectionRequestKind" - } + "userInteraction": { + "type": "string" }, - "name": { - "description": "The name of data connection", + "scope": { "type": "string" - } - }, - "type": "object", - "discriminator": "kind", - "required": [ - "kind" - ] - }, - "DataConnectionResponse": { - "properties": { - "active": { - "description": "An indicator of whether the data connection is active.", - "type": "boolean" }, - "content": { - "description": "The type of data the data connection will transfer", - "enum": [ - "assets", - "attackSurfaceInsights" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DataConnectionResponseContent" - } + "confidentialityImpact": { + "type": "string" }, - "createdDate": { - "description": "The date the data connection was created.", - "format": "date-time", + "integrityImpact": { "type": "string" }, - "displayName": { - "description": "The name that can be used for display purposes.", + "availabilityImpact": { "type": "string" }, - "frequency": { - "description": "The rate at which the data connection will receive updates.", - "enum": [ - "daily", - "weekly", - "monthly" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DataConnectionResponseFrequency" - } + "baseScore": { + "type": "number", + "format": "float" }, - "frequencyOffset": { - "description": "The day to update the data connection on.", - "format": "int32", - "type": "integer" + "baseSeverity": { + "type": "string" }, - "id": { - "description": "The system generated unique id for the resource.", + "exploitCodeMaturity": { "type": "string" }, - "inactiveMessage": { - "description": "A message that specifies details about data connection if inactive.", + "remediationLevel": { + "type": "string" + }, + "reportConfidence": { "type": "string" }, + "exploitabilityScore": { + "type": "number", + "format": "float" + }, + "impactScore": { + "type": "number", + "format": "float" + } + } + }, + "DataConnection": { + "type": "object", + "properties": { "kind": { - "description": "The kind of data connection.", - "enum": [ - "logAnalytics", - "azureDataExplorer" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DataConnectionResponseKind" - } + "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.", - "type": "string" + "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": { - "description": "The date the data connection was last updated.", + "type": "string", "format": "date-time", - "type": "string" + "description": "The date the data connection was last updated.", + "readOnly": true }, "userUpdatedAt": { - "description": "The date the data connection was last updated by user.", + "type": "string", "format": "date-time", - "type": "string" + "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 } }, - "type": "object", "discriminator": "kind", "required": [ - "kind" + "kind", + "name" ] }, - "DependentResource": { + "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": { - "host": { - "type": "string" + "kind": { + "type": "string", + "description": "Discriminator property for DataConnectionData." }, - "cached": { - "type": "boolean" - }, - "contentType": { - "type": "string" + "name": { + "type": "string", + "description": "The name of data connection" }, - "count": { - "format": "int64", - "type": "integer" + "content": { + "$ref": "#/definitions/DataConnectionContent", + "description": "The type of data the data connection will transfer." }, - "firstSeen": { - "format": "date-time", - "type": "string" + "frequency": { + "$ref": "#/definitions/DataConnectionFrequency", + "description": "The rate at which the data connection will receive updates." }, - "firstSeenCrawlGuid": { + "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" + }, + "DependentResource": { + "type": "object", + "properties": { + "md5": { "type": "string" }, - "firstSeenPageGuid": { - "type": "string" + "responseBodySize": { + "type": "integer", + "format": "int64" }, - "firstSeenResourceGuid": { - "type": "string" + "firstSeen": { + "type": "string", + "format": "date-time" }, - "lastObservedActualSriHash": { - "type": "string" + "lastSeen": { + "type": "string", + "format": "date-time" }, - "lastObservedExpectedSriHash": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" }, - "lastObservedValidation": { - "format": "date-time", + "firstSeenCrawlGuid": { "type": "string" }, - "lastObservedViolation": { - "format": "date-time", + "firstSeenPageGuid": { "type": "string" }, - "lastSeen": { - "format": "date-time", + "firstSeenResourceGuid": { "type": "string" }, "lastSeenCrawlGuid": { @@ -2475,19 +2429,15 @@ "lastSeenResourceGuid": { "type": "string" }, - "md5": { - "type": "string" - }, "responseBodyMinhash": { + "type": "array", "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" + "type": "integer", + "format": "int32" + } }, - "responseBodySize": { - "format": "int64", - "type": "integer" + "contentType": { + "type": "string" }, "sha256": { "type": "string" @@ -2498,1911 +2448,2149 @@ "sha512": { "type": "string" }, + "url": { + "type": "string", + "format": "uri" + }, + "cached": { + "type": "boolean" + }, "sriChecks": { + "type": "array", "items": { "$ref": "#/definitions/SubResourceIntegrityCheck" }, - "type": "array" + "x-ms-identifiers": [] }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "DiscoGroupPageResponse": { - "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", + "host": { "type": "string" }, - "totalElements": { - "description": "The total number of items available in the full result set.", - "format": "int64", - "type": "integer" + "lastObservedViolation": { + "type": "string", + "format": "date-time" }, - "value": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DiscoGroupResponse" - }, - "type": "array" + "lastObservedValidation": { + "type": "string", + "format": "date-time" + }, + "lastObservedActualSriHash": { + "type": "string" + }, + "lastObservedExpectedSriHash": { + "type": "string" } - }, - "required": [ - "value" - ], - "type": "object" + } }, - "DiscoGroupRequest": { - "description": "A request body used to create a discovery group.", + "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": { - "description": "The description for a disco group.", - "type": "string" + "type": "string", + "description": "The description for a disco group." }, - "excludes": { - "description": "The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.", - "items": { - "$ref": "#/definitions/DiscoSource" - }, - "type": "array" + "tier": { + "type": "string", + "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group." }, "frequencyMilliseconds": { - "description": "The frequency at which the disco group is supposed to be rerun in milliseconds.", + "type": "integer", "format": "int64", - "type": "integer" + "description": "The frequency at which the disco group is supposed to be rerun in milliseconds." }, - "name": { - "description": "The name for a disco group.", - "type": "string" + "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" - }, - "type": "array" + } }, - "seeds": { - "description": "The list of seeds used for the disco group runs.", + "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" }, - "type": "array" + "x-ms-identifiers": [] }, - "templateId": { - "description": "The unique identifier for the disco template used for the disco group creation.", - "type": "string" + "latestRun": { + "$ref": "#/definitions/DiscoRunResult", + "description": "The latest run of this disco group with some limited information, null if the group has never been run." }, - "tier": { - "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group.", - "type": "string" + "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." } }, - "type": "object" + "required": [ + "name" + ] }, - "DiscoGroupResponse": { + "DiscoGroupData": { + "type": "object", + "description": "A request body used to create a discovery group.", "properties": { - "createdDate": { - "description": "The date for the disco group was created.", - "format": "date-time", - "type": "string" + "name": { + "type": "string", + "description": "The name for a disco group." }, "description": { - "description": "The description for a disco group.", - "type": "string" - }, - "displayName": { - "description": "The name that can be used for display purposes.", - "type": "string" + "type": "string", + "description": "The description for a disco group." }, - "excludes": { - "description": "The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm.", - "items": { - "$ref": "#/definitions/DiscoSource" - }, - "type": "array" + "tier": { + "type": "string", + "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group." }, "frequencyMilliseconds": { - "description": "The frequency at which the disco group is supposed to be rerun in milliseconds.", + "type": "integer", "format": "int64", - "type": "integer" - }, - "id": { - "description": "The system generated unique id for the resource.", - "type": "string" - }, - "latestRun": { - "$ref": "#/definitions/DiscoRunResponse" + "description": "The frequency at which the disco group is supposed to be rerun in milliseconds." }, - "name": { - "description": "The caller provided unique name for the resource.", - "type": "string" + "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" - }, - "type": "array" + } }, - "seeds": { - "description": "The list of seeds used for the disco group runs.", + "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" }, - "type": "array" + "x-ms-identifiers": [] }, "templateId": { - "description": "The unique identifier for the disco template used for the disco group creation.", - "type": "string" - }, - "tier": { - "description": "The tier for the disco group which will affect the algorithm used for the disco runs in this group.", - "type": "string" + "type": "string", + "description": "The unique identifier for the disco template used for the disco group creation." } - }, - "type": "object" + } }, - "DiscoRunPageResponse": { + "DiscoRunPageResult": { + "type": "object", "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", - "type": "string" - }, "totalElements": { - "description": "The total number of items available in the full result set.", + "type": "integer", "format": "int64", - "type": "integer" + "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/DiscoRunResponse" + "$ref": "#/definitions/DiscoRunResult" }, - "type": "array" + "x-ms-identifiers": [] } - }, - "required": [ - "value" - ], - "type": "object" + } }, - "DiscoRunResponse": { + "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": { - "description": "The date for when the disco run was completed by the system.", + "type": "string", "format": "date-time", - "type": "string" + "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" }, - "type": "array" + "x-ms-identifiers": [] }, "names": { + "type": "array", "description": "The list of names used for the disco run.", "items": { "type": "string" - }, - "type": "array" - }, - "seeds": { - "description": "The list of seeds used for the disco run.", - "items": { - "$ref": "#/definitions/DiscoSource" - }, - "type": "array" - }, - "startedDate": { - "description": "The date for when the disco run was actually started by the system.", - "format": "date-time", - "type": "string" - }, - "state": { - "description": "The State of the disco run.", - "enum": [ - "pending", - "running", - "completed", - "failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DiscoRunResponseState" } - }, - "submittedDate": { - "description": "The date for when the disco run was created in the system.", - "format": "date-time", - "type": "string" - }, - "tier": { - "description": "The tier which will affect the algorithm used for the disco run.", - "type": "string" - }, - "totalAssetsFoundCount": { - "description": "The total count of assets that were found this disco run.", - "format": "int64", - "type": "integer" } - }, - "type": "object" + } + }, + "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": { - "description": "The kind of disco source.", - "enum": [ - "as", - "attribute", - "contact", - "domain", - "host", - "ipBlock" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "DiscoSourceKind" - } + "$ref": "#/definitions/DiscoSourceKind", + "description": "The kind of disco source." }, "name": { - "description": "The name for the disco source.", - "type": "string" + "type": "string", + "description": "The name for the disco source." } - }, - "type": "object" + } }, - "DiscoTemplatePageResponse": { - "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", - "type": "string" - }, - "totalElements": { - "description": "The total number of items available in the full result set.", - "format": "int64", - "type": "integer" - }, - "value": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/DiscoTemplateResponse" - }, - "type": "array" - } - }, - "required": [ - "value" + "DiscoSourceKind": { + "type": "string", + "description": "The kind of disco source.", + "enum": [ + "as", + "attribute", + "contact", + "domain", + "host", + "ipBlock" ], - "type": "object" + "x-ms-enum": { + "name": "DiscoSourceKind", + "modelAsString": true + } }, - "DiscoTemplateResponse": { + "DiscoTemplate": { + "type": "object", "description": "The items in the current page of results.", "properties": { - "city": { - "description": "The name of the city.", - "type": "string" + "id": { + "type": "string", + "description": "The system generated unique id for the resource.", + "readOnly": true }, - "countryCode": { - "description": "The country code.", - "type": "string" + "name": { + "type": "string", + "description": "The caller provided unique name for the resource." }, "displayName": { - "description": "The name that can be used for display purposes.", - "type": "string" - }, - "id": { - "description": "The system generated unique id for the resource.", - "type": "string" + "type": "string", + "description": "The name that can be used for display purposes." }, "industry": { - "description": "The name of the industry.", - "type": "string" + "type": "string", + "description": "The name of the industry." }, - "name": { - "description": "The caller provided unique name for the resource.", - "type": "string" + "region": { + "type": "string", + "description": "The name of the region." }, - "names": { - "description": "The list of disco template names.", - "items": { - "type": "string" - }, - "type": "array" + "countryCode": { + "type": "string", + "description": "The country code." }, - "region": { - "description": "The name of the region.", - "type": "string" + "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" }, - "type": "array" + "x-ms-identifiers": [] }, - "stateCode": { - "description": "The state code.", - "type": "string" + "names": { + "type": "array", + "description": "The list of disco template names.", + "items": { + "type": "string" + } } }, - "type": "object" + "required": [ + "id" + ] }, "DomainAsset": { + "type": "object", "properties": { - "adminContacts": { - "items": { - "$ref": "#/definitions/ObservedString" - }, - "type": "array" + "domain": { + "type": "string" }, - "adminNames": { + "whoisId": { + "type": "integer", + "format": "int64" + }, + "registrarIanaIds": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedInteger" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminOrgs": { + "registrantContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminPhones": { + "registrantOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "alexaInfos": { + "adminContacts": { + "type": "array", "items": { - "$ref": "#/definitions/AlexaInfo" + "$ref": "#/definitions/ObservedString" }, - "type": "array" - }, - "count": { - "format": "int64", - "type": "integer" - }, - "detailedFromWhoisAt": { - "format": "date-time", - "type": "string" - }, - "domain": { - "type": "string" + "x-ms-identifiers": [] }, - "domainStatuses": { + "technicalContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" + "x-ms-identifiers": [] }, - "mailServers": { + "alexaInfos": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/AlexaInfo" }, - "type": "array" + "x-ms-identifiers": [] }, "nameServers": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" - }, - "parkedDomain": { - "items": { - "$ref": "#/definitions/ObservedBoolean" - }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantContacts": { + "mailServers": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantNames": { + "whoisServers": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantOrgs": { + "domainStatuses": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantPhones": { + "registrarCreatedAt": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarCreatedAt": { + "registrarUpdatedAt": { + "type": "array", "items": { "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, "registrarExpiresAt": { + "type": "array", "items": { "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarIanaIds": { + "soaRecords": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedInteger" + "$ref": "#/definitions/SoaRecord" }, - "type": "array" + "x-ms-identifiers": [] + }, + "detailedFromWhoisAt": { + "type": "string", + "format": "date-time" }, "registrarNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarUpdatedAt": { + "sources": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] }, - "soaRecords": { + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "parkedDomain": { + "type": "array", "items": { - "$ref": "#/definitions/SoaRecord" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "sources": { + "registrantNames": { + "type": "array", "items": { - "$ref": "#/definitions/Source" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "technicalContacts": { + "adminNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, "technicalNames": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] + }, + "adminOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, "technicalOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "technicalPhones": { + "registrantPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "whoisId": { - "format": "int64", - "type": "integer" + "adminPhones": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedString" + }, + "x-ms-identifiers": [] }, - "whoisServers": { + "technicalPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "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": { - "description": "This is one of a server-defined set of error codes.", - "type": "string" + "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" }, - "type": "array" + "x-ms-identifiers": [] }, "innererror": { - "$ref": "#/definitions/InnerError" - }, - "message": { - "description": "This is a human-readable representation of the error.", - "type": "string" - }, - "target": { - "description": "This is the error target.", - "type": "string" + "$ref": "#/definitions/InnerError", + "description": "This is an object containing more specific information than the current object about the error." } }, "required": [ "code", "message" - ], - "type": "object" - }, - "ErrorResponse": { - "properties": { - "error": { - "$ref": "#/definitions/ErrorDetail" - } - }, - "required": [ - "error" - ], - "type": "object" + ] }, "GuidPair": { + "type": "object", "properties": { - "crawlStateGuid": { + "pageGuid": { "type": "string" }, - "loadDate": { - "format": "date-time", + "crawlStateGuid": { "type": "string" }, - "pageGuid": { - "type": "string" + "loadDate": { + "type": "string", + "format": "date-time" }, "recent": { "type": "boolean" } - }, - "type": "object" + } }, "HostAsset": { + "type": "object", "properties": { "host": { "type": "string" }, - "asns": { - "items": { - "$ref": "#/definitions/ObservedLong" - }, - "type": "array" + "domain": { + "type": "string" }, - "attributes": { + "ipAddresses": { + "type": "array", "items": { - "$ref": "#/definitions/Attribute" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "banners": { + "webComponents": { + "type": "array", "items": { - "$ref": "#/definitions/Banner" + "$ref": "#/definitions/WebComponent" }, - "type": "array" + "x-ms-identifiers": [] }, - "childHosts": { + "headers": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedHeader" }, - "type": "array" + "x-ms-identifiers": [] }, - "cnames": { + "attributes": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/Attribute" }, - "type": "array" + "x-ms-identifiers": [] }, "cookies": { + "type": "array", "items": { "$ref": "#/definitions/Cookie" }, - "type": "array" - }, - "count": { - "format": "int64", - "type": "integer" - }, - "domain": { - "type": "string" + "x-ms-identifiers": [] }, - "domainAsset": { - "$ref": "#/definitions/DomainAsset" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "headers": { + "sslCerts": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedHeader" + "$ref": "#/definitions/SslCertAsset" }, - "type": "array" - }, - "hostCore": { - "$ref": "#/definitions/HostCore" + "x-ms-identifiers": [] }, - "ipAddresses": { + "parentHosts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipBlocks": { + "childHosts": { + "type": "array", "items": { - "$ref": "#/definitions/IpBlock" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipv4": { + "hostCore": { + "$ref": "#/definitions/HostCore" + }, + "services": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/Service" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipv6": { + "cnames": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "isWildcard": { + "sources": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "location": { + "count": { + "type": "integer", + "format": "int64" + }, + "resourceUrls": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLocation" + "$ref": "#/definitions/ResourceUrl" }, - "type": "array" + "x-ms-identifiers": [] }, - "mxRecord": { + "scanMetadata": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/ScanMetadata" }, - "type": "array" + "x-ms-identifiers": [] }, - "nsRecord": { + "asns": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "nxdomain": { + "ipBlocks": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/IpBlock" }, - "type": "array" + "x-ms-identifiers": [] }, - "parentHosts": { + "responseBodies": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "resourceUrls": { - "items": { - "$ref": "#/definitions/ResourceUrl" - }, - "type": "array" + "domainAsset": { + "$ref": "#/definitions/DomainAsset" }, - "responseBodies": { + "nsRecord": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "scanMetadata": { + "mxRecord": { + "type": "array", "items": { - "$ref": "#/definitions/ScanMetadata" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "services": { + "webserver": { + "type": "array", "items": { - "$ref": "#/definitions/Service" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "sources": { + "location": { + "type": "array", "items": { - "$ref": "#/definitions/Source" + "$ref": "#/definitions/ObservedLocation" }, - "type": "array" + "x-ms-identifiers": [] }, - "sslCerts": { + "nxdomain": { + "type": "array", "items": { - "$ref": "#/definitions/SslCertAsset" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, "sslServerConfig": { + "type": "array", "items": { "$ref": "#/definitions/SslServerConfig" }, - "type": "array" + "x-ms-identifiers": [] }, - "webComponents": { + "isWildcard": { + "type": "array", "items": { - "$ref": "#/definitions/WebComponent" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "webserver": { + "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" }, - "type": "array" + "x-ms-identifiers": [] } }, - "type": "object" + "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" }, - "alexaRank": { - "format": "int32", - "type": "integer" + "domain": { + "type": "string" }, - "blacklistCauseCount": { - "format": "int64", - "type": "integer" + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" }, "blacklistCauseFirstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "blacklistCauseLastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "blacklistResourceCount": { - "format": "int64", - "type": "integer" + "blacklistCauseCount": { + "type": "integer", + "format": "int64" }, "blacklistResourceFirstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "blacklistResourceLastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "blacklistSequenceCount": { - "format": "int64", - "type": "integer" + "blacklistResourceCount": { + "type": "integer", + "format": "int64" }, "blacklistSequenceFirstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "blacklistSequenceLastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "count": { - "format": "int64", - "type": "integer" + "blacklistSequenceCount": { + "type": "integer", + "format": "int64" }, - "domain": { - "type": "string" + "phishCauseCount": { + "type": "integer", + "format": "int64" }, - "domainMalwareReputationScore": { - "format": "int32", - "type": "integer" + "malwareCauseCount": { + "type": "integer", + "format": "int64" }, - "domainPhishReputationScore": { - "format": "int32", - "type": "integer" + "spamCauseCount": { + "type": "integer", + "format": "int64" }, - "domainReputationScore": { - "format": "int32", - "type": "integer" + "scamCauseCount": { + "type": "integer", + "format": "int64" }, - "domainScamReputationScore": { - "format": "int32", - "type": "integer" + "phishResourceCount": { + "type": "integer", + "format": "int64" }, - "domainSpamReputationScore": { - "format": "int32", - "type": "integer" + "malwareResourceCount": { + "type": "integer", + "format": "int64" }, - "firstSeen": { - "format": "date-time", - "type": "string" + "spamResourceCount": { + "type": "integer", + "format": "int64" }, - "hostMalwareReputationScore": { - "format": "int32", - "type": "integer" + "scamResourceCount": { + "type": "integer", + "format": "int64" }, - "hostPhishReputationScore": { - "format": "int32", - "type": "integer" + "phishSequenceCount": { + "type": "integer", + "format": "int64" }, - "hostReputationScore": { - "format": "int32", - "type": "integer" + "malwareSequenceCount": { + "type": "integer", + "format": "int64" }, - "hostScamReputationScore": { - "format": "int32", - "type": "integer" + "spamSequenceCount": { + "type": "integer", + "format": "int64" }, - "hostSpamReputationScore": { - "format": "int32", - "type": "integer" + "scamSequenceCount": { + "type": "integer", + "format": "int64" }, - "lastSeen": { - "format": "date-time", - "type": "string" + "alexaRank": { + "type": "integer", + "format": "int32" }, - "malwareCauseCount": { - "format": "int64", - "type": "integer" + "hostReputationScore": { + "type": "integer", + "format": "int32" }, - "malwareResourceCount": { - "format": "int64", - "type": "integer" + "hostPhishReputationScore": { + "type": "integer", + "format": "int32" }, - "malwareSequenceCount": { - "format": "int64", - "type": "integer" + "hostMalwareReputationScore": { + "type": "integer", + "format": "int32" }, - "phishCauseCount": { - "format": "int64", - "type": "integer" + "hostSpamReputationScore": { + "type": "integer", + "format": "int32" }, - "phishResourceCount": { - "format": "int64", - "type": "integer" + "hostScamReputationScore": { + "type": "integer", + "format": "int32" }, - "phishSequenceCount": { - "format": "int64", - "type": "integer" + "domainReputationScore": { + "type": "integer", + "format": "int32" }, - "scamCauseCount": { - "format": "int64", - "type": "integer" + "domainPhishReputationScore": { + "type": "integer", + "format": "int32" }, - "scamResourceCount": { - "format": "int64", - "type": "integer" + "domainMalwareReputationScore": { + "type": "integer", + "format": "int32" }, - "scamSequenceCount": { - "format": "int64", - "type": "integer" + "domainSpamReputationScore": { + "type": "integer", + "format": "int32" }, - "spamCauseCount": { - "format": "int64", - "type": "integer" - }, - "spamResourceCount": { - "format": "int64", - "type": "integer" - }, - "spamSequenceCount": { - "format": "int64", - "type": "integer" + "domainScamReputationScore": { + "type": "integer", + "format": "int32" }, "uuid": { "type": "string" } - }, - "type": "object" + } }, "InnerError": { + "type": "object", "description": "This is an object containing more specific information than the current object about the error.", "properties": { "code": { - "description": "This is a more specific error code than was provided by the containing error.", - "type": "string" + "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.", - "type": "object" + "description": "This is an additional field representing the value that caused the error to help with debugging." } - }, + } + }, + "InventoryAsset": { "type": "object" }, "IpAddressAsset": { + "type": "object", "properties": { + "ipAddress": { + "type": "string" + }, "asns": { + "type": "array", "items": { "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "attributes": { + "reputations": { + "type": "array", "items": { - "$ref": "#/definitions/Attribute" + "$ref": "#/definitions/Reputation" }, - "type": "array" + "x-ms-identifiers": [] }, - "banners": { + "webComponents": { + "type": "array", "items": { - "$ref": "#/definitions/Banner" + "$ref": "#/definitions/WebComponent" }, - "type": "array" + "x-ms-identifiers": [] }, - "cookies": { + "netRanges": { + "type": "array", "items": { - "$ref": "#/definitions/Cookie" + "$ref": "#/definitions/ObservedString" }, - "type": "array" - }, - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" + "x-ms-identifiers": [] }, "headers": { + "type": "array", "items": { "$ref": "#/definitions/ObservedHeader" }, - "type": "array" + "x-ms-identifiers": [] }, - "hosts": { + "attributes": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/Attribute" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipAddress": { - "type": "string" + "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" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipv4": { - "type": "boolean" + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] }, - "ipv6": { - "type": "boolean" + "firstSeen": { + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "location": { - "items": { - "$ref": "#/definitions/ObservedLocation" - }, - "type": "array" + "count": { + "type": "integer", + "format": "int64" }, - "mxRecord": { + "banners": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/Banner" }, - "type": "array" + "x-ms-identifiers": [] }, - "netRanges": { + "scanMetadata": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ScanMetadata" }, - "type": "array" + "x-ms-identifiers": [] }, "nsRecord": { + "type": "array", "items": { "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "nxdomain": { + "mxRecord": { + "type": "array", "items": { "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" - }, - "reputations": { - "items": { - "$ref": "#/definitions/Reputation" - }, - "type": "array" - }, - "scanMetadata": { - "items": { - "$ref": "#/definitions/ScanMetadata" - }, - "type": "array" + "x-ms-identifiers": [] }, - "services": { + "location": { + "type": "array", "items": { - "$ref": "#/definitions/Service" + "$ref": "#/definitions/ObservedLocation" }, - "type": "array" + "x-ms-identifiers": [] }, - "sources": { + "hosts": { + "type": "array", "items": { - "$ref": "#/definitions/Source" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "sslCerts": { + "nxdomain": { + "type": "array", "items": { - "$ref": "#/definitions/SslCertAsset" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, "sslServerConfig": { + "type": "array", "items": { "$ref": "#/definitions/SslServerConfig" }, - "type": "array" + "x-ms-identifiers": [] }, - "webComponents": { - "items": { - "$ref": "#/definitions/WebComponent" - }, - "type": "array" + "ipv4": { + "type": "boolean" + }, + "ipv6": { + "type": "boolean" } }, - "type": "object" + "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": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, "ipBlock": { "type": "string" }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { - "type": "boolean" - }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] + }, + "firstSeen": { + "type": "string", + "format": "date-time" + }, + "lastSeen": { + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "recent": { + "type": "boolean" } - }, - "type": "object" + } }, "IpBlockAsset": { + "type": "object", "properties": { - "adminContacts": { + "ipBlock": { + "type": "string" + }, + "asns": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "bgpPrefixes": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminNames": { + "netNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminOrgs": { + "registrantContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "adminPhones": { + "registrantOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "asns": { + "adminContacts": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "bgpPrefixes": { + "technicalContacts": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "count": { - "format": "int64", - "type": "integer" + "registrarCreatedAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] }, - "detailedFromWhoisAt": { - "format": "date-time", + "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" }, - "firstSeen": { - "format": "date-time", - "type": "string" + "reputations": { + "type": "array", + "items": { + "$ref": "#/definitions/Reputation" + }, + "x-ms-identifiers": [] }, - "ipBlock": { - "type": "string" + "detailedFromWhoisAt": { + "type": "string", + "format": "date-time" }, - "ipv4": { - "type": "boolean" + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" + }, + "x-ms-identifiers": [] }, - "ipv6": { - "type": "boolean" + "firstSeen": { + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" }, "location": { + "type": "array", "items": { "$ref": "#/definitions/ObservedLocation" }, - "type": "array" + "x-ms-identifiers": [] }, - "netNames": { + "registrarExpiresAt": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedLong" + }, + "x-ms-identifiers": [] + }, + "registrantNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "netRanges": { + "adminNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantContacts": { + "technicalNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantNames": { + "adminOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrantOrgs": { + "technicalOrgs": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, "registrantPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarCreatedAt": { + "adminPhones": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "registrarExpiresAt": { - "items": { - "$ref": "#/definitions/ObservedLong" - }, - "type": "array" - }, - "registrarUpdatedAt": { - "items": { - "$ref": "#/definitions/ObservedLong" - }, - "type": "array" - }, - "reputations": { - "items": { - "$ref": "#/definitions/Reputation" - }, - "type": "array" - }, - "sources": { - "items": { - "$ref": "#/definitions/Source" - }, - "type": "array" - }, - "startIp": { - "type": "string" - }, - "technicalContacts": { - "items": { - "$ref": "#/definitions/ObservedString" - }, - "type": "array" - }, - "technicalNames": { + "technicalPhones": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "technicalOrgs": { - "items": { - "$ref": "#/definitions/ObservedString" - }, - "type": "array" + "ipv4": { + "type": "boolean" }, - "technicalPhones": { - "items": { - "$ref": "#/definitions/ObservedString" - }, - "type": "array" + "ipv6": { + "type": "boolean" } }, - "type": "object" + "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": { - "areaCode": { - "format": "int32", - "type": "integer" - }, - "city": { - "type": "string" - }, "countryCode": { "type": "string" }, "countryName": { "type": "string" }, - "dmaCode": { - "format": "int32", - "type": "integer" + "region": { + "type": "string" }, - "latitude": { - "format": "float", - "type": "number" + "regionName": { + "type": "string" }, - "longitude": { - "format": "float", - "type": "number" + "city": { + "type": "string" }, - "metroCodeId": { - "format": "int32", - "type": "integer" + "areaCode": { + "type": "integer", + "format": "int32" }, "postalCode": { "type": "string" }, - "region": { - "type": "string" + "latitude": { + "type": "number", + "format": "float" }, - "regionName": { - "type": "string" + "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" } }, - "type": "object" + "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": { - "description": "log analytics api key", - "type": "string" + "type": "string", + "description": "log analytics api key" }, "workspaceId": { - "description": "log analytics workspace id", - "type": "string" + "type": "string", + "description": "log analytics workspace id" } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/DataConnectionProperties" + } + ] }, "ObservedBoolean": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { + "value": { "type": "boolean" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "value": { - "type": "boolean" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] }, "ObservedHeader": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, "headerName": { "type": "string" }, "headerValue": { "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { - "type": "boolean" } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] }, "ObservedInteger": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { - "type": "boolean" + "value": { + "type": "integer", + "format": "int32" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "value": { - "format": "int32", - "type": "integer" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] }, "ObservedIntegers": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { - "type": "boolean" + "values": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "values": { - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] }, "ObservedLocation": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { - "type": "boolean" + "value": { + "$ref": "#/definitions/Location" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "value": { - "$ref": "#/definitions/Location" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] }, "ObservedLong": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" - }, - "recent": { - "type": "boolean" + "value": { + "type": "integer", + "format": "int64" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "value": { - "format": "int64", - "type": "integer" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] }, "ObservedPortState": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", - "type": "string" + "value": { + "$ref": "#/definitions/ObservedPortStateValue" }, "port": { - "format": "int32", - "type": "integer" - }, - "recent": { - "type": "boolean" - }, - "value": { - "enum": [ - "open", - "closed", - "filtered" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ObservedPortStateValue" - } + "type": "integer", + "format": "int32" } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/ObservedValue" + } + ] + }, + "ObservedPortStateValue": { + "type": "string", + "enum": [ + "open", + "closed", + "filtered" + ], + "x-ms-enum": { + "name": "ObservedPortStateValue", + "modelAsString": true + } }, "ObservedString": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "lastSeen": { - "format": "date-time", + "value": { "type": "string" }, - "recent": { - "type": "boolean" - }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "value": { - "type": "string" + "x-ms-identifiers": [] } }, - "type": "object" + "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": { - "host": { + "url": { + "type": "string", + "format": "uri" + }, + "httpMethod": { "type": "string" }, - "asns": { + "service": { + "type": "string" + }, + "ipAddresses": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "assetSecurityPolicies": { + "successful": { + "type": "array", "items": { - "$ref": "#/definitions/AssetSecurityPolicy" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "attributes": { + "httpResponseCodes": { + "type": "array", "items": { - "$ref": "#/definitions/Attribute" + "$ref": "#/definitions/ObservedInteger" }, - "type": "array" + "x-ms-identifiers": [] }, - "cause": { - "$ref": "#/definitions/PageCause" - }, - "cdns": { + "httpResponseMessages": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "charsets": { + "responseTimes": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "cnames": { + "frames": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "contentLengths": { + "windows": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLong" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "contentTypes": { + "nonHtmlFrames": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] }, - "cookies": { + "undirectedContent": { + "type": "array", "items": { - "$ref": "#/definitions/Cookie" + "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" - }, - "count": { - "format": "int64", - "type": "integer" - }, - "domain": { - "type": "string" - }, - "domainAsset": { - "$ref": "#/definitions/DomainAsset" + "x-ms-identifiers": [] }, - "errors": { + "contentTypes": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "finalAsns": { + "contentLengths": { + "type": "array", "items": { "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "finalIpAddresses": { + "windowNames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "finalIpBlocks": { + "charsets": { + "type": "array", "items": { - "$ref": "#/definitions/IpBlock" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "finalResponseCodes": { + "titles": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedInteger" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "finalUrls": { + "languages": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" - }, - "firstSeen": { - "format": "date-time", - "type": "string" + "x-ms-identifiers": [] }, - "frames": { + "responseHeaders": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/ObservedHeader" }, - "type": "array" + "x-ms-identifiers": [] }, - "fullDomMinhashSignatures": { + "cookies": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedIntegers" + "$ref": "#/definitions/Cookie" }, - "type": "array" + "x-ms-identifiers": [] }, - "gdprAssetSecurityPolicies": { + "webComponents": { + "type": "array", "items": { - "$ref": "#/definitions/AssetSecurityPolicy" + "$ref": "#/definitions/WebComponent" }, - "type": "array" + "x-ms-identifiers": [] }, - "guids": { + "attributes": { + "type": "array", "items": { - "$ref": "#/definitions/GuidPair" + "$ref": "#/definitions/Attribute" }, - "type": "array" + "x-ms-identifiers": [] }, - "httpMethod": { - "type": "string" + "assetSecurityPolicies": { + "type": "array", + "items": { + "$ref": "#/definitions/AssetSecurityPolicy" + }, + "x-ms-identifiers": [] }, - "httpResponseCodes": { + "responseBodyMinhashSignatures": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedInteger" + "$ref": "#/definitions/ObservedIntegers" }, - "type": "array" + "x-ms-identifiers": [] }, - "httpResponseMessages": { + "fullDomMinhashSignatures": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/ObservedIntegers" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipAddresses": { + "responseBodyHashSignatures": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipBlocks": { + "errors": { + "type": "array", "items": { - "$ref": "#/definitions/IpBlock" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipv4": { + "sslCerts": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/SslCertAsset" }, - "type": "array" + "x-ms-identifiers": [] }, - "ipv6": { + "sources": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] }, - "isRootUrl": { - "type": "boolean" + "firstSeen": { + "type": "string", + "format": "date-time" }, - "languages": { + "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" }, - "type": "array" + "x-ms-identifiers": [] }, - "lastSeen": { - "format": "date-time", - "type": "string" + "redirectType": { + "$ref": "#/definitions/PageAssetRedirectType" }, - "location": { + "finalUrls": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedLocation" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "nonHtmlFrames": { + "finalResponseCodes": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/ObservedInteger" }, - "type": "array" + "x-ms-identifiers": [] }, "parkedPage": { + "type": "array", "items": { "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" - }, - "redirectType": { - "enum": [ - "httpHeader", - "metaRefresh", - "javascript", - "final" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "PageAssetRedirectType" - } - }, - "redirectUrls": { - "items": { - "$ref": "#/definitions/ObservedString" - }, - "type": "array" - }, - "referrer": { - "type": "string" + "x-ms-identifiers": [] }, "resourceUrls": { + "type": "array", "items": { "$ref": "#/definitions/ResourceUrl" }, - "type": "array" + "x-ms-identifiers": [] }, - "responseBodies": { + "guids": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/GuidPair" }, - "type": "array" + "x-ms-identifiers": [] }, - "responseBodyHashSignatures": { + "finalIpAddresses": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "responseBodyMinhashSignatures": { + "asns": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedIntegers" + "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "responseHeaders": { + "ipBlocks": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedHeader" + "$ref": "#/definitions/IpBlock" }, - "type": "array" + "x-ms-identifiers": [] }, - "responseTimes": { + "finalAsns": { + "type": "array", "items": { "$ref": "#/definitions/ObservedLong" }, - "type": "array" + "x-ms-identifiers": [] }, - "rootUrl": { - "$ref": "#/definitions/ObservedBoolean" + "finalIpBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/IpBlock" + }, + "x-ms-identifiers": [] }, - "service": { - "type": "string" - }, - "services": { + "responseBodies": { + "type": "array", "items": { - "$ref": "#/definitions/Service" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "siteStatus": { - "type": "string" + "domainAsset": { + "$ref": "#/definitions/DomainAsset" }, - "sources": { - "items": { - "$ref": "#/definitions/Source" - }, - "type": "array" + "rootUrl": { + "$ref": "#/definitions/ObservedBoolean" }, - "sslCerts": { - "items": { - "$ref": "#/definitions/SslCertAsset" - }, - "type": "array" + "isRootUrl": { + "type": "boolean" }, - "sslServerConfig": { + "location": { + "type": "array", "items": { - "$ref": "#/definitions/SslServerConfig" + "$ref": "#/definitions/ObservedLocation" }, - "type": "array" + "x-ms-identifiers": [] }, - "successful": { + "services": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/Service" }, - "type": "array" + "x-ms-identifiers": [] }, - "titles": { + "siteStatus": { + "type": "string" + }, + "cnames": { + "type": "array", "items": { "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "undirectedContent": { + "cdns": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedBoolean" + "$ref": "#/definitions/ObservedString" }, - "type": "array" + "x-ms-identifiers": [] }, - "url": { + "host": { "type": "string" }, - "webComponents": { + "domain": { + "type": "string" + }, + "sslServerConfig": { + "type": "array", "items": { - "$ref": "#/definitions/WebComponent" + "$ref": "#/definitions/SslServerConfig" }, - "type": "array" + "x-ms-identifiers": [] }, - "windowNames": { + "gdprAssetSecurityPolicies": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/AssetSecurityPolicy" }, - "type": "array" + "x-ms-identifiers": [] }, - "windows": { + "ipv4": { + "type": "array", + "items": { + "$ref": "#/definitions/ObservedBoolean" + }, + "x-ms-identifiers": [] + }, + "ipv6": { + "type": "array", "items": { "$ref": "#/definitions/ObservedBoolean" }, - "type": "array" + "x-ms-identifiers": [] } }, - "type": "object" + "allOf": [ + { + "$ref": "#/definitions/InventoryAsset" + } + ] + }, + "PageAssetRedirectType": { + "type": "string", + "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" @@ -4410,693 +4598,897 @@ "causeElementXPath": { "type": "string" }, - "domChangeIndex": { - "format": "int32", - "type": "integer" - }, "location": { "type": "string" }, + "possibleMatches": { + "type": "integer", + "format": "int32" + }, "loopDetected": { "type": "boolean" }, - "possibleMatches": { - "format": "int32", - "type": "integer" - }, "version": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" + }, + "domChangeIndex": { + "type": "integer", + "format": "int32" } - }, - "type": "object" + } }, - "Port": { + "PagedAssetResource": { + "type": "object", + "description": "Paged collection of AssetResource items", "properties": { - "count": { - "format": "int64", - "type": "integer" + "value": { + "type": "array", + "description": "The AssetResource items on this page", + "items": { + "$ref": "#/definitions/AssetResource" + } }, - "firstSeen": { - "format": "date-time", - "type": "string" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" }, - "lastSeen": { - "format": "date-time", - "type": "string" + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." }, - "port": { - "format": "int32", - "type": "integer" + "mark": { + "type": "string", + "description": "The cursor mark to be used on the next request. Not set if using paging." } }, - "type": "object" + "required": [ + "value" + ] }, - "ReportAssetSnapshotRequest": { - "description": "A request body used to retrieve an asset report snapshot.", + "PagedDataConnection": { + "type": "object", + "description": "Paged collection of DataConnection items", "properties": { - "labelName": { - "description": "The name of the label to retrieve a snapshot for.", - "type": "string" - }, - "metric": { - "description": "The metric to retrieve a snapshot for.", - "type": "string" + "value": { + "type": "array", + "description": "The DataConnection items on this page", + "items": { + "$ref": "#/definitions/DataConnection" + } }, - "page": { - "description": "The page to retrieve.", - "format": "int32", - "type": "integer" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" }, - "size": { - "description": "The number of assets per page.", - "format": "int32", - "type": "integer" + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." } }, - "type": "object" + "required": [ + "value" + ] }, - "ReportAssetSnapshotResponse": { - "description": "A snapshot of assets captured daily for the provided metric. Asset details only contain primary properties. Detailed asset data can be retrieved from the asset endpoints.", + "PagedDiscoGroup": { + "type": "object", + "description": "Paged collection of DiscoGroup items", "properties": { - "assets": { - "$ref": "#/definitions/AssetPageResponse" - }, - "description": { - "description": "A description of what the metric represents.", - "type": "string" - }, - "displayName": { - "description": "The name of the metric.", - "type": "string" - }, - "labelName": { - "description": "The customer label that was filtered on, if one was provided.", - "type": "string" + "value": { + "type": "array", + "description": "The DiscoGroup items on this page", + "items": { + "$ref": "#/definitions/DiscoGroup" + } }, - "metric": { - "description": "The unique metric name.", - "type": "string" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" }, - "updatedAt": { - "description": "The last time this asset data was updated on this metric.", - "format": "date-time", - "type": "string" + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." } }, - "type": "object" + "required": [ + "value" + ] }, - "ReportAssetSummaryRequest": { - "description": "A request body used to retrieve summary asset information. One and only one collection of summary identifiers must be provided: filters, metrics, or metricCategories.", + "PagedDiscoTemplate": { + "type": "object", + "description": "Paged collection of DiscoTemplate items", "properties": { - "filters": { - "description": "Query filters to apply to the asset summary.", - "items": { - "type": "string" - }, - "type": "array" - }, - "groupBy": { - "description": "A parameter to group the assets by (first level facet field), only used when the chosen summary identifier is filters.", - "type": "string" - }, - "labelName": { - "description": "Currently unused.", - "type": "string" - }, - "metricCategories": { - "description": "Categories to retrieve risk reporting data for.", + "value": { + "type": "array", + "description": "The DiscoTemplate items on this page", "items": { - "type": "string" - }, - "type": "array" + "$ref": "#/definitions/DiscoTemplate" + } }, - "metrics": { - "description": "Metrics to retrieve risk reporting data for.", - "items": { - "type": "string" - }, - "type": "array" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" }, - "segmentBy": { - "description": "A parameter to segment the assets by (second level facet field), only used when the chosen summary identifier is filters.", - "type": "string" + "totalElements": { + "type": "integer", + "format": "int64", + "description": "The total number of items available in the full result set." } }, - "type": "object" + "required": [ + "value" + ] }, - "ReportAssetSummaryResponse": { + "PagedSavedFilter": { + "type": "object", + "description": "Paged collection of SavedFilter items", "properties": { - "assetSummaries": { - "description": "The collection of asset summaries.", + "value": { + "type": "array", + "description": "The SavedFilter items on this page", "items": { - "$ref": "#/definitions/AssetSummaryResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReportBillableAssetBreakdown": { - "description": "The breakdown of billable asset counts for each asset type.", - "properties": { - "count": { - "description": "The number of assets of this type.", - "format": "int64", - "type": "integer" - }, - "kind": { - "description": "The kind of billable asset.", - "enum": [ - "domain", - "host", - "ipAddress" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ReportBillableAssetBreakdownKind" + "$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." } }, - "type": "object" + "required": [ + "value" + ] }, - "ReportBillableAssetSnapshotResponse": { + "PagedTask": { + "type": "object", + "description": "Paged collection of Task items", "properties": { - "assetBreakdown": { - "description": "The breakdown of billable asset counts for each asset type.", + "value": { + "type": "array", + "description": "The Task items on this page", "items": { - "$ref": "#/definitions/ReportBillableAssetBreakdown" - }, - "type": "array" + "$ref": "#/definitions/Task" + } }, - "date": { - "description": "The date these assets were billed on.", - "format": "date", - "type": "string" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" }, - "total": { - "description": "The total number of billable assets for this date.", + "totalElements": { + "type": "integer", "format": "int64", - "type": "integer" + "description": "The total number of items available in the full result set." } }, - "type": "object" + "required": [ + "value" + ] }, - "ReportBillableAssetSummaryResponse": { + "Port": { + "type": "object", "properties": { - "assetSummaries": { + "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": { - "$ref": "#/definitions/ReportBillableAssetSnapshotResponse" - }, - "type": "array" + "type": "string" + } } - }, - "type": "object" + } }, - "Reputation": { + "ReportAssetSnapshotRequest": { + "type": "object", + "description": "A request body used to retrieve an asset report snapshot.", "properties": { - "cidr": { - "type": "string" + "metric": { + "type": "string", + "description": "The metric to retrieve a snapshot for." }, - "firstSeen": { - "format": "date-time", - "type": "string" + "labelName": { + "type": "string", + "description": "The name of the label to retrieve a snapshot for." }, - "lastSeen": { - "format": "date-time", - "type": "string" + "size": { + "type": "integer", + "format": "int32", + "description": "The number of assets per page." }, - "listName": { - "type": "string" + "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." }, - "listUpdatedAt": { - "format": "date-time", - "type": "string" + "metric": { + "type": "string", + "description": "The unique metric name." }, - "recent": { - "type": "boolean" + "labelName": { + "type": "string", + "description": "The customer label that was filtered on, if one was provided." }, - "threatType": { - "type": "string" + "updatedAt": { + "type": "string", + "format": "date-time", + "description": "The last time this asset data was updated on this metric." }, - "trusted": { - "type": "boolean" + "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." } - }, - "type": "object" + } }, - "ResourceUrl": { + "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": { - "count": { - "format": "int64", - "type": "integer" + "metricCategories": { + "type": "array", + "description": "Categories to retrieve risk reporting data for.", + "items": { + "type": "string" + } }, - "firstSeen": { - "format": "date-time", - "type": "string" + "metrics": { + "type": "array", + "description": "Metrics to retrieve risk reporting data for.", + "items": { + "type": "string" + } }, - "lastSeen": { - "format": "date-time", - "type": "string" + "filters": { + "type": "array", + "description": "Query filters to apply to the asset summary.", + "items": { + "type": "string" + } }, - "recent": { - "type": "boolean" + "groupBy": { + "type": "string", + "description": "A parameter to group the assets by (first level facet field), only used when the chosen summary identifier is filters." }, - "resources": { + "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/DependentResource" + "$ref": "#/definitions/AssetSummaryResult" }, - "type": "array" + "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." }, - "url": { - "type": "string" + "count": { + "type": "integer", + "format": "int64", + "description": "The number of assets of this type." } - }, - "type": "object" + } + }, + "ReportBillableAssetBreakdownKind": { + "type": "string", + "description": "The kind of billable asset.", + "enum": [ + "domain", + "host", + "ipAddress" + ], + "x-ms-enum": { + "name": "ReportBillableAssetBreakdownKind", + "modelAsString": true + } }, - "SavedFilterPageResponse": { + "ReportBillableAssetSnapshotResult": { + "type": "object", "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", - "type": "string" + "date": { + "type": "string", + "format": "date", + "description": "The date these assets were billed on." }, - "totalElements": { - "description": "The total number of items available in the full result set.", + "total": { + "type": "integer", "format": "int64", - "type": "integer" + "description": "The total number of billable assets for this date." }, - "value": { - "description": "The items in the current page of results.", + "assetBreakdown": { + "type": "array", + "description": "The breakdown of billable asset counts for each asset type.", "items": { - "$ref": "#/definitions/SavedFilterResponse" + "$ref": "#/definitions/ReportBillableAssetBreakdown" }, - "type": "array" + "x-ms-identifiers": [] } - }, - "required": [ - "value" - ], - "type": "object" + } }, - "SavedFilterRequest": { - "description": "A request body used to create a saved filter.", + "ReportBillableAssetSummaryResult": { + "type": "object", "properties": { - "description": { - "description": "A human readable description of the saved filter.", - "type": "string" - }, - "filter": { - "description": "An expression on the resource type that selects the resources to be returned.", - "type": "string" + "assetSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/ReportBillableAssetSnapshotResult" + }, + "x-ms-identifiers": [] } - }, - "required": [ - "description", - "filter" - ], - "type": "object" + } }, - "SavedFilterResponse": { + "Reputation": { + "type": "object", "properties": { - "description": { + "listName": { "type": "string" }, - "displayName": { - "description": "The name that can be used for display purposes.", + "threatType": { "type": "string" }, - "filter": { - "type": "string" + "trusted": { + "type": "boolean" }, - "id": { - "description": "The system generated unique id for the resource.", + "cidr": { "type": "string" }, - "name": { - "description": "The caller provided unique name for the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ScanMetadata": { - "properties": { - "bannerMetadata": { - "type": "string" + "firstSeen": { + "type": "string", + "format": "date-time" }, - "endScan": { - "format": "date-time", - "type": "string" + "lastSeen": { + "type": "string", + "format": "date-time" }, - "port": { - "format": "int32", - "type": "integer" + "listUpdatedAt": { + "type": "string", + "format": "date-time" }, - "startScan": { - "format": "date-time", - "type": "string" + "recent": { + "type": "boolean" } - }, - "type": "object" + } }, - "Service": { + "ResourceUrl": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" + "url": { + "type": "string", + "format": "uri" }, - "exceptions": { + "resources": { + "type": "array", "items": { - "$ref": "#/definitions/ObservedString" + "$ref": "#/definitions/DependentResource" }, - "type": "array" + "x-ms-identifiers": [] }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" - }, - "port": { - "format": "int32", - "type": "integer" + "type": "string", + "format": "date-time" }, - "portStates": { - "items": { - "$ref": "#/definitions/ObservedPortState" - }, - "type": "array" + "count": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" + } + } + }, + "SavedFilter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The system generated unique id for the resource." }, - "scheme": { - "type": "string" - }, - "sources": { + "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/Source" + "$ref": "#/definitions/WebComponent" }, - "type": "array" + "x-ms-identifiers": [] }, "sslCerts": { + "type": "array", "items": { "$ref": "#/definitions/SslCertAsset" }, - "type": "array" + "x-ms-identifiers": [] }, - "webComponents": { + "exceptions": { + "type": "array", "items": { - "$ref": "#/definitions/WebComponent" + "$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" }, - "type": "array" + "x-ms-identifiers": [] } - }, - "type": "object" + } }, "SoaRecord": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" + "nameServer": { + "type": "string" }, "email": { "type": "string" }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "nameServer": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" + }, + "serialNumber": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" - }, - "serialNumber": { - "format": "int64", - "type": "integer" } - }, - "type": "object" + } }, "Source": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" + "source": { + "type": "string" }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "reason": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" }, - "source": { + "reason": { "type": "string" } - }, - "type": "object" + } }, "SslCertAsset": { + "type": "object", "properties": { - "certificateAuthority": { - "type": "boolean" - }, - "count": { - "format": "int64", - "type": "integer" - }, - "firstSeen": { - "format": "date-time", - "type": "string" - }, - "invalidAfter": { - "format": "date-time", - "type": "string" - }, - "invalidBefore": { - "format": "date-time", + "sha1": { "type": "string" }, - "issuerAlternativeNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "issuerCommonNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "issuerCountry": { - "items": { - "type": "string" - }, - "type": "array" - }, - "issuerLocality": { + "subjectCommonNames": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "issuerOrganizationalUnits": { + "organizations": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "issuerOrganizations": { + "organizationalUnits": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "issuerState": { + "issuerCommonNames": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "keyAlgorithm": { + "sigAlgName": { "type": "string" }, - "keySize": { - "format": "int32", - "type": "integer" + "invalidAfter": { + "type": "string", + "format": "date-time" }, - "lastSeen": { - "format": "date-time", + "serialNumber": { "type": "string" }, - "organizationalUnits": { + "subjectAlternativeNames": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "organizations": { + "issuerAlternativeNames": { + "type": "array", "items": { "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] }, - "recent": { - "type": "boolean" + "firstSeen": { + "type": "string", + "format": "date-time" }, - "selfSigned": { - "type": "boolean" + "lastSeen": { + "type": "string", + "format": "date-time" }, - "serialNumber": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" }, - "sha1": { - "type": "string" + "invalidBefore": { + "type": "string", + "format": "date-time" }, - "sigAlgName": { - "type": "string" + "keySize": { + "type": "integer", + "format": "int32" }, - "sigAlgOid": { + "keyAlgorithm": { "type": "string" }, - "sources": { + "subjectLocality": { + "type": "array", "items": { - "$ref": "#/definitions/Source" - }, - "type": "array" + "type": "string" + } }, - "subjectAlternativeNames": { + "subjectState": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "subjectCommonNames": { + "subjectCountry": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "subjectCountry": { + "issuerLocality": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "subjectLocality": { + "issuerState": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "subjectOrganizationalUnits": { + "issuerCountry": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, "subjectOrganizations": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "subjectState": { + "subjectOrganizationalUnits": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "validationType": { - "enum": [ - "domainValidation", - "organizationValidation", - "extendedValidation" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "SslCertAssetValidationType" + "issuerOrganizations": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuerOrganizationalUnits": { + "type": "array", + "items": { + "type": "string" } }, "version": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" + }, + "certificateAuthority": { + "type": "boolean" + }, + "selfSigned": { + "type": "boolean" + }, + "sigAlgOid": { + "type": "string" + }, + "recent": { + "type": "boolean" + }, + "validationType": { + "$ref": "#/definitions/SslCertAssetValidationType" } }, - "type": "object" + "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", + "enum": [ + "domainValidation", + "organizationValidation", + "extendedValidation" + ], + "x-ms-enum": { + "name": "SslCertAssetValidationType", + "modelAsString": true + } }, "SslServerConfig": { + "type": "object", "properties": { - "cipherSuites": { + "tlsVersions": { + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "count": { - "format": "int64", - "type": "integer" + "cipherSuites": { + "type": "array", + "items": { + "type": "string" + } }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" + }, + "count": { + "type": "integer", + "format": "int64" }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" - }, - "tlsVersions": { - "items": { - "type": "string" - }, - "type": "array" + "x-ms-identifiers": [] } - }, - "type": "object" + } }, "SubResourceIntegrityCheck": { + "type": "object", "properties": { - "causePageUrl": { - "type": "string" + "violation": { + "type": "boolean" }, - "count": { - "format": "int64", - "type": "integer" + "firstSeen": { + "type": "string", + "format": "date-time" }, - "crawlGuid": { - "type": "string" + "lastSeen": { + "type": "string", + "format": "date-time" }, - "expectedHash": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" }, - "firstSeen": { - "format": "date-time", + "causePageUrl": { "type": "string" }, - "lastSeen": { - "format": "date-time", + "crawlGuid": { "type": "string" }, "pageGuid": { @@ -5105,552 +5497,246 @@ "resourceGuid": { "type": "string" }, - "violation": { - "type": "boolean" + "expectedHash": { + "type": "string" } - }, - "type": "object" + } }, - "TaskPageResponse": { + "Task": { + "type": "object", "properties": { - "nextLink": { - "description": "The link to access the next page of results. Not set if at the end of the result set.", - "type": "string" + "id": { + "type": "string", + "description": "The unique identifier of the task.", + "readOnly": true }, - "totalElements": { - "description": "The total number of items available in the full result set.", - "format": "int64", - "type": "integer" + "startedAt": { + "type": "string", + "format": "date-time", + "description": "The time the task started." }, - "value": { - "description": "The items in the current page of results.", - "items": { - "$ref": "#/definitions/TaskResponse" - }, - "type": "array" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "TaskResponse": { - "properties": { "completedAt": { - "description": "The time the task completed.", + "type": "string", "format": "date-time", - "type": "string" - }, - "id": { - "description": "The unique identifier of the task.", - "type": "string" + "description": "The time the task completed." }, "lastPolledAt": { - "description": "The last time the status of the task was updated.", + "type": "string", "format": "date-time", - "type": "string" + "description": "The last time the status of the task was updated." }, - "metadata": { - "additionalProperties": {}, - "description": "Attributes unique to the task. This differs by task type.", - "type": "object" + "state": { + "$ref": "#/definitions/TaskState", + "description": "The state the task is in." }, "phase": { - "description": "The phase the task is in.", - "enum": [ - "running", - "polling", - "complete" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "TaskResponsePhase" - } + "$ref": "#/definitions/TaskPhase", + "description": "The phase the task is in." }, "reason": { - "description": "The reason the task was moved into its current state, if the task wasn't completed.", - "type": "string" - }, - "startedAt": { - "description": "The time the task started.", - "format": "date-time", - "type": "string" + "type": "string", + "description": "The reason the task was moved into its current state, if the task wasn't completed." }, - "state": { - "description": "The state the task is in.", - "enum": [ - "pending", - "running", - "paused", - "complete", - "incomplete", - "failed", - "warning" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "TaskResponseState" - } + "metadata": { + "type": "object", + "description": "Attributes unique to the task. This differs by task type.", + "additionalProperties": {} } }, - "type": "object" + "required": [ + "id" + ] + }, + "TaskPhase": { + "type": "string", + "description": "The phase the task is in.", + "enum": [ + "running", + "polling", + "complete" + ], + "x-ms-enum": { + "name": "TaskPhase", + "modelAsString": true + } }, - "ValidateResponse": { + "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", "properties": { "error": { - "$ref": "#/definitions/ErrorDetail" + "$ref": "#/definitions/ErrorDetail", + "description": "This is the top-level error object whose code matches the x-ms-error-code response header." } - }, - "type": "object" + } + }, + "Versions": { + "type": "string", + "description": "The EASM Defender service version.", + "enum": [ + "2023-03-01-preview" + ], + "x-ms-enum": { + "name": "Versions", + "modelAsString": true, + "values": [ + { + "name": "v2023_03_01_preview", + "value": "2023-03-01-preview", + "description": "Version 2023-03-01-preview" + } + ] + } }, "WebComponent": { + "type": "object", "properties": { - "count": { - "format": "int64", - "type": "integer" + "name": { + "type": "string" }, - "cve": { - "items": { - "$ref": "#/definitions/Cve" - }, - "type": "array" + "type": { + "type": "string" }, - "endOfLife": { - "format": "int64", - "type": "integer" + "version": { + "type": "string" + }, + "ruleId": { + "type": "array", + "items": { + "type": "string" + } }, "firstSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, "lastSeen": { - "format": "date-time", - "type": "string" + "type": "string", + "format": "date-time" }, - "name": { - "type": "string" + "count": { + "type": "integer", + "format": "int64" }, - "ports": { + "cve": { + "type": "array", "items": { - "$ref": "#/definitions/Port" + "$ref": "#/definitions/Cve" }, - "type": "array" + "x-ms-identifiers": [] + }, + "endOfLife": { + "type": "integer", + "format": "int64" }, "recent": { "type": "boolean" }, - "ruleId": { + "ports": { + "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Port" }, - "type": "array" - }, - "service": { - "type": "string" + "x-ms-identifiers": [] }, "sources": { + "type": "array", "items": { "$ref": "#/definitions/Source" }, - "type": "array" + "x-ms-identifiers": [] }, - "type": { - "type": "string" - }, - "version": { + "service": { "type": "string" } - }, - "type": "object" - }, - "AsAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/AsAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "as" - }, - "ContactAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/ContactAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "contact" - }, - "DomainAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/DomainAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "domain" - }, - "HostAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/HostAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "host" - }, - "IpAddressAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/IpAddressAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "ipAddress" - }, - "IpBlockAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/IpBlockAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "ipBlock" - }, - "PageAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/PageAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "page" - }, - "SslCertAssetResponse": { - "required": [ - "asset" - ], - "type": "object", - "properties": { - "asset": { - "$ref": "#/definitions/SslCertAsset" - } - }, - "allOf": [ - { - "$ref": "#/definitions/AssetResponse" - } - ], - "x-ms-discriminator-value": "sslCert" - }, - "LogAnalyticsDataConnectionResponse": { - "required": [ - "properties" - ], - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LogAnalyticsDataConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnectionResponse" - } - ], - "x-ms-discriminator-value": "logAnalytics" - }, - "LogAnalyticsDataConnectionRequest": { - "required": [ - "properties" - ], - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LogAnalyticsDataConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnectionRequest" - } - ], - "x-ms-discriminator-value": "logAnalytics" - }, - "AzureDataExplorerDataConnectionResponse": { - "required": [ - "properties" - ], - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/AzureDataExplorerDataConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnectionResponse" - } - ], - "x-ms-discriminator-value": "azureDataExplorer" - }, - "AzureDataExplorerDataConnectionRequest": { - "required": [ - "properties" - ], - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/AzureDataExplorerDataConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnectionRequest" - } - ], - "x-ms-discriminator-value": "azureDataExplorer" - } - }, - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "type": "oauth2" + } } }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "description": "Provides access to inventory assets.", - "name": "Assets" - }, - { - "description": "Provides access to data connection resources.", - "name": "Data Connections" - }, - { - "description": "Provides access to discovery resources.", - "name": "Discovery Groups" - }, - { - "description": "Provides access to disco template resources.", - "name": "Discovery Templates" - }, - { - "description": "Provides access to reporting data.", - "name": "Reports" - }, - { - "description": "Provides access to saved filter resources.", - "name": "Saved Filters" - }, - { - "description": "Provides access to task resources.", - "name": "Tasks" - } - ], "parameters": { - "ApiVersionParameter": { - "description": "The API version to use for this operation.", + "Azure.Core.FilterQueryParameter": { + "name": "filter", "in": "query", - "name": "api-version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "AssetIdParameter": { - "description": "The unique identifier for the asset. Ids are formatted as '$$' and can optionally be Base64 encoded if they contain special characters.", - "in": "path", - "name": "assetId", - "required": true, + "description": "Filter the result list using the given expression.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, - "DataConnectionNameParameter": { - "description": "The unique identifier for the data connection.", - "in": "path", - "name": "dataConnectionName", + "Azure.Core.Foundations.ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for this operation.", "required": true, "type": "string", - "x-ms-parameter-location": "method" + "minLength": 1, + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" }, - "DiscoGroupNameParameter": { - "description": "The unique identifier for the discovery group.", - "in": "path", - "name": "groupName", - "required": true, - "type": "string", + "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" }, - "DiscoTemplateIdParameter": { - "description": "The unique identifier for the disco template.", - "in": "path", - "name": "templateId", - "required": true, - "type": "string", + "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" }, - "EndpointParameter": { - "name": "endpoint", - "description": "The endpoint hosting the requested resource. For example, {region}.easm.defender.microsoft.com.", + "DiscoGroupNameParameter": { + "name": "groupName", "in": "path", + "description": "The unique identifier for the discovery group.", "required": true, "type": "string", - "x-ms-parameter-location": "client" - }, - "FilterParameter": { - "description": "An expression on the resource type that selects the resources to be returned.", - "in": "query", - "name": "filter", - "required": false, - "type": "string", "x-ms-parameter-location": "method" }, "MarkParameter": { - "description": "Specify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response.", - "in": "query", "name": "mark", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "MaxPageSizeParameter": { - "default": 20, - "description": "The maximum number of items to include in a single response.", - "format": "int32", "in": "query", - "name": "maxpagesize", + "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": "integer", + "type": "string", "x-ms-parameter-location": "method" }, "OrderByParameter": { - "description": "A list of expressions that specify the order of the returned resources.", - "in": "query", "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" }, - "ResourceGroupNameParameter": { - "description": "The name of the Resource Group.", - "in": "path", - "name": "resourceGroupName", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "SavedFilterNameParameter": { - "description": "The unique identifier for the saved filter.", - "in": "path", - "name": "filterName", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SkipParameter": { - "default": 0, - "description": "An offset into the collection of the first item to be returned.", - "format": "int32", + "RequiredFilterParameter": { + "name": "filter", "in": "query", - "name": "skip", - "required": false, - "type": "integer", - "x-ms-parameter-location": "method" - }, - "SubscriptionIdParameter": { - "description": "The ID of the target subscription.", - "in": "path", - "name": "subscriptionId", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "TaskIdParameter": { - "description": "The unique identifier for the task.", - "in": "path", - "name": "taskId", + "description": "An expression on the resource type that selects the resources to be returned.", "required": true, "type": "string", "x-ms-parameter-location": "method" - }, - "WorkspaceNameParameter": { - "description": "The name of the Workspace.", - "in": "path", - "name": "workspaceName", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" } } } diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..abbe10e5ab3e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_GetAssetResource_MaximumSet_Gen.json @@ -0,0 +1,1040 @@ +{ + "operationId": "Assets_GetAssetResource", + "title": "Assets_GetAssetResource", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "assetId": "aG9zdCQkY29udG9zby5jb20" + }, + "responses": { + "200": { + "body": { + "id": "host$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "contoso.com", + "domain": "contoso.com", + "ipAddresses": [ + { + "value": "10.199.146.85", + "firstSeen": "2022-12-09T06:01:35.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-06-24T05:01:12.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "10.212.81.71", + "firstSeen": "2018-06-13T18:06:10.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234, + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2020-07-23T05:20:23.000+00:00", + "lastSeen": "2020-07-23T05:20:23.000+00:00", + "count": 1234 + } + ] + } + ], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "firstSeen": "2020-02-29T03:51:55.275+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "cve": [], + "recent": true, + "ports": [ + { + "port": 80, + "firstSeen": "2020-04-08T07:10:44.930+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "port": 443, + "firstSeen": "2020-04-07T17:59:19.283+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "sources": [ + { + "source": "crawls", + "firstSeen": "2020-08-06T20:21:27.703+00:00", + "lastSeen": "2022-12-09T06:00:53.930+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2020-08-06T02:28:33.236+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ] + } + ], + "headers": [ + { + "headerName": "Header Name", + "headerValue": "Header Value", + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T05:10:03.806+00:00", + "recent": true + } + ], + "attributes": [ + { + "attributeType": "address", + "attributeValue": "10.199.146.85", + "sources": [], + "firstSeen": "2020-07-23T07:37:52.665+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "recent": true + }, + { + "attributeType": "address", + "attributeValue": "10.212.81.71", + "sources": [], + "firstSeen": "2019-05-19T08:50:37.874+00:00", + "lastSeen": "2020-07-23T02:27:41.191+00:00" + } + ], + "cookies": [ + { + "cookieName": "Cookie Name", + "cookieDomain": "contoso.com", + "firstSeen": "2018-12-06T09:03:51.282+00:00", + "lastSeen": "2018-12-06T09:03:51.282+00:00" + } + ], + "sslCerts": [ + { + "sha1": "dc4ef4faa2af9c9bb7da4a484ce1103ea982cbe5", + "subjectCommonNames": [ + "contoso.com" + ], + "organizations": [ + "Contoso" + ], + "organizationalUnits": [], + "issuerCommonNames": [ + "GeoTrust RSA CA 2018" + ], + "sigAlgName": "SHA256withRSA", + "invalidAfter": "2023-09-06T23:59:59.000+00:00", + "serialNumber": "63fd8684b6071ab0d1a16fbec9c9ad8", + "subjectAlternativeNames": [ + "contoso.com" + ], + "issuerAlternativeNames": [], + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "firstSeen": "2022-08-21T11:11:37.988+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "invalidBefore": "2022-08-15T00:00:00.000+00:00", + "keySize": 256, + "keyAlgorithm": "EC", + "subjectLocality": [ + "Washington" + ], + "subjectState": [], + "subjectCountry": [ + "US" + ], + "issuerLocality": [], + "issuerState": [], + "issuerCountry": [ + "US" + ], + "subjectOrganizations": [ + "Contoso" + ], + "subjectOrganizationalUnits": [], + "issuerOrganizations": [ + "Contoso" + ], + "issuerOrganizationalUnits": [ + "www.contoso.com" + ], + "version": 3, + "certificateAuthority": false, + "selfSigned": false, + "sigAlgOid": "1.2.840.113510.1.1.11", + "recent": true, + "validationType": "organizationValidation" + } + ], + "parentHosts": [ + { + "value": "contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "childHosts": [ + { + "value": "contoso.com", + "firstSeen": "2018-06-15T03:45:52.029+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "sources": [ + { + "source": "crawls", + "firstSeen": "2021-06-23T21:45:52.988+00:00", + "lastSeen": "2022-12-12T05:10:03.990+00:00", + "count": 1234 + }, + { + "source": "minicrawls", + "firstSeen": "2022-05-19T10:36:17.708+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 1234 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-08-02T15:00:00.000+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "sources": [ + { + "source": "minicrawls", + "firstSeen": "2022-01-01T23:31:17.220+00:00", + "lastSeen": "2022-08-17T10:05:28.067+00:00", + "count": 1234 + } + ] + } + ], + "hostCore": { + "host": "contoso.com", + "domain": "contoso.com", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 1234 + }, + "services": [ + { + "scheme": "unknown", + "port": 443, + "webComponents": [], + "sslCerts": [], + "exceptions": [], + "sources": [ + { + "source": "crawl", + "firstSeen": "2021-10-18T16:29:34.483+00:00", + "lastSeen": "2022-11-25T13:09:45.279+00:00", + "count": 187 + }, + { + "source": "minicrawl", + "firstSeen": "2020-06-12T07:50:52.225+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 7243 + } + ], + "firstSeen": "2018-12-20T10:34:20.531+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "recent": true, + "portStates": [ + { + "value": "open", + "port": 443, + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 10767, + "recent": true + }, + { + "value": "filtered", + "port": 443, + "firstSeen": "2021-10-07T04:56:26.000+00:00", + "lastSeen": "2022-12-01T13:26:54.000+00:00", + "count": 357, + "recent": true + } + ] + } + ], + "cnames": [], + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 44685 + }, + { + "source": "crawl", + "firstSeen": "2021-01-13T21:50:56.756+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 1028 + }, + { + "source": "crawls", + "firstSeen": "2020-06-05T18:18:19.841+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 222063 + }, + { + "source": "scans", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 11126 + }, + { + "source": "minicrawl", + "firstSeen": "2018-10-08T20:50:45.955+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 15619 + }, + { + "source": "minicrawls", + "firstSeen": "2020-06-06T12:48:22.149+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 79669 + }, + { + "source": "hostaxis", + "firstSeen": "2018-06-15T03:45:51.808+00:00", + "lastSeen": "2021-08-13T04:53:54.651+00:00", + "count": 13334 + }, + { + "source": "ssl", + "firstSeen": "2018-06-17T02:00:00.000+00:00", + "lastSeen": "2020-09-13T21:36:27.615+00:00", + "count": 261 + }, + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2019-11-11T22:31:12.000+00:00", + "count": 587 + } + ], + "firstSeen": "2022-12-03T19:40:17.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 377246, + "resourceUrls": [], + "scanMetadata": [ + { + "port": 443, + "bannerMetadata": "crawl:https", + "startScan": "2022-12-12T10:41:07.061+00:00", + "endScan": "2022-12-12T10:41:07.061+00:00" + }, + { + "port": 443, + "bannerMetadata": "crawl:https:isRootUrl:true", + "startScan": "2022-12-04T16:58:29.722+00:00", + "endScan": "2022-12-04T16:58:29.722+00:00" + }, + { + "port": 443, + "bannerMetadata": "minicrawl:https", + "startScan": "2022-10-24T13:42:10.793+00:00", + "endScan": "2022-10-24T13:42:10.793+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http", + "startScan": "2022-10-13T15:11:16.120+00:00", + "endScan": "2022-10-13T15:11:16.120+00:00" + }, + { + "port": 80, + "bannerMetadata": "crawl:http:isRootUrl:true", + "startScan": "2022-11-20T10:18:21.618+00:00", + "endScan": "2022-11-20T10:18:21.618+00:00" + }, + { + "port": 80, + "bannerMetadata": "minicrawl:http", + "startScan": "2022-10-24T13:41:29.169+00:00", + "endScan": "2022-10-24T13:41:29.169+00:00" + } + ], + "asns": [ + { + "value": 64501, + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "crawl", + "firstSeen": "2022-12-09T11:10:56.425+00:00", + "lastSeen": "2022-12-09T11:10:56.425+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "ipBlocks": [ + { + "ipBlock": "10.199.144.0/21", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 48593 + } + ], + "firstSeen": "2020-08-30T10:17:54.337+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "recent": true + }, + { + "ipBlock": "10.199.146.64/26", + "sources": [ + { + "source": "asn", + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00", + "count": 14 + } + ], + "firstSeen": "2020-08-23T09:41:13.927+00:00", + "lastSeen": "2020-08-29T20:24:52.967+00:00" + } + ], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "whoisId": 1234567890123456789, + "registrarIanaIds": [ + { + "value": 470, + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 185 + } + ], + "recent": true + }, + { + "value": "Contoso, Inc.", + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 30 + } + ] + } + ], + "adminContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "contoso@contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32033 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "contoso.com", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32032 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "contoso.com", + "firstSeen": "2018-01-13T16:05:49.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "sources": [ + { + "source": "contoso.com", + "firstSeen": "2021-07-19T05:05:53.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 32032 + }, + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "contoso.com", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 214 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1492732800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [], + "registrarExpiresAt": [ + { + "value": 1682035200000, + "firstSeen": "2022-04-07T00:36:54.333+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1650499200000, + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2021-08-28T00:00:41.330+00:00", + "lastSeen": "2022-04-07T00:36:54.333+00:00", + "count": 1 + } + ] + }, + { + "value": 1618963200000, + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2021-08-28T00:00:41.329+00:00", + "count": 1 + } + ] + }, + { + "value": 1587427200000, + "firstSeen": "2019-02-12T23:32:09.796+00:00", + "lastSeen": "2020-04-07T03:12:15.415+00:00", + "sources": [] + }, + { + "value": 1555804800000, + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2019-02-12T23:32:09.796+00:00", + "sources": [] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.com", + "email": "contoso@contoso.com", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "serialNumber": 2018061305, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-28T18:09:57.705+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 6 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 289540 + }, + { + "source": "whois", + "firstSeen": "2018-03-23T00:23:02.756+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 238 + }, + { + "source": "minicrawl", + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 11843 + } + ], + "firstSeen": "2017-09-14T07:11:50.000+00:00", + "lastSeen": "2022-12-09T23:03:46.000+00:00", + "count": 301621, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2018-12-04T17:32:53.246+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "sources": [], + "recent": true + }, + { + "value": true, + "firstSeen": "2018-12-04T04:51:40.796+00:00", + "lastSeen": "2018-12-04T04:51:40.796+00:00", + "sources": [] + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-05-19T22:53:15.634+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "11234567890", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2020-04-07T03:12:15.416+00:00", + "lastSeen": "2022-11-28T18:09:57.705+00:00", + "count": 215 + } + ], + "recent": true + } + ] + }, + "nsRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "mxRecord": [ + { + "value": false, + "firstSeen": "1970-01-01T00:00:00.000+00:00", + "lastSeen": "2022-06-09T02:16:31.488+00:00", + "sources": [] + } + ], + "webserver": [ + { + "value": true, + "firstSeen": "2018-12-17T15:37:10.672+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "sources": [ + { + "source": "10.199.146.85", + "firstSeen": "2021-04-26T02:31:46.000+00:00", + "lastSeen": "2022-12-08T07:13:29.000+00:00", + "count": 19727 + } + ], + "recent": true + } + ], + "location": [ + { + "value": { + "countryCode": "US", + "countryName": "United States", + "region": "WA", + "regionName": "Washington", + "latitude": 47.6034, + "longitude": -122.3414 + }, + "firstSeen": "2021-03-22T00:08:22.000+00:00", + "lastSeen": "2022-07-05T01:50:17.000+00:00", + "sources": [] + } + ], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [ + { + "value": true, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ], + "ipv6": [ + { + "value": false, + "firstSeen": "2021-07-16T16:57:51.472+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "sources": [ + { + "source": "Pdns.A.hostToIP", + "firstSeen": "2021-07-17T03:22:23.000+00:00", + "lastSeen": "2022-12-12T10:41:09.000+00:00", + "count": 13791 + }, + { + "source": "crawl", + "firstSeen": "2021-10-07T10:16:45.349+00:00", + "lastSeen": "2022-12-12T10:41:07.061+00:00", + "count": 822 + }, + { + "source": "minicrawl", + "firstSeen": "2021-07-17T03:22:23.537+00:00", + "lastSeen": "2022-10-24T13:42:10.793+00:00", + "count": 6313 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.960+00:00", + "updatedDate": "2022-10-10T17:33:27.960+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..6d82361df7b2 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_ListAssetResource_MaximumSet_Gen.json @@ -0,0 +1,3901 @@ +{ + "operationId": "Assets_ListAssetResource", + "title": "Assets_ListAssetResource", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filter": "state%20%3D%20%22confirmed%22", + "skip": 0, + "maxpagesize": 5 + }, + "responses": { + "200": { + "body": { + "totalElements": 50000, + "mark": null, + "nextLink": "https://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/2023-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json new file mode 100644 index 000000000000..262f8ecf7eba --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Assets_UpdateAssets_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "Assets_UpdateAssets", + "title": "Assets_UpdateAssets", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filter": "state%20%3D%20%22confirmed%22%20AND%20name%20%5E%3D%20%22contoso.com%22", + "body": { + "state": "confirmed", + "externalId": "contosoInternalId", + "labels": { + "contosoLabel": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..9dcf5d62b276 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_CreateOrReplaceDataConnection_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "operationId": "DataConnections_CreateOrReplaceDataConnection", + "title": "DataConnections_CreateOrReplaceDataConnection", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection", + "body": { + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, + "frequency": "weekly", + "frequencyOffset": 1 + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDataConnection", + "name": "ThisisaDataConnection", + "displayName": "ThisisaDataConnection", + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00", + "updatedDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..4b5a7654022a --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_DeleteDataConnection_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DataConnections_DeleteDataConnection", + "title": "DataConnections_DeleteDataConnection", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..171c09bf4eb1 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_GetDataConnection_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "operationId": "DataConnections_GetDataConnection", + "title": "DataConnections_GetDataConnection", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "dataConnectionName": "ThisisaDataConnection" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDataConnection", + "name": "ThisisaDataConnection", + "displayName": "ThisisaDataConnection", + "kind": "logAnalytics", + "frequency": "weekly", + "frequencyOffset": 1, + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00", + "updatedDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..2c8d1e3fe7f8 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_ListDataConnection_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "operationId": "DataConnections_ListDataConnection", + "title": "DataConnections_ListDataConnection", + "parameters": { + "api-version": "2023-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/2023-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json new file mode 100644 index 000000000000..bc56bf9b8d8f --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DataConnections_ValidateDataConnection_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "operationId": "DataConnections_ValidateDataConnection", + "title": "DataConnections_ValidateDataConnection", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "kind": "logAnalytics", + "properties": { + "apiKey": "ThisisApiKey", + "workspaceId": "ThisisWorkspaceId" + }, + "frequency": "weekly", + "frequencyOffset": 1, + "name": "ThisisaDataConnection" + } + }, + "responses": { + "200": { + "body": { + "error": null + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..39c06d7c71e6 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_CreateOrReplaceDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "operationId": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "title": "DiscoveryGroups_CreateOrReplaceDiscoGroup", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup", + "body": { + "description": "This is a disco group", + "frequencyMilliseconds": 604800000, + "tier": "advanced", + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ] + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDiscoGroup", + "name": "ThisisaDiscoGroup", + "displayName": "ThisisaDiscoGroup", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 604800000, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [], + "latestRun": null, + "createdDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..f71568880ea9 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_GetDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "operationId": "DiscoveryGroups_GetDiscoGroup", + "title": "DiscoveryGroups_GetDiscoGroup", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaDiscoGroup", + "name": "ThisisaDiscoGroup", + "displayName": "ThisisaDiscoGroup", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 604800000, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [], + "templateId": "123", + "latestRun": { + "startedDate": "2022-05-02T19:30:14.432+00:00", + "state": "completed" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..6e22deca3b9e --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,72 @@ +{ + "operationId": "DiscoveryGroups_ListDiscoGroup", + "title": "DiscoveryGroups_ListDiscoGroup", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 3, + "value": [ + { + "id": "ThisisaDiscoGroup", + "name": "ThisisaDiscoGroup", + "displayName": "ThisisaDiscoGroup", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 0, + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ], + "excludes": [ + { + "name": "thisisanothertest.microsoft.com", + "kind": "host" + } + ], + "templateId": "123", + "latestRun": { + "startedDate": "2022-05-02T19:30:14.432+00:00", + "state": "completed" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00" + }, + { + "id": "ThisisaDiscoGroup2", + "name": "ThisisaDiscoGroup2", + "displayName": "ThisisaDiscoGroup2", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 604800000, + "seeds": [], + "excludes": [], + "latestRun": null, + "createdDate": "2022-05-02T19:30:14.432+00:00" + }, + { + "id": "ThisisaDiscoGroup3", + "name": "ThisisaDiscoGroup3", + "displayName": "ThisisaDiscoGroup3", + "description": "This is a disco group", + "tier": "advanced", + "frequencyMilliseconds": 0, + "seeds": [], + "excludes": [], + "latestRun": { + "startedDate": "2022-05-02T19:30:14.432+00:00", + "state": "completed" + }, + "createdDate": "2022-05-02T19:30:14.432+00:00" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json new file mode 100644 index 000000000000..7f411596d88b --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ListRuns_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "operationId": "DiscoveryGroups_ListRuns", + "title": "DiscoveryGroups_ListRuns", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "200": { + "body": { + "totalElements": 45, + "nextLink": "https://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/2023-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..776ca45b1685 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_RunDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "DiscoveryGroups_RunDiscoGroup", + "title": "DiscoveryGroups_RunDiscoGroup", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..cc24a8c21dcf --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryGroups_ValidateDiscoGroup_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "operationId": "DiscoveryGroups_ValidateDiscoGroup", + "title": "DiscoveryGroups_ValidateDiscoGroup", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "groupName": "ThisisaDiscoGroup", + "body": { + "description": "This is a disco group", + "frequencyMilliseconds": 604800000, + "tier": "advanced", + "seeds": [ + { + "name": "thisisatest.microsoft.com", + "kind": "host" + } + ] + } + }, + "responses": { + "200": { + "body": { + "error": null + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json new file mode 100644 index 000000000000..f5373b9fec7b --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_GetDiscoTemplate_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "operationId": "DiscoveryTemplates_GetDiscoTemplate", + "title": "DiscoveryTemplates_GetDiscoTemplate", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "templateId": "12345" + }, + "responses": { + "200": { + "body": { + "id": "12345", + "name": "ThisisaDiscoTemplate", + "displayName": "ThisisaDiscoTemplate", + "industry": "Test Industry", + "region": "United States and Canada", + "countryCode": "US", + "stateCode": "CA", + "city": "Test City", + "names": [ + "This is a name", + "This is another name" + ], + "seeds": [ + { + "name": "test.com", + "kind": "domain" + }, + { + "name": "12345", + "kind": "as" + }, + { + "name": "thisisatest@microsoft.com", + "kind": "contact" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json new file mode 100644 index 000000000000..08e9a39d46da --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/DiscoveryTemplates_ListDiscoTemplate_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "DiscoveryTemplates_ListDiscoTemplate", + "title": "DiscoveryTemplates_ListDiscoTemplate", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace" + }, + "responses": { + "200": { + "body": { + "totalElements": 1, + "value": [ + { + "id": "12345", + "name": "ThisisaDiscoTemplate", + "displayName": "ThisisaDiscoTemplate", + "industry": "Test Industry", + "region": "United States and Canada", + "countryCode": "US", + "stateCode": "CA", + "city": "Test City", + "names": [], + "seeds": [] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json new file mode 100644 index 000000000000..3683bf48e406 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetBillable_MaximumSet_Gen.json @@ -0,0 +1,595 @@ +{ + "operationId": "Reports_GetBillable", + "title": "Reports_GetBillable", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": {} + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "date": "2022-12-12", + "total": 1394, + "assetBreakdown": [ + { + "kind": "host", + "count": 1204 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-13", + "total": 1465, + "assetBreakdown": [ + { + "kind": "host", + "count": 1275 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-14", + "total": 1487, + "assetBreakdown": [ + { + "kind": "host", + "count": 1297 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-15", + "total": 1490, + "assetBreakdown": [ + { + "kind": "host", + "count": 1300 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-16", + "total": 1502, + "assetBreakdown": [ + { + "kind": "host", + "count": 1312 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-17", + "total": 1521, + "assetBreakdown": [ + { + "kind": "host", + "count": 1331 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-18", + "total": 1522, + "assetBreakdown": [ + { + "kind": "host", + "count": 1332 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-19", + "total": 1570, + "assetBreakdown": [ + { + "kind": "host", + "count": 1380 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 24 + } + ] + }, + { + "date": "2022-12-20", + "total": 1570, + "assetBreakdown": [ + { + "kind": "host", + "count": 1381 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 23 + } + ] + }, + { + "date": "2022-12-21", + "total": 1539, + "assetBreakdown": [ + { + "kind": "host", + "count": 1350 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 23 + } + ] + }, + { + "date": "2022-12-22", + "total": 1527, + "assetBreakdown": [ + { + "kind": "host", + "count": 1338 + }, + { + "kind": "domain", + "count": 166 + }, + { + "kind": "ipAddress", + "count": 23 + } + ] + }, + { + "date": "2022-12-23", + "total": 1609, + "assetBreakdown": [ + { + "kind": "host", + "count": 1415 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-24", + "total": 1630, + "assetBreakdown": [ + { + "kind": "host", + "count": 1436 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-25", + "total": 1644, + "assetBreakdown": [ + { + "kind": "host", + "count": 1450 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-26", + "total": 1670, + "assetBreakdown": [ + { + "kind": "host", + "count": 1476 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-27", + "total": 1572, + "assetBreakdown": [ + { + "kind": "host", + "count": 1378 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-28", + "total": 1678, + "assetBreakdown": [ + { + "kind": "host", + "count": 1484 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-29", + "total": 1681, + "assetBreakdown": [ + { + "kind": "host", + "count": 1487 + }, + { + "kind": "domain", + "count": 167 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-30", + "total": 1759, + "assetBreakdown": [ + { + "kind": "host", + "count": 1568 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2022-12-31", + "total": 1857, + "assetBreakdown": [ + { + "kind": "host", + "count": 1666 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 27 + } + ] + }, + { + "date": "2023-01-01", + "total": 1860, + "assetBreakdown": [ + { + "kind": "host", + "count": 1670 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-02", + "total": 1799, + "assetBreakdown": [ + { + "kind": "host", + "count": 1609 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-03", + "total": 1770, + "assetBreakdown": [ + { + "kind": "host", + "count": 1580 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-04", + "total": 1748, + "assetBreakdown": [ + { + "kind": "host", + "count": 1558 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-05", + "total": 1785, + "assetBreakdown": [ + { + "kind": "host", + "count": 1595 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-06", + "total": 1684, + "assetBreakdown": [ + { + "kind": "host", + "count": 1494 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-07", + "total": 1808, + "assetBreakdown": [ + { + "kind": "host", + "count": 1618 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-08", + "total": 1799, + "assetBreakdown": [ + { + "kind": "host", + "count": 1609 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-09", + "total": 1775, + "assetBreakdown": [ + { + "kind": "host", + "count": 1585 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-10", + "total": 1785, + "assetBreakdown": [ + { + "kind": "host", + "count": 1595 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-11", + "total": 1772, + "assetBreakdown": [ + { + "kind": "host", + "count": 1582 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + }, + { + "date": "2023-01-12", + "total": 1725, + "assetBreakdown": [ + { + "kind": "host", + "count": 1535 + }, + { + "kind": "domain", + "count": 164 + }, + { + "kind": "ipAddress", + "count": 26 + } + ] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json new file mode 100644 index 000000000000..143c7a356037 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetSnapshot_MaximumSet_Gen.json @@ -0,0 +1,1137 @@ +{ + "operationId": "Reports_GetSnapshot", + "title": "Reports_GetSnapshot", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metric": "site_status_active", + "page": 0, + "size": 5 + } + }, + "responses": { + "200": { + "body": { + "displayName": "Metric Name", + "metric": "metricName", + "labelName": null, + "updatedAt": "2022-12-12T05:36:02.000+00:00", + "description": "Metric description.", + "assets": { + "totalElements": 200, + "nextLink": "https:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/workspaces/ThisisaWorkspace/reports/assets:getSnapshot?skip=1&maxpagesize=25&api-version=2023-03-01-preview", + "value": [ + { + "id": "host$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "contoso.com", + "domain": "contoso.com", + "ipAddresses": [], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "version": "1.0.0", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "headers": [], + "attributes": [], + "cookies": [], + "sslCerts": [], + "parentHosts": [], + "childHosts": [], + "services": [], + "cnames": [], + "sources": [], + "firstSeen": "2017-09-23T12:55:11.000+00:00", + "lastSeen": "2022-12-10T04:31:45.000+00:00", + "resourceUrls": [], + "scanMetadata": [], + "asns": [], + "ipBlocks": [], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "registrarIanaIds": [], + "registrantContacts": [], + "registrantOrgs": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "adminContacts": [], + "technicalContacts": [], + "alexaInfos": [], + "nameServers": [], + "mailServers": [], + "whoisServers": [], + "domainStatuses": [], + "registrarCreatedAt": [], + "registrarUpdatedAt": [], + "registrarExpiresAt": [], + "soaRecords": [], + "registrarNames": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2017-09-23T12:55:11.000+00:00", + "lastSeen": "2022-12-10T04:31:45.000+00:00", + "parkedDomain": [], + "registrantNames": [], + "adminNames": [], + "technicalNames": [], + "adminOrgs": [], + "technicalOrgs": [], + "registrantPhones": [], + "adminPhones": [], + "technicalPhones": [] + }, + "nsRecord": [], + "mxRecord": [], + "webserver": [], + "location": [], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [], + "ipv6": [] + }, + "createdDate": "2017-09-23T12:55:11.000+00:00", + "updatedDate": "2022-12-10T04:31:45.000+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + }, + { + "id": "host$$www.contoso.net", + "name": "www.contoso.net", + "displayName": "www.contoso.net", + "kind": "host", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "host": "www.contoso.net", + "domain": "contoso.net", + "ipAddresses": [], + "webComponents": [ + { + "name": "componentName", + "type": "componentType", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "headers": [], + "attributes": [], + "cookies": [], + "sslCerts": [], + "parentHosts": [], + "childHosts": [], + "services": [], + "cnames": [], + "sources": [], + "firstSeen": "2017-09-26T00:59:26.862+00:00", + "lastSeen": "2022-11-27T16:54:06.000+00:00", + "resourceUrls": [], + "scanMetadata": [], + "asns": [], + "ipBlocks": [], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.net", + "registrarIanaIds": [], + "registrantContacts": [], + "registrantOrgs": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "adminContacts": [], + "technicalContacts": [], + "alexaInfos": [], + "nameServers": [], + "mailServers": [], + "whoisServers": [], + "domainStatuses": [], + "registrarCreatedAt": [], + "registrarUpdatedAt": [], + "registrarExpiresAt": [], + "soaRecords": [], + "registrarNames": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2017-09-26T00:59:26.862+00:00", + "lastSeen": "2022-11-27T16:54:06.000+00:00", + "parkedDomain": [], + "registrantNames": [], + "adminNames": [], + "technicalNames": [], + "adminOrgs": [], + "technicalOrgs": [], + "registrantPhones": [], + "adminPhones": [], + "technicalPhones": [] + }, + "nsRecord": [], + "mxRecord": [], + "webserver": [], + "location": [], + "nxdomain": [], + "sslServerConfig": [], + "isWildcard": [], + "banners": [], + "ipv4": [], + "ipv6": [] + }, + "createdDate": "2017-09-26T00:59:26.862+00:00", + "updatedDate": "2022-11-27T16:54:06.000+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.net", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "www.contoso.net", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + }, + { + "id": "domain$$contoso.com", + "name": "contoso.com", + "displayName": "contoso.com", + "kind": "domain", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "domain": "contoso.com", + "whoisId": 1234567890123456789, + "registrarIanaIds": [ + { + "value": 123, + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 321, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 1 + } + ] + } + ], + "registrantContacts": [ + { + "value": "admin@contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "domains@contoso.net", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ], + "recent": true + } + ], + "registrantOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "Contoso", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 2 + } + ] + }, + { + "value": "Contoso", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ] + }, + { + "value": "Contoso", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-07-05T04:50:47.460+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-07-05T04:50:47.460+00:00", + "count": 2 + } + ] + } + ], + "adminContacts": [ + { + "value": "admin@contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "domains@contoso.net", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ], + "recent": true + } + ], + "technicalContacts": [ + { + "value": "admin@contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "domains@contoso.net", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 3 + } + ], + "recent": true + } + ], + "alexaInfos": [], + "nameServers": [ + { + "value": "ns1.contoso.com", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "sources": [ + { + "source": "pdns.NS", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "count": 85 + }, + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 10 + } + ], + "recent": true + } + ], + "mailServers": [], + "whoisServers": [ + { + "value": "rand.contoso.com", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "domainStatuses": [ + { + "value": "clientDeleteProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + }, + { + "value": "clientTransferProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + }, + { + "value": "clientUpdateProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + }, + { + "value": "serverTransferProhibited", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "transferPeriod", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 2 + } + ], + "recent": true + }, + { + "value": "deleteProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + }, + { + "value": "renewProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + }, + { + "value": "transferProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + }, + { + "value": "updateProhibited", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 5 + } + ], + "recent": true + } + ], + "registrarCreatedAt": [ + { + "value": 1654103468000, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + } + ], + "registrarUpdatedAt": [ + { + "value": 1662644948000, + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1662590259000, + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-10-11T11:37:41.168+00:00", + "count": 1 + } + ] + }, + { + "value": 1654103471000, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 1 + } + ] + } + ], + "registrarExpiresAt": [ + { + "value": 1717286399000, + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 1 + } + ], + "recent": true + }, + { + "value": 1685663999000, + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-07-05T04:50:47.462+00:00", + "lastSeen": "2022-09-08T13:01:12.837+00:00", + "count": 1 + } + ] + } + ], + "soaRecords": [ + { + "nameServer": "ns1.contoso.org", + "email": "contoso@contoso.com", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "serialNumber": 1, + "recent": true + } + ], + "detailedFromWhoisAt": "2022-11-12T01:15:37.021+00:00", + "registrarNames": [ + { + "value": "Contoso", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-09-08T13:01:12.839+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 4 + } + ], + "recent": true + } + ], + "sources": [ + { + "source": "pdns", + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "count": 403 + }, + { + "source": "whois", + "firstSeen": "2022-06-02T12:09:19.577+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 10 + }, + { + "source": "minicrawl", + "firstSeen": "2022-06-02T17:45:46.168+00:00", + "lastSeen": "2022-11-09T19:13:49.643+00:00", + "count": 28 + } + ], + "firstSeen": "2022-06-02T12:09:19.000+00:00", + "lastSeen": "2022-11-29T10:07:55.000+00:00", + "count": 441, + "parkedDomain": [ + { + "value": false, + "firstSeen": "2022-06-02T17:45:46.168+00:00", + "lastSeen": "2022-11-09T19:13:49.643+00:00", + "sources": [], + "recent": true + } + ], + "registrantNames": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "adminNames": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "technicalNames": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "adminOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "technicalOrgs": [ + { + "value": "Contoso", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "registrantPhones": [ + { + "value": "+1.1234567890", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "adminPhones": [ + { + "value": "+1.1234567890", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ], + "technicalPhones": [ + { + "value": "+1.1234567890", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "sources": [ + { + "source": "whois", + "firstSeen": "2022-10-11T11:37:41.170+00:00", + "lastSeen": "2022-11-12T01:15:37.021+00:00", + "count": 2 + } + ], + "recent": true + } + ] + }, + "createdDate": "2022-10-10T17:33:27.434+00:00", + "updatedDate": "2022-10-25T08:00:23.447+00:00", + "state": "confirmed", + "externalId": null, + "labels": [], + "wildcard": false, + "discoGroupName": "Contoso", + "auditTrail": null, + "reason": null + }, + { + "id": "page$$https://www.contoso.com/", + "name": "https://www.contoso.com/", + "displayName": "https://www.contoso.com/", + "kind": "page", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "url": "https://www.contoso.com/", + "ipAddresses": [], + "successful": [], + "httpResponseCodes": [], + "httpResponseMessages": [], + "responseTimes": [], + "frames": [], + "windows": [], + "nonHtmlFrames": [], + "undirectedContent": [], + "contentTypes": [], + "contentLengths": [], + "windowNames": [], + "charsets": [], + "titles": [], + "languages": [], + "responseHeaders": [], + "cookies": [], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "version": "1.0.0", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "attributes": [], + "assetSecurityPolicies": [], + "responseBodyMinhashSignatures": [], + "fullDomMinhashSignatures": [], + "responseBodyHashSignatures": [], + "errors": [], + "sslCerts": [], + "sources": [], + "firstSeen": "2019-06-16T12:55:04.360+00:00", + "lastSeen": "2022-11-09T15:57:53.425+00:00", + "redirectUrls": [], + "finalUrls": [], + "finalResponseCodes": [], + "parkedPage": [], + "resourceUrls": [], + "guids": [], + "finalIpAddresses": [], + "asns": [], + "ipBlocks": [], + "finalAsns": [], + "finalIpBlocks": [], + "responseBodies": [], + "domainAsset": { + "domain": "contoso.com", + "registrarIanaIds": [], + "registrantContacts": [], + "registrantOrgs": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "adminContacts": [], + "technicalContacts": [], + "alexaInfos": [], + "nameServers": [], + "mailServers": [], + "whoisServers": [], + "domainStatuses": [], + "registrarCreatedAt": [], + "registrarUpdatedAt": [], + "registrarExpiresAt": [], + "soaRecords": [], + "registrarNames": [ + { + "value": "Contoso", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2019-06-16T12:55:04.360+00:00", + "lastSeen": "2022-11-09T15:57:53.425+00:00", + "parkedDomain": [], + "registrantNames": [], + "adminNames": [], + "technicalNames": [], + "adminOrgs": [], + "technicalOrgs": [], + "registrantPhones": [], + "adminPhones": [], + "technicalPhones": [] + }, + "location": [], + "services": [], + "cnames": [], + "cdns": [], + "domain": "contoso.com", + "sslServerConfig": [], + "gdprAssetSecurityPolicies": [], + "ipv4": [], + "ipv6": [] + }, + "createdDate": "2019-06-16T12:55:04.360+00:00", + "updatedDate": "2022-11-09T15:57:53.425+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.net", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "WhoisOrganization:Contoso", + "displayName": null, + "kind": "attribute", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "www.contoso.com", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + }, + { + "id": "ipAddress$$10.000.000.00", + "name": "10.000.000.00", + "displayName": "10.000.000.00", + "kind": "ipAddress", + "uuid": "00000000-0000-0000-0000-000000000000", + "asset": { + "ipAddress": "10.000.000.00", + "asns": [ + { + "value": 64501, + "sources": [], + "recent": true + } + ], + "reputations": [], + "webComponents": [ + { + "name": "Component Name", + "type": "Component Type", + "ruleId": [], + "cve": [], + "ports": [], + "sources": [] + } + ], + "netRanges": [], + "headers": [], + "attributes": [], + "cookies": [], + "sslCerts": [], + "services": [], + "ipBlocks": [ + { + "ipBlock": "10.000.000.00/18", + "sources": [], + "recent": true + } + ], + "sources": [], + "firstSeen": "2010-06-24T11:57:03.000+00:00", + "lastSeen": "2022-12-10T22:10:54.000+00:00", + "banners": [], + "scanMetadata": [], + "nsRecord": [], + "mxRecord": [], + "location": [], + "hosts": [], + "nxdomain": [], + "sslServerConfig": [] + }, + "createdDate": "2010-06-24T11:57:03.000+00:00", + "updatedDate": "2022-12-10T22:10:54.000+00:00", + "state": null, + "externalId": null, + "labels": null, + "wildcard": false, + "discoGroupName": null, + "auditTrail": [ + { + "id": null, + "name": "contoso.net", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "WhoisOrganization:Contoso", + "displayName": null, + "kind": "attribute", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "domain", + "reason": null + }, + { + "id": null, + "name": "contoso.com", + "displayName": null, + "kind": "host", + "reason": null + } + ], + "reason": null + } + ], + "mark": null + } + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json new file mode 100644 index 000000000000..8349c6044fb9 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_GetSummary_MaximumSet_Gen.json @@ -0,0 +1,64 @@ +{ + "operationId": "Reports_GetSummary", + "title": "Reports_GetSummary", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "body": { + "metricCategories": null, + "metrics": null, + "filters": [ + "state = \"confirmed\" AND kind = \"domain\"", + "state = \"confirmed\" AND kind = \"host\"", + "state = \"confirmed\" AND kind = \"page\"" + ], + "groupBy": null + } + }, + "responses": { + "200": { + "body": { + "assetSummaries": [ + { + "displayName": "state = confirmed AND kind = host", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = confirmed AND kind = host", + "labelName": null, + "count": 12271, + "link": null, + "children": [] + }, + { + "displayName": "state = confirmed AND kind = domain", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = confirmed AND kind = domain", + "labelName": null, + "count": 138, + "link": null, + "children": [] + }, + { + "displayName": "state = confirmed AND kind = page", + "description": null, + "updatedAt": null, + "metricCategory": null, + "metric": null, + "filter": "state = confirmed AND kind = page", + "labelName": null, + "count": 24566, + "link": null, + "children": [] + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json deleted file mode 100644 index e493ece78f99..000000000000 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "dummyrg", - "workspaceName": "ThisisaWorkspace", - "body": { - "metricCategories": null, - "metrics": null, - "filters": [ - "state = \"confirmed\"" - ], - "groupBy": "kind" - } - }, - "responses": { - "200": { - "body": { - "assetSummaries": [ - { - "displayName": "state = \"confirmed\"", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": "state = \"confirmed\"", - "labelName": null, - "count": 37025, - "link": null, - "children": [ - { - "displayName": "Page", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 24566, - "link": null, - "children": [] - }, - { - "displayName": "Host", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 12271, - "link": null, - "children": [] - }, - { - "displayName": "Domain", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 138, - "link": null, - "children": [] - }, - { - "displayName": "IP Address", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 18, - "link": null, - "children": [] - }, - { - "displayName": "SSL Cert", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 12, - "link": null, - "children": [] - }, - { - "displayName": "Contact", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 6, - "link": null, - "children": [] - }, - { - "displayName": "IP Block", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 2, - "link": null, - "children": [] - } - ] - } - ] - } - } - } -} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json deleted file mode 100644 index 31c57bb9b84a..000000000000 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Assets_GroupBy_SegmentBy.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "dummyrg", - "workspaceName": "ThisisaWorkspace", - "body": { - "metricCategories": null, - "metrics": null, - "filters": [ - "state in (\"confirmed\",\"candidate\")" - ], - "groupBy": "state", - "segmentBy": "kind" - } - }, - "responses": { - "200": { - "body": { - "assetSummaries": [ - { - "displayName": "state in (\"confirmed\",\"candidate\")", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": "state in (\"confirmed\",\"candidate\")", - "labelName": null, - "count": 38206, - "link": null, - "children": [ - { - "displayName": "Approved Inventory", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 37025, - "link": null, - "children": [ - { - "displayName": "Page", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 24566, - "link": null, - "children": [] - }, - { - "displayName": "Host", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 12271, - "link": null, - "children": [] - }, - { - "displayName": "Domain", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 138, - "link": null, - "children": [] - }, - { - "displayName": "IP Address", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 18, - "link": null, - "children": [] - }, - { - "displayName": "SSL Cert", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 12, - "link": null, - "children": [] - }, - { - "displayName": "Contact", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 6, - "link": null, - "children": [] - }, - { - "displayName": "IP Block", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 2, - "link": null, - "children": [] - } - ] - }, - { - "displayName": "Candidate", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 1181, - "link": null, - "children": [ - { - "displayName": "IP Address", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 671, - "link": null, - "children": [] - }, - { - "displayName": "IP Block", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 256, - "link": null, - "children": [] - }, - { - "displayName": "Contact", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 112, - "link": null, - "children": [] - }, - { - "displayName": "Host", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 52, - "link": null, - "children": [] - }, - { - "displayName": "Domain", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 48, - "link": null, - "children": [] - }, - { - "displayName": "Page", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 19, - "link": null, - "children": [] - }, - { - "displayName": "ASN", - "description": null, - "updatedAt": null, - "metricCategory": null, - "metric": null, - "filter": null, - "labelName": null, - "count": 18, - "link": null, - "children": [] - } - ] - } - ] - } - ] - } - } - } -} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json deleted file mode 100644 index 99ab44077f9b..000000000000 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_MetricCategories.json +++ /dev/null @@ -1,193 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "dummyrg", - "workspaceName": "ThisisaWorkspace", - "body": { - "metricCategories": [ - "priority_low_severity" - ], - "metrics": null, - "filters": null, - "groupBy": null - } - }, - "responses": { - "200": { - "body": { - "assetSummaries": [ - { - "displayName": "Low Severity", - "description": "Attack Surface: Low Severity", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": "priority_low_severity", - "metric": null, - "filter": null, - "labelName": null, - "count": 519, - "link": null, - "children": [ - { - "displayName": "Metric Name 1", - "description": "Metric Description 1", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_1", - "filter": null, - "labelName": null, - "count": 481, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 2", - "description": "Metric Description 2", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_2", - "filter": null, - "labelName": null, - "count": 16, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 3", - "description": "Metric Description 3", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_3", - "filter": null, - "labelName": null, - "count": 12, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 4", - "description": "Metric Description 4", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_4", - "filter": null, - "labelName": null, - "count": 7, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 5", - "description": "Metric Description 5", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_5", - "filter": null, - "labelName": null, - "count": 2, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 6", - "description": "Metric Description 6", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_6", - "filter": null, - "labelName": null, - "count": 1, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 7", - "description": "Metric Description 7", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_7", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 8", - "description": "Metric Description 8", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_8", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 9", - "description": "Metric Description 9", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_9", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 10", - "description": "Metric Description 10", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_10", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 11", - "description": "Metric Description 11", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_11", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 12", - "description": "Metric Description 12", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_12", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - }, - { - "displayName": "Metric Name 13", - "description": "Metric Description 13", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName_13", - "filter": null, - "labelName": null, - "count": 0, - "link": null, - "children": null - } - ] - } - ] - } - } - } -} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json deleted file mode 100644 index 44cf79a499d7..000000000000 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Reports_Summary_Metrics.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "dummyrg", - "workspaceName": "ThisisaWorkspace", - "body": { - "metricCategories": null, - "metrics": [ - "metricName" - ], - "filters": null, - "groupBy": null - } - }, - "responses": { - "200": { - "body": { - "assetSummaries": [ - { - "displayName": "Metric Name", - "description": "Metric Description", - "updatedAt": "2022-12-12T05:36:02.000+00:00", - "metricCategory": null, - "metric": "metricName", - "filter": null, - "labelName": null, - "count": 7, - "link": null, - "children": null - } - ] - } - } - } -} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..4d1551f6ba9a --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "operationId": "SavedFilters_CreateOrReplaceSavedFilter", + "title": "SavedFilters_CreateOrReplaceSavedFilter", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter", + "body": { + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + } + }, + "responses": { + "200": { + "body": { + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter", + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..d34e53f1c9bc --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "operationId": "SavedFilters_DeleteSavedFilter", + "title": "SavedFilters_DeleteSavedFilter", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "204": {} + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..ee39d7f8d093 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "SavedFilters_GetSavedFilter", + "title": "SavedFilters_GetSavedFilter", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter", + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json new file mode 100644 index 000000000000..71f9514ba016 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "operationId": "SavedFilters_ListSavedFilter", + "title": "SavedFilters_ListSavedFilter", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "filterName": "ThisisaSavedFilter" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "value": [ + { + "id": "ThisisaSavedFilter", + "name": "ThisisaSavedFilter", + "displayName": "ThisisaSavedFilter", + "filter": "state IN (\"confirmed\")", + "description": "This is a saved filter" + }, + { + "id": "ThisisaSavedFilter2", + "name": "ThisisaSavedFilter2", + "displayName": "ThisisaSavedFilter2", + "filter": "type IN (\"host\")", + "description": "This is a saved filter" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..9248b55b34df --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_CancelTask_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Tasks_CancelTask", + "title": "Tasks_CancelTask", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + } + } +} diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json similarity index 90% rename from specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json rename to specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json index 6e14cd16106a..fddad07215df 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_Get.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_GetTask_MaximumSet_Gen.json @@ -1,4 +1,6 @@ { + "operationId": "Tasks_GetTask", + "title": "Tasks_GetTask", "parameters": { "api-version": "2023-03-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json new file mode 100644 index 000000000000..92cbe6a634d1 --- /dev/null +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/examples/Tasks_ListTask_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "operationId": "Tasks_ListTask", + "title": "Tasks_ListTask", + "parameters": { + "api-version": "2023-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "dummyrg", + "workspaceName": "ThisisaWorkspace", + "taskId": "ThisisaTaskId" + }, + "responses": { + "200": { + "body": { + "totalElements": 2, + "value": [ + { + "id": "ThisisaTaskId", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + }, + { + "id": "ThisisaTaskId2", + "startedAt": "2022-05-02T19:30:14.432+00:00", + "completedAt": "2022-05-02T19:30:54.432+00:00", + "lastPolledAt": "2022-05-02T19:30:19.432+00:00", + "state": "complete", + "phase": "complete", + "reason": "This is a Task id" + } + ] + } + } + } +} diff --git a/specification/riskiq/data-plane/readme.md b/specification/riskiq/data-plane/readme.md index 59bbf2db8a37..87fb2ca6e940 100644 --- a/specification/riskiq/data-plane/readme.md +++ b/specification/riskiq/data-plane/readme.md @@ -78,3 +78,18 @@ output-folder: $(python-sdks-folder)/defender/azure-defender-easm/azure/defender basic-setup-py: true output-folder: $(python-sdks-folder)/defender/azure-defender-easm ``` + +### Suppress non-TypeSpec SDK related linting rules + +These set of linting rules aren't applicable to the new TypeSpec SDK code generators so suppressing them here. Eventually we will +opt-out these rules from running in the linting tools for TypeSpec generated swagger files. + +``` yaml +suppressions: + - code: AvoidAnonymousTypes + - code: PatchInOperationName + - code: OperationIdNounVerb + - code: RequiredReadOnlyProperties + - code: SchemaNamesConvention + - code: SchemaDescriptionOrTitle +``` \ No newline at end of file