An open API service indexing awesome lists of open source software.

https://github.com/form3tech-oss/terraform-provider-qualys

A Terraform provider for Qualys resources
https://github.com/form3tech-oss/terraform-provider-qualys

Last synced: about 1 month ago
JSON representation

A Terraform provider for Qualys resources

Awesome Lists containing this project

README

          

# terraform-provider-qualys

A Terraform provider for Qualys CloudView Resources

## References

Based on original work from here - [https://code.stanford.edu/xuwang/terraform-provider-qualys]

Qualys CloudView API Docs - [https://qualysguard.qg2.apps.qualys.com/cloudview-api/swagger-ui.html#/]

## Example

```shell
export QUALYS_URL=https://qualysguard.qg2.apps.qualys.com
export QUALYS_USERNAME=
export QUALYS_PASSWORD=
```

```hcl
provider "qualys" {
// recommend to use environment variables to avoid exposing your credentials
// base_url = ""
// username = ""
// password = ""
}

data "qualys_gcp_connector" "my_test_connector" {
connector_id = ""
}

output "my_test_connector_project_id" {
value = data.qualys_gcp_connector.my_test_connector.project_id
}

resource "qualys_gcp_connector" "my_dev_connector" {
name = "dev_gcp"
description = "dev_gcp"
gcp_config_file = file("./service_account.json")
}

```

See the Qualys steps on obtaining a service account configuration file for further details ([here](https://qualysguard.qg2.apps.qualys.com/cloudview/help/connector/gcp_v1/gcp_config_download.htm)).