Giter Site home page Giter Site logo

bottlerocket-control-container's People

Contributors

arnaldo2792 avatar cbgbt avatar ecpullen avatar etungsten avatar iliana avatar jahkeup avatar jpculp avatar kcsesh avatar markusboehme avatar rpkelly avatar samuelkarp avatar tjkirch avatar vyaghras avatar webern avatar wilbomo avatar yeazelm avatar ytsssun avatar zmrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bottlerocket-control-container's Issues

Allow setting VPC endpoints for AWS SSM agent

Image I'm using:

Issue or Feature Request:

In our setup, we need to set VPC endpoints for aws ssm agent, and not pass all the communication via proxy. It will be nice, when there will be possible to set vpc endpointf for ssm agent / push own content of amazon-ssm-agent.json using bottlerocket settings.

Improve accounts management for SSM sessions

Issue or Feature Request:

With the current control container, there isn't any type of enforcement on passwords, inactive accounts, historical password storage, lock outs, etc. We could increase the security of the admin container by enforcing some of this through policies. A good example of what the policy should enforce is as follows:

  • Inactive accounts โ€“ 90 days
  • 15 minute idle sessions
  • Lock within 10 failed attempts, for 30 minutes or more
  • New and unique value for all new accounts
    • Minimum 12 characters, contain numbers and letters
    • Remember the last 4 passwords within the last 12 months
    • Passwords changed every 90 days

SSM logging expects script binary to be available

What I'd like:

To have script installed such that the SSM logging works.

Currently I get this message ending up in the log bucket:

unable to generate log data: Failed to generate transcript with the following errors:
exec: "script": executable file not found in $PATH:
exec: "script": executable file not found in $PATH:

For example, I run:

aws ssm start-session --target i-xyz

I am now connected to the instance. I should expect to see logs in the log bucket which is configured as part of SSM, however I only see a stderr file with the logs shown above.

Any alternatives you've considered:

Not sure there is another option, I assume it depends on what the SSM agent expects is available on the node where it's running.

Install jq

In order for maintenance scripts to be able to parse the output of apiclient, it would be useful to install jq to provide for easy field extraction.

See bottlerocket-os/bottlerocket#1165 for additional details.

Set PS1

In Bottlerocket, we're adding the ability to jump between host containers using apiclient, so it'd be useful to set the PS1 variable in the control container's bash configuration to identify where you are.

Non-AWS control container

Image I'm using:

Issue or Feature Request:
Is it possible to have a control container that is independent of AWS?
Is there any documentation on how to achieve this? That is, the functionality and integration points the container provides/respects.

I assume such a container would be associated with a new variant?

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.