# Joined value is public

A join or Fn::Join of known literals that results in 0.0.0.0/0 or ::/0.

Area: Security

## What you need to supply

The separator and every list element must be literals or already-resolved references. An unknown element leaves the value unresolved.

## If it reports a finding

High severity. The suggested next step is to replace the joined public range with an approved range.

## What this does not prove

A joined 10.0.0.0/24 is not this finding. cidrsubnet and coalesce stay unresolved. The same value is not reported twice on the same argument.

## Join that this check is written to notice

```
variable "a" {
  default = "0.0.0.0"
}
variable "b" {
  default = "0"
}
resource "aws_security_group" "web" {
  ingress {
    cidr_blocks = [join("/", [var.a, var.b])]
  }
}
```

Reading this page does not submit infrastructure. The HTML page is https://skaleagents.com/checks/joined-value-is-public.
