Skip to content

Commit

Permalink
Revert "Run make docker-compose/docs"
Browse files Browse the repository at this point in the history
This reverts commit bd3166e.
  • Loading branch information
juniocezar committed Nov 26, 2024
1 parent bd3166e commit 0eac919
Show file tree
Hide file tree
Showing 73 changed files with 27 additions and 98 deletions.
10 changes: 5 additions & 5 deletions cyral/internal/repository/confanalysis/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ func repositoryConfAnalysisResourceSchemaV0() *schema.Resource {
Description: "If set to `true` it will also mask filtering conditions like in" +
" `WHERE`, `HAVING` or `ON` clauses. **Note**: Enabling this may cause some" +
" performance degradation on large tables. It is required to set" +
" `enable_data_masking=true` to use this feature.",
Type: schema.TypeBool,
Optional: true,
Default: false,
RequiredWith: []string{"enable_data_masking"},
" `enable_data_masking=true` to use this feature."

Check failure on line 128 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in composite literal; possibly missing comma or }

Check failure on line 128 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in composite literal; possibly missing comma or }

Check failure on line 128 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in composite literal; possibly missing comma or }

Check failure on line 128 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in composite literal; possibly missing comma or }
Type: schema.TypeBool,
Optional: true,
Default: false,
RequiredWith: []string{"enable_data_masking"}

Check failure on line 132 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ] in composite literal; possibly missing comma or }

Check failure on line 132 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ] in composite literal; possibly missing comma or }

Check failure on line 132 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ] in composite literal; possibly missing comma or }
},

Check failure on line 133 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: non-declaration statement outside function body

Check failure on line 133 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: non-declaration statement outside function body

Check failure on line 133 in cyral/internal/repository/confanalysis/resource.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: non-declaration statement outside function body
"block_on_violation": {
Description: "If set to `true` it will enable query blocking in case of a " +
Expand Down
Empty file modified docs/data-sources/access_token_settings.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/datalabel.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/integration_idp.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/integration_idp_saml.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/integration_logging.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/permission.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/policy_v2.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/repository.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/role.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/saml_certificate.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/saml_configuration.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_bound_ports.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_cft_template.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_health.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_id.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_instance.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_instance_ids.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_instance_stats.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/sidecar_listener.md
100755 → 100644
Empty file.
Empty file modified docs/data-sources/system_info.md
100755 → 100644
Empty file.
Empty file modified docs/guides/4.0-migration-guide.md
100755 → 100644
Empty file.
8 changes: 4 additions & 4 deletions docs/guides/iam_auth_rds_pg.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
# Use the module version that is compatible with your sidecar.
version = "~> 4.3"
version = "~> 5.0"
sidecar_id = cyral_sidecar.sidecar.id
control_plane = local.control_plane_host
Expand All @@ -265,11 +265,11 @@ module "cyral_sidecar" {
load_balancer_scheme = local.sidecar.public_sidecar ? "internet-facing" : "internal"
associate_public_ip_address = local.sidecar.public_sidecar
sidecar_dns_hosted_zone_id = local.sidecar.dns_hosted_zone_id
sidecar_dns_name = local.sidecar.dns_name
dns_hosted_zone_id = local.sidecar.dns_hosted_zone_id
dns_name = local.sidecar.dns_name
}
output "sidecar_load_balancer_dns" {
value = module.cyral_sidecar.sidecar_load_balancer_dns
value = module.cyral_sidecar.load_balancer_dns
}
```
23 changes: 3 additions & 20 deletions docs/guides/mongodb_cluster_okta_idp.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,6 @@ locals {
# Name of the CloudWatch log group used to push logs
cloudwatch_log_group_name = "cyral-example-loggroup"
# Set the parameters to access the private Cyral container
# registry. These parameters can be found in the sidecar
# Terraform template downloaded from the UI. Use the
# commented values to locate the variables and copy the
# values from the downloaded template.
container_registry = {
name = "" # container_registry
username = "" # container_registry_username
registry_key = "" # container_registry_key
}
# Specify the maximum number of nodes you expect this cluster to
# have, taking into consideration future growth. This number must be
# at least equal to the number of nodes currently in your
Expand Down Expand Up @@ -254,7 +243,7 @@ module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
# Use the module version that is compatible with your sidecar.
version = "~> 4.0"
version = "~> 5.0"
sidecar_version = local.sidecar.sidecar_version
Expand All @@ -280,22 +269,16 @@ module "cyral_sidecar" {
load_balancer_scheme = local.sidecar.public_sidecar ? "internet-facing" : "internal"
associate_public_ip_address = local.sidecar.public_sidecar
deploy_secrets = true
secrets_location = "/cyral/sidecars/${cyral_sidecar.sidecar.id}/secrets"
container_registry = local.sidecar.container_registry.name
container_registry_username = local.sidecar.container_registry.username
container_registry_key = local.sidecar.container_registry.registry_key
client_id = cyral_sidecar_credentials.sidecar_credentials.client_id
client_secret = cyral_sidecar_credentials.sidecar_credentials.client_secret
}
output "sidecar_dns" {
value = module.cyral_sidecar.sidecar_dns
value = module.cyral_sidecar.dns
}
output "sidecar_load_balancer_dns" {
value = module.cyral_sidecar.sidecar_load_balancer_dns
value = module.cyral_sidecar.load_balancer_dns
}
```

Expand Down
Empty file modified docs/guides/native_credentials_aws_sm.md
100755 → 100644
Empty file.
Empty file modified docs/guides/pg_mysql_sidecar_policy.md
100755 → 100644
Empty file.
Empty file modified docs/guides/repo_level_policy.md
100755 → 100644
Empty file.
9 changes: 4 additions & 5 deletions docs/guides/s3_browser_and_aws_cli.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
# Use the module version that is compatible with your sidecar.
version = "~> 4.3"
version = "~> 5.0"
sidecar_id = cyral_sidecar.sidecar.id
control_plane = local.control_plane_host
Expand All @@ -271,17 +271,16 @@ module "cyral_sidecar" {
load_balancer_scheme = local.sidecar.public_sidecar ? "internet-facing" : "internal"
associate_public_ip_address = local.sidecar.public_sidecar
load_balancer_certificate_arn = local.sidecar.load_balancer_certificate_arn
load_balancer_tls_ports = [
local.repos.s3.browser_port
]
sidecar_dns_hosted_zone_id = local.sidecar.dns_hosted_zone_id
sidecar_dns_name = local.sidecar.dns_name
dns_hosted_zone_id = local.sidecar.dns_hosted_zone_id
dns_name = local.sidecar.dns_name
}
output "sidecar_load_balancer_dns" {
value = module.cyral_sidecar.sidecar_load_balancer_dns
value = module.cyral_sidecar.load_balancer_dns
}
```
24 changes: 3 additions & 21 deletions docs/guides/setup_cp_and_deploy_sidecar.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,6 @@ locals {
# Set the allowed CIDR block for monitoring requests to the
# sidecar
monitoring_inbound_cidr = ["0.0.0.0/0"]
# Set the parameters to access the private Cyral container
# registry. These parameters can be found in the sidecar
# Terraform template downloaded from the UI. Use the
# commented values to locate the variables and copy the
# values from the downloaded template.
container_registry = {
name = "" # container_registry
username = "" # container_registry_username
registry_key = "" # container_registry_key
}
}
}
Expand Down Expand Up @@ -159,7 +148,7 @@ module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
# Use the module version that is compatible with your sidecar.
version = "~> 4.0"
version = "~> 5.0"
sidecar_version = local.sidecar.sidecar_version
Expand All @@ -181,23 +170,16 @@ module "cyral_sidecar" {
load_balancer_scheme = local.sidecar.public_sidecar ? "internet-facing" : "internal"
associate_public_ip_address = local.sidecar.public_sidecar
deploy_secrets = true
secrets_location = "/cyral/sidecars/${cyral_sidecar.sidecar.id}/secrets"
container_registry = local.sidecar.container_registry.name
container_registry_username = local.sidecar.container_registry.username
container_registry_key = local.sidecar.container_registry.registry_key
client_id = cyral_sidecar_credentials.sidecar_credentials.client_id
client_secret = cyral_sidecar_credentials.sidecar_credentials.client_secret
}
output "sidecar_dns" {
value = module.cyral_sidecar.sidecar_dns
value = module.cyral_sidecar.dns
}
output "sidecar_load_balancer_dns" {
value = module.cyral_sidecar.sidecar_load_balancer_dns
value = module.cyral_sidecar.load_balancer_dns
}
```

Expand Down
44 changes: 4 additions & 40 deletions docs/guides/smart_ports.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ locals {
# Set the allowed CIDR block for monitoring requests to the
# sidecar
monitoring_inbound_cidr = ["0.0.0.0/0"]
# Set the parameters to access the private Cyral container
# registry. These parameters can be found in the sidecar
# Terraform template downloaded from the UI. Use the
# commented values to locate the variables and copy the
# values from the downloaded template.
container_registry = {
name = "" # container_registry
username = "" # container_registry_username
registry_key = "" # container_registry_key
}
}
}
Expand Down Expand Up @@ -316,7 +305,7 @@ module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
# Use the module version that is compatible with your sidecar.
version = "~> 4.0"
version = "~> 5.0"
sidecar_version = local.sidecar.sidecar_version
Expand All @@ -336,19 +325,12 @@ module "cyral_sidecar" {
load_balancer_scheme = local.sidecar.public_sidecar ? "internet-facing" : "internal"
associate_public_ip_address = local.sidecar.public_sidecar
deploy_secrets = true
secrets_location = "/cyral/sidecars/${cyral_sidecar.sidecar.id}/secrets"
container_registry = local.sidecar.container_registry.name
container_registry_username = local.sidecar.container_registry.username
container_registry_key = local.sidecar.container_registry.registry_key
client_id = cyral_sidecar_credentials.sidecar_credentials.client_id
client_secret = cyral_sidecar_credentials.sidecar_credentials.client_secret
}
output "sidecar_load_balancer_dns" {
value = module.cyral_sidecar.sidecar_load_balancer_dns
value = module.cyral_sidecar.load_balancer_dns
}
```

Expand Down Expand Up @@ -429,17 +411,6 @@ locals {
# Set the allowed CIDR block for monitoring requests to the
# sidecar
monitoring_inbound_cidr = ["0.0.0.0/0"]
# Set the parameters to access the private Cyral container
# registry. These parameters can be found in the sidecar
# Terraform template downloaded from the UI. Use the
# commented values to locate the variables and copy the
# values from the downloaded template.
container_registry = {
name = "" # container_registry
username = "" # container_registry_username
registry_key = "" # container_registry_key
}
}
}
Expand Down Expand Up @@ -588,7 +559,7 @@ module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
# Use the module version that is compatible with your sidecar.
version = "~> 4.0"
version = "~> 5.0"
sidecar_version = local.sidecar.sidecar_version
Expand All @@ -608,18 +579,11 @@ module "cyral_sidecar" {
load_balancer_scheme = local.sidecar.public_sidecar ? "internet-facing" : "internal"
associate_public_ip_address = local.sidecar.public_sidecar
deploy_secrets = true
secrets_location = "/cyral/sidecars/${cyral_sidecar.sidecar.id}/secrets"
container_registry = local.sidecar.container_registry.name
container_registry_username = local.sidecar.container_registry.username
container_registry_key = local.sidecar.container_registry.registry_key
client_id = cyral_sidecar_credentials.sidecar_credentials.client_id
client_secret = cyral_sidecar_credentials.sidecar_credentials.client_secret
}
output "sidecar_load_balancer_dns" {
value = module.cyral_sidecar.sidecar_load_balancer_dns
value = module.cyral_sidecar.load_balancer_dns
}
```
2 changes: 1 addition & 1 deletion docs/index.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ terraform {
required_providers {
cyral = {
source = "cyralinc/cyral"
version = "~> 4.1"
version = "~> 4.0"
}
}
}
Expand Down
Empty file modified docs/resources/access_token_settings.md
100755 → 100644
Empty file.
Empty file modified docs/resources/datalabel.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_aws_iam.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_datadog.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_elk.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_hc_vault.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_aad.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_adfs.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_forgerock.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_gsuite.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_okta.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_ping_one.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_saml.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_idp_saml_draft.md
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion docs/resources/integration_logging.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "cyral_sidecar_credentials" "creds" {
module "cyral_sidecar" {
source = "cyralinc/sidecar-ec2/aws"
version = "~> 4.0"
version = "~> 5.0"
sidecar_id = cyral_sidecar.sidecar.id
Expand Down
Empty file modified docs/resources/integration_logstash.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_looker.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_mfa_duo.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_microsoft_teams.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_pager_duty.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_slack_alerts.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_splunk.md
100755 → 100644
Empty file.
Empty file modified docs/resources/integration_sumo_logic.md
100755 → 100644
Empty file.
Empty file modified docs/resources/policy.md
100755 → 100644
Empty file.
Empty file modified docs/resources/policy_rule.md
100755 → 100644
Empty file.
Empty file modified docs/resources/policy_v2.md
100755 → 100644
Empty file.
Empty file modified docs/resources/rego_policy_instance.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository_access_gateway.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository_access_rules.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository_binding.md
100755 → 100644
Empty file.
3 changes: 2 additions & 1 deletion docs/resources/repository_conf_analysis.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ resource "cyral_repository_conf_analysis" "all_conf_analysis_enabled" {
disable_filter_analysis = false
enable_dataset_rewrites = true
enable_data_masking = true
mask_all_occurrences = true
comment_annotation_groups = [ "identity" ]
log_groups = [ "everything" ]
}
Expand All @@ -37,6 +38,7 @@ resource "cyral_repository_conf_analysis" "all_conf_analysis_disabled" {
disable_filter_analysis = true
enable_dataset_rewrites = false
enable_data_masking = false
mask_all_occurrences = false
comment_annotation_groups = []
log_groups = []
}
Expand Down Expand Up @@ -79,7 +81,6 @@ resource "cyral_repository_conf_analysis" "all_conf_analysis_disabled" {
- `error` - Log analysis errors.
- `new-connections` - Log new connections.
- `closed-connections` - Log closed connections.
- `mask_all_occurrences` (Boolean) If set to `true` it will also mask filtering conditions like in `WHERE`, `HAVING` or `ON` clauses. **Note**: Enabling this may cause some performance degradation on large tables. It is required to set `enable_data_masking=true` to use this feature.
- `redact` (String) Valid values are: `all`, `none` and `watched`. If set to `all` it will enable the redact of all literal values, `none` will disable it, and `watched` will only redact values from tracked fields set in the Datamap.

### Read-Only
Expand Down
Empty file modified docs/resources/repository_conf_auth.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository_datamap.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository_network_access_policy.md
100755 → 100644
Empty file.
Empty file modified docs/resources/repository_user_account.md
100755 → 100644
Empty file.
Empty file modified docs/resources/role.md
100755 → 100644
Empty file.
Empty file modified docs/resources/role_sso_groups.md
100755 → 100644
Empty file.
Empty file modified docs/resources/service_account.md
100755 → 100644
Empty file.
Empty file modified docs/resources/sidecar.md
100755 → 100644
Empty file.
Empty file modified docs/resources/sidecar_credentials.md
100755 → 100644
Empty file.
Empty file modified docs/resources/sidecar_listener.md
100755 → 100644
Empty file.

0 comments on commit 0eac919

Please sign in to comment.