SecurityFunctions

Functions

Link copied to clipboard

Gets the Advanced Threat Protection settings for the specified resource. Uses Azure REST API version 2019-01-01.

Link copied to clipboard

Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription Uses Azure REST API version 2019-01-01-preview.

suspend fun getAlertsSuppressionRule(alertsSuppressionRuleName: String): GetAlertsSuppressionRuleResult
Link copied to clipboard

Gets an Azure API Management API if it has been onboarded to Defender for APIs. If an Azure API Management API is onboarded to Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected. Uses Azure REST API version 2022-11-20-preview.

suspend fun getAPICollection(apiCollectionId: String, resourceGroupName: String, serviceName: String): GetAPICollectionResult

Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected. Uses Azure REST API version 2023-11-15.

Link copied to clipboard

Get a specific application for the requested scope by applicationId Uses Azure REST API version 2022-07-01-preview.

suspend fun getApplication(applicationId: String): GetApplicationResult
Link copied to clipboard

Get a security assessment on your scanned resource Uses Azure REST API version 2021-06-01. Other available API versions: 2020-01-01.

suspend fun getAssessment(assessmentName: String, expand: String? = null, resourceId: String): GetAssessmentResult
Link copied to clipboard
Link copied to clipboard

Get metadata information on an assessment type in a specific subscription Uses Azure REST API version 2019-01-01-preview.

Link copied to clipboard

Get a specific standard assignment for the requested scope by resourceId Uses Azure REST API version 2021-08-01-preview.

suspend fun getAssignment(assignmentId: String, resourceGroupName: String): GetAssignmentResult
Link copied to clipboard

Retrieves information about the model of a security automation. Uses Azure REST API version 2019-01-01-preview. Other available API versions: 2023-12-01-preview.

suspend fun getAutomation(automationName: String, resourceGroupName: String): GetAutomationResult
Link copied to clipboard

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription Uses Azure REST API version 2023-05-01.

Link copied to clipboard

Details of a specific cloud account connector Uses Azure REST API version 2020-01-01-preview.

suspend fun getConnector(connectorName: String): GetConnectorResult
Link copied to clipboard

Gets a single custom assessment automation by name for the provided subscription and resource group. Uses Azure REST API version 2021-07-01-preview.

suspend fun getCustomAssessmentAutomation(customAssessmentAutomationName: String, resourceGroupName: String): GetCustomAssessmentAutomationResult
Link copied to clipboard

Gets a single custom entity store assignment by name for the provided subscription and resource group. Uses Azure REST API version 2021-07-01-preview.

suspend fun getCustomEntityStoreAssignment(customEntityStoreAssignmentName: String, resourceGroupName: String): GetCustomEntityStoreAssignmentResult
Link copied to clipboard

Get a specific custom recommendation for the requested scope by customRecommendationName Uses Azure REST API version 2024-08-01.

suspend fun getCustomRecommendation(customRecommendationName: String, scope: String): GetCustomRecommendationResult
Link copied to clipboard

Gets the Defender for Storage settings for the specified storage account. Uses Azure REST API version 2022-12-01-preview. Other available API versions: 2024-10-01-preview.

suspend fun getDefenderForStorage(resourceId: String, settingName: String): GetDefenderForStorageResult
Link copied to clipboard

Use this method to get the device security group for the specified IoT Hub resource. Uses Azure REST API version 2019-08-01.

suspend fun getDeviceSecurityGroup(deviceSecurityGroupName: String, resourceId: String): GetDeviceSecurityGroupResult
Link copied to clipboard

DevOps Configuration resource. Uses Azure REST API version 2023-09-01-preview. Other available API versions: 2024-04-01, 2024-05-15-preview, 2025-03-01.

suspend fun getDevOpsConfiguration(resourceGroupName: String, securityConnectorName: String): GetDevOpsConfigurationResult
Link copied to clipboard

DevOps Policy assignment resource. Uses Azure REST API version 2024-05-15-preview.

suspend fun getDevOpsPolicyAssignment(policyAssignmentId: String, resourceGroupName: String, securityConnectorName: String): GetDevOpsPolicyAssignmentResult
Link copied to clipboard

Get a specific governanceAssignment for the requested scope by AssignmentKey Uses Azure REST API version 2022-01-01-preview.

suspend fun getGovernanceAssignment(assessmentName: String, assignmentKey: String, scope: String): GetGovernanceAssignmentResult
Link copied to clipboard

Get a specific governance rule for the requested scope by ruleId Uses Azure REST API version 2022-01-01-preview.

Link copied to clipboard

User this method to get details of a specific IoT Security solution based on solution name Uses Azure REST API version 2019-08-01. Other available API versions: 2017-08-01-preview.

suspend fun getIotSecuritySolution(resourceGroupName: String, solutionName: String): GetIotSecuritySolutionResult
Link copied to clipboard

Policies for protecting resources using Just-in-Time access control for the subscription, location Uses Azure REST API version 2020-01-01.

suspend fun getJitNetworkAccessPolicy(ascLocation: String, jitNetworkAccessPolicyName: String, resourceGroupName: String): GetJitNetworkAccessPolicyResult
Link copied to clipboard

Get the Defender plans pricing configurations of the selected scope (valid scopes are resource id or a subscription id). At the resource level, supported resource types are 'VirtualMachines, VMSS and ARC Machines'. Uses Azure REST API version 2024-01-01.

suspend fun getPricing(argument: suspend GetPricingPlainArgsBuilder.() -> Unit): GetPricingResult
suspend fun getPricing(pricingName: String, scopeId: String): GetPricingResult
Link copied to clipboard

Retrieves details of a specific security connector Uses Azure REST API version 2023-03-01-preview. Other available API versions: 2021-07-01-preview, 2023-10-01-preview, 2024-03-01-preview, 2024-07-01-preview, 2024-08-01-preview.

suspend fun getSecurityConnector(resourceGroupName: String, securityConnectorName: String): GetSecurityConnectorResult
Link copied to clipboard

Get a specific application for the requested scope by applicationId Uses Azure REST API version 2022-07-01-preview.

suspend fun getSecurityConnectorApplication(applicationId: String, resourceGroupName: String, securityConnectorName: String): GetSecurityConnectorApplicationResult
Link copied to clipboard

Get Default Security contact configurations for the subscription Uses Azure REST API version 2020-01-01-preview. Other available API versions: 2017-08-01-preview, 2023-12-01-preview.

suspend fun getSecurityContact(securityContactName: String): GetSecurityContactResult
Link copied to clipboard

Get a specific security operator for the requested scope. Uses Azure REST API version 2023-01-01-preview.

suspend fun getSecurityOperator(pricingName: String, securityOperatorName: String): GetSecurityOperatorResult
Link copied to clipboard

Get a specific security standard for the requested scope by standardId Uses Azure REST API version 2024-08-01.

Link copied to clipboard

Gets a server vulnerability assessment onboarding statuses on a given resource. Uses Azure REST API version 2020-01-01.

suspend fun getServerVulnerabilityAssessment(resourceGroupName: String, resourceName: String, resourceNamespace: String, resourceType: String, serverVulnerabilityAssessment: String): GetServerVulnerabilityAssessmentResult
Link copied to clipboard

Get a specific security standard for the requested scope Uses Azure REST API version 2021-08-01-preview.

suspend fun getStandard(argument: suspend GetStandardPlainArgsBuilder.() -> Unit): GetStandardResult
suspend fun getStandard(resourceGroupName: String, standardId: String): GetStandardResult
Link copied to clipboard

This operation retrieves a single standard assignment, given its name and the scope it was created at. Uses Azure REST API version 2024-08-01.

suspend fun getStandardAssignment(resourceId: String, standardAssignmentName: String): GetStandardAssignmentResult
Link copied to clipboard

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set Uses Azure REST API version 2017-08-01-preview.

suspend fun getWorkspaceSetting(workspaceSettingName: String): GetWorkspaceSettingResult
Link copied to clipboard

List of RP resources which supports pagination. Uses Azure REST API version 2023-09-01-preview. Other available API versions: 2024-04-01, 2024-05-15-preview, 2025-03-01.

suspend fun listAzureDevOpsOrgAvailable(resourceGroupName: String, securityConnectorName: String): ListAzureDevOpsOrgAvailableResult
Link copied to clipboard

List of RP resources which supports pagination. Uses Azure REST API version 2023-09-01-preview. Other available API versions: 2024-04-01, 2024-05-15-preview, 2025-03-01.

suspend fun listGitHubOwnerAvailable(resourceGroupName: String, securityConnectorName: String): ListGitHubOwnerAvailableResult
Link copied to clipboard

List of RP resources which supports pagination. Uses Azure REST API version 2023-09-01-preview. Other available API versions: 2024-04-01, 2024-05-15-preview, 2025-03-01.

suspend fun listGitLabGroupAvailable(resourceGroupName: String, securityConnectorName: String): ListGitLabGroupAvailableResult
Link copied to clipboard

List of RP resources which supports pagination. Uses Azure REST API version 2023-09-01-preview. Other available API versions: 2024-04-01, 2024-05-15-preview, 2025-03-01.

suspend fun listGitLabSubgroup(groupFQName: String, resourceGroupName: String, securityConnectorName: String): ListGitLabSubgroupResult