Skip to content

Commit

Permalink
style(api): refactoring for styling
Browse files Browse the repository at this point in the history
Co-authored-by: Teddy Reed <teddy.reed@lacework.net>
  • Loading branch information
ammarekbote and theopolis committed Dec 5, 2022
1 parent fe5d287 commit 5fdee63
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions website/docs/r/integration_gcp_agentless_scanning.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Use this resource to configure a GCP Agentless Scanning integration.

```hcl
resource "lacework_integration_gcp_agentless_scanning" "account_abc" {
name = "Integration name"
resource_level = "PROJECT"
resource_id = "to-scan-gcp-project-id"
storage_bucket = "gcp storage bucket hosting shared results"
name = "Integration name"
resource_level = "PROJECT"
resource_id = "to-scan-gcp-project-id"
storage_bucket = "gcp storage bucket hosting shared results"
scanning_project_id = "lacework scanner project id"
credentials {
client_id = "123456789012345678900"
Expand All @@ -33,27 +33,27 @@ resource "lacework_integration_gcp_agentless_scanning" "account_abc" {
The following arguments are supported:

* `name` - (Required) The GCP Agentless Scanning integration name.
* `resource_level` = (Required) "PROJECT" or "ORGANIZATION"
* `resource_id` - (Required) The organization or project ID.
* `storage_bucket` - (Required) The bucket arn where analysis results are shared with Lacework platform.
* `resource_level` = (Required) "PROJECT" or "ORGANIZATION".
* `resource_id` - (Required) The organization or Project Id.
* `storage_bucket` - (Required) The bucket name where analysis results are shared with Lacework platform.

* `scan_frequency` - (Optional) How often, in hours, the scan will run - Defaults to 24 hours.
* `query_text` - (Optional) The lql query.
* `filter_list` - (Optional) Comma separated list to include or exclude projects.
* `scan_containers` - (Optional) Whether to includes scanning for containers.
* `scan_host_vulnerabilities` - (Optional) Whether to include scanning for host vulnerabilities.
* `scan_containers` - (Optional) Whether to includes scanning for containers. Defaults to `true`
* `scan_host_vulnerabilities` - (Optional) Whether to include scanning for host vulnerabilities. Defaults to `true`
* `credentials` - (Optional) The credentials needed by the integration. See [Credentials](#credentials) below for details.
* `enabled` - (Optional) The state of the external integration. Defaults to `true`.
* `retries` - (Optional) The number of attempts to create the external integration. Defaults to `5`.

### Credentials
These are the credentials of the service account which has read only access to the storage bucket.
These are the credentials of the service account that has read only access to the storage bucket.

`credentials` supports the following arguments:

* `client_id` - (Required) The service account client ID.
* `client_id` - (Required) The service account Client Id.
* `client_email` - (Required) The service account client email.
* `private_key_id` - (Required) The service account private key ID.
* `private_key_id` - (Required) The service account Private Key Id.
* `private_key` - (Required) The service account private key.

## Import
Expand Down

0 comments on commit 5fdee63

Please sign in to comment.