Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@
"type": "object",
"description": "Custom Assessment Automation",
"properties": {
"systemData": {
"readOnly": true,
"type": "object",
"description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
},
"properties": {
"x-ms-client-flatten": true,
"description": "describes Custom Assessment Automation properties.",
Expand All @@ -287,6 +293,22 @@
}
]
},
"customAssessmentAutomationRequest": {
"type": "object",
"description": "Custom Assessment Automation request",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"description": "describes Custom Assessment Automation request properties.",
"$ref": "#/definitions/customAssessmentAutomationRequestProperties"
}
},
"allOf": [
{
"$ref": "../../../common/v1/types.json#/definitions/Resource"
}
]
},
"customAssessmentAutomationProperties": {
"type": "object",
"description": "describes the Custom Assessment Automation properties",
Expand Down Expand Up @@ -353,6 +375,82 @@
"description": "The description to relate to the assessments generated by this assessment automation.",
"type": "string"
},
"remediationDescription": {
"description": "The remediation description to relate to the assessments generated by this assessment automation.",
"type": "string"
},
"assessmentKey": {
"description": "The assessment metadata key used when an assessment is generated for this assessment automation.",
"type": "string"
}
}
},
"customAssessmentAutomationRequestProperties": {
"type": "object",
"description": "describes the Custom Assessment Automation properties",
"properties": {
"compressedQuery": {
"description": "Base 64 encoded KQL query representing the assessment automation results required.",
"type": "string"
},
"supportedCloud": {
"description": "Relevant cloud for the custom assessment automation.",
"type": "string",
"enum": [
"AWS"
],
"x-ms-enum": {
"name": "supportedCloudEnum",
"modelAsString": true
},
"x-ms-client-default": "AWS"
},
"severity": {
"description": "The severity to relate to the assessments generated by this assessment automation.",
"type": "string",
"enum": [
"High",
"Medium",
"Low"
],
"x-ms-enum": {
"name": "severityEnum",
"modelAsString": true
},
"x-ms-client-default": "Low"
},
"userImpact": {
"description": "The user impact to relate to the assessments generated by this assessment automation.",
"type": "string",
"enum": [
"High",
"Moderate",
"Low"
],
"x-ms-enum": {
"name": "userImpactEnum",
"modelAsString": true
},
"x-ms-client-default": "Low"
},
"implementationEffort": {
"description": "The implementation effort to relate to the assessments generated by this assessment automation.",
"type": "string",
"enum": [
"High",
"Moderate",
"Low"
],
"x-ms-enum": {
"name": "implementationEffortEnum",
"modelAsString": true
},
"x-ms-client-default": "Low"
},
"description": {
"description": "The description to relate to the assessments generated by this assessment automation.",
"type": "string"
},
"remediationDescription": {
"description": "The remediation description to relate to the assessments generated by this assessment automation.",
"type": "string"
Expand All @@ -375,7 +473,7 @@
"description": "Custom Assessment Automation body",
"required": true,
"schema": {
"$ref": "#/definitions/customAssessmentAutomation"
"$ref": "#/definitions/customAssessmentAutomationRequest"
},
"x-ms-parameter-location": "method"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@
"type": "object",
"description": "Custom entity store assignment",
"properties": {
"systemData": {
"readOnly": true,
"type": "object",
"description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
},
"properties": {
"x-ms-client-flatten": true,
"description": "describes custom entity store assignment properties.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,23 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/33e7cc6e-a139-4723-a0e5-76993aee0771",
"name": "33e7cc6e-a139-4723-a0e5-76993aee0771",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=",
"supportedCloud": "AWS",
"severity": "Medium",
"userImpact": "Moderate",
"implementationEffort": "High",
"description": "Data should be encrypted",
"remediationDescription": "Encrypt store by..."
"description": "organization passwords policy",
"remediationDescription": "Change password policy to...",
"assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb"
}
}
},
Expand All @@ -38,14 +47,23 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/33e7cc6e-a139-4723-a0e5-76993aee0771",
"name": "33e7cc6e-a139-4723-a0e5-76993aee0771",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:01:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:01:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8AUABhAHMAcwB3AG8AcgBkAFAAbwBsAGkAYwB5ACAADQAKAHwAIABlAHgAdABlAG4AZAAgAEgAZQBhAGwAdABoAFMAdABhAHQAdQBzACAAPQAgAGkAZgBmACgAdABvAGkAbgB0ACgAUgBlAGMAbwByAGQALgBNAGkAbgBpAG0AdQBtAFAAYQBzAHMAdwBvAHIAZABMAGUAbgBnAHQAaAApACAAPAAgADgALAAgACcAVQBOAEgARQBBAEwAVABIAFkAJwAsACAAJwBIAEUAQQBMAFQASABZACcAKQANAAoA",
"supportedCloud": "AWS",
"severity": "Medium",
"userImpact": "Moderate",
"implementationEffort": "High",
"description": "Data should be encrypted",
"remediationDescription": "Encrypt store by..."
"remediationDescription": "Encrypt store by...",
"assessmentKey": "fc1dbcd0-502c-4eab-9312-4014cfc8ea56"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,23 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/MyCustomAssessmentAutomation",
"name": "MyCustomAssessmentAutomation",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwvIz8lMrgzKz0nlqlFIrShJzUtR8Cz2SE3MKcmoVLBVUE9LzClOVQcA1IFnficAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=",
"supportedCloud": "AWS",
"severity": "Low",
"userImpact": "Low",
"implementationEffort": "Low",
"description": "organization passwords policy",
"remediationDescription": "Change password policy to..."
"remediationDescription": "Change password policy to...",
"assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,46 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/MyCustomAssessmentAutomation1",
"name": "MyCustomAssessmentAutomation1",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=",
"supportedCloud": "AWS",
"severity": "Medium",
"userImpact": "Moderate",
"implementationEffort": "High",
"description": "Data should be encrypted",
"remediationDescription": "Encrypt store by..."
"description": "organization passwords policy",
"remediationDescription": "Change password policy to...",
"assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb"
}
},
{
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/MyCustomAssessmentAutomation2",
"name": "MyCustomAssessmentAutomation2",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:01:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:01:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwvIz8lMrgzKz0nlqlFIrShJzUtR8Cz2SE3MKcmoVLBVUE9LzClOVQcA1IFnficAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8AUABhAHMAcwB3AG8AcgBkAFAAbwBsAGkAYwB5ACAADQAKAHwAIABlAHgAdABlAG4AZAAgAEgAZQBhAGwAdABoAFMAdABhAHQAdQBzACAAPQAgAGkAZgBmACgAdABvAGkAbgB0ACgAUgBlAGMAbwByAGQALgBNAGkAbgBpAG0AdQBtAFAAYQBzAHMAdwBvAHIAZABMAGUAbgBnAHQAaAApACAAPAAgADgALAAgACcAVQBOAEgARQBBAEwAVABIAFkAJwAsACAAJwBIAEUAQQBMAFQASABZACcAKQANAAoA",
"supportedCloud": "AWS",
"severity": "Low",
"userImpact": "Low",
"implementationEffort": "Low",
"description": "organization passwords policy",
"remediationDescription": "Change password policy to..."
"remediationDescription": "Change password policy to...",
"assessmentKey": "fc1dbcd0-502c-4eab-9312-4014cfc8ea56"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,46 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/MyCustomAssessmentAutomation1",
"name": "MyCustomAssessmentAutomation1",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=",
"supportedCloud": "AWS",
"severity": "Medium",
"userImpact": "Moderate",
"implementationEffort": "High",
"description": "Data should be encrypted",
"remediationDescription": "Encrypt store by..."
"description": "organization passwords policy",
"remediationDescription": "Change password policy to...",
"assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb"
}
},
{
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customAssessmentAutomations/MyCustomAssessmentAutomation2",
"name": "MyCustomAssessmentAutomation2",
"type": "Microsoft.Security/customAssessmentAutomations",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:01:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:01:50.328Z"
},
"properties": {
"compressedQuery": "H4sIAAAAAAAAAwvIz8lMrgzKz0nlqlFIrShJzUtR8Cz2SE3MKcmoVLBVUE9LzClOVQcA1IFnficAAAA=",
"compressedQuery": "DQAKAEkAYQBtAF8AUABhAHMAcwB3AG8AcgBkAFAAbwBsAGkAYwB5ACAADQAKAHwAIABlAHgAdABlAG4AZAAgAEgAZQBhAGwAdABoAFMAdABhAHQAdQBzACAAPQAgAGkAZgBmACgAdABvAGkAbgB0ACgAUgBlAGMAbwByAGQALgBNAGkAbgBpAG0AdQBtAFAAYQBzAHMAdwBvAHIAZABMAGUAbgBnAHQAaAApACAAPAAgADgALAAgACcAVQBOAEgARQBBAEwAVABIAFkAJwAsACAAJwBIAEUAQQBMAFQASABZACcAKQANAAoA",
"supportedCloud": "AWS",
"severity": "Low",
"userImpact": "Low",
"implementationEffort": "Low",
"description": "organization passwords policy",
"remediationDescription": "Change password policy to..."
"remediationDescription": "Change password policy to...",
"assessmentKey": "fc1dbcd0-502c-4eab-9312-4014cfc8ea56"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customEntityStoreAssignments/33e7cc6e-a139-4723-a0e5-76993aee0771",
"name": "33e7cc6e-a139-4723-a0e5-76993aee0771",
"type": "Microsoft.Security/customEntityStoreAssignments",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"principal": "aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47",
"entityStoreDatabaseLink": "https://dataexplorer.azure.com/clusters/securitydatastore.centralus/databases/DiscoveryAwsKedamari?query=H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA="
Expand All @@ -27,6 +35,14 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customEntityStoreAssignments/33e7cc6e-a139-4723-a0e5-76993aee0771",
"name": "33e7cc6e-a139-4723-a0e5-76993aee0771",
"type": "Microsoft.Security/customEntityStoreAssignments",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:01:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:01:50.328Z"
},
"properties": {
"principal": "aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47",
"entityStoreDatabaseLink": "https://dataexplorer.azure.com/clusters/securitydatastore.centralus/databases/DiscoveryAwsKedamari?query=H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/TestResourceGroup/providers/Microsoft.Security/customEntityStoreAssignments/33e7cc6e-a139-4723-a0e5-76993aee0771",
"name": "33e7cc6e-a139-4723-a0e5-76993aee0771",
"type": "Microsoft.Security/customEntityStoreAssignments",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"principal": "aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47",
"entityStoreDatabaseLink": "https://dataexplorer.azure.com/clusters/securitydatastore.centralus/databases/DiscoveryAwsKedamari?query=H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA="
Expand Down
Loading