Coder Social home page Coder Social logo

terraform-aws-banyan-accesstier's Issues

Regenerate terraform-docs

After PRs are merged, it would be nice to rerun terraform-docs latest 0.12 version to keep all inputs up to date.

sensitive variable causing output error

When refresh token is passed as a sensitive variable from terraform cloud, terraform is throwing the following error - refer to the screenshot below.

banyan_bug

output "conf" { value = aws_launch_configuration.conf description = "The aws_launch_configuration.confresource" }

above block is causing the error. I checked the source.

`resource aws_launch_configuration "conf" {
name_prefix = "${var.name_prefix}-accesstier-conf-"
image_id = var.ami_id != "" ? var.ami_id : data.aws_ami.default_ami.id
instance_type = var.instance_type
key_name = var.ssh_key_name

.....
.....
.....

user_data = join("", concat([

"./install ${var.refresh_token} ${var.cluster_name} \n",
`

So when this aws_launch_configuration is trying to output the values, it seems to throw the error.

imds v2 ec2 enablement

banyan instances were flagged for IMDSv2 check. Need adding configuration in the launch configuration to enabled IMDSv2
metadata_options {
http_endpoint = "enabled"
http_tokens = "required"
http_put_response_hop_limit = 1
}

Limit Access Tier Outbound Traffic

Feature Request: Limit Access Tier Outbound Traffic

Currently, the AWS Security Group autogenerated by the Terraform module allows unrestricted egress traffic.

Unrestricted egress traffic represents a security risk to any organization, as it enables sending unwanted traffic out to the Internet. If a compromise of the Access Tier host occurs, attackers could exploit this misconfiguration in order to communicate with malicious external servers and exfiltrate information, among others. On top of that, unrestricted egress traffic goes against security best practices and compliance standards such as PCI DSS, HIPAA or NIST SP 800-53.

According to the Banyan Access Tier network configuration guide, required outbound traffic is limited to:

  • TCP connectivity to its Shield (Cluster Coordinator) to register with the Command Center, receive policies, and send event data.
  • TCP 443 connectivity to the Command Center ({ccname}.console.banyanops.com) to obtain a one-time-key required for installation when using automated bootstrapping.
  • TCP 443 connectivity to the Command Center TrustProvider component ({orgname}.trust.banyanops.com) in order to authenticate OIDC JWT tokens used for web access.
  • Connectivity to all the internal applications and services secured behind Banyan.

Considering the aforementioned, I'd like to request any module changes required to enable outbound traffic filtering.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.