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
- Host: GitHub
- URL: https://github.com/form3tech-oss/terraform-provider-qualys
- Owner: form3tech-oss
- License: apache-2.0
- Created: 2021-08-12T08:21:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T09:39:57.000Z (over 3 years ago)
- Last Synced: 2025-06-24T08:02:29.436Z (11 months ago)
- Language: Go
- Homepage:
- Size: 297 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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)).