-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9607f2b
commit 58ef1ab
Showing
7 changed files
with
76 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 0 additions & 51 deletions
51
.../docs/r/security_center_hybrid_vm_server_vulnerability_assessment.html.markdown
This file was deleted.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
...curity_center_server_vulnerability_assessment_arc_virtual_machine.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
subcategory: "Security Center" | ||
layout: "azurerm" | ||
page_title: "Azure Resource Manager: azurerm_security_center_server_vulnerability_assessment_arc_virtual_machine" | ||
description: |- | ||
Manages an Azure Vulnerability Assessment (Qualys) to an Azure ARC server. | ||
--- | ||
|
||
# azurerm_security_center_server_vulnerability_assessment_arc_virtual_machine | ||
|
||
Manages an Azure Server Vulnerability Assessment (Qualys) to a VM. | ||
|
||
-> **NOTE** Azure Defender has to be enabled on the subscription in order for this resource to work. | ||
See this [documentation](https://docs.microsoft.com/azure/security-center/security-center-get-started) to get started. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "azurerm_virtual_machine" "example" { | ||
name = "example-virtual-machine" | ||
resource_group_name = "example-resources" | ||
} | ||
resource "azurerm_security_center_server_vulnerability_assessment_arc_virtual_machine" "example" { | ||
hydrid_machine_id = data.azurerm_virtual_machine.example.id | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `hybrid_machine_id` - (Required) The ID of the Arc Virtual Machine which should have a Vulnerability Assessment configured. Changing this forces a new resource to be created. | ||
|
||
|
||
## Attributes Reference | ||
|
||
In addition to all arguments above, the following attributes are exported: | ||
|
||
* `id` - The ID of the Arc Virtual Machine Server Vulnerability Assessment. | ||
|
||
## Timeouts | ||
|
||
The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions: | ||
|
||
* `create` - (Defaults to 5 minutes) Used when creating the Arc Virtual Machine Server Vulnerability Assessment. | ||
* `read` - (Defaults to 5 minutes) Used when retrieving the Arc Virtual Machine Server Vulnerability Assessment. | ||
* `delete` - (Defaults to 10 minutes) Used when deleting the Arc Virtual Machine Server Vulnerability Assessment. | ||
|
||
## Import | ||
|
||
Arc Virtual Machine Server Vulnerability Assessments can be imported using the `resource id`, e.g. | ||
|
||
```shell | ||
terraform import azurerm_security_center_server_vulnerability_assessment_arc_virtual_machine.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.HybridCompute/machines/machine-name/providers/Microsoft.Security/serverVulnerabilityAssessments/Default | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters