Cis AWS Compute 10.4
DevOps & Securitycis-aws-compute-10.4Cis AWS Compute 10.4 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure that HTTPS is enabled on load balancer
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Compute_Services_Benchmark_v1.1.0/cis-aws-compute-10.4/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-compute-10-4, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
10.4 Ensure that HTTPS is enabled on load balancer (Manual)
Description
The simplest way to use HTTPS with an Elastic Beanstalk environment is to assign a server certificate to your environment's load balancer.
Rationale
When you configure your load balancer to terminate HTTPS, the connection between the client and the load balancer is secure.
Impact
N/A
Audit Procedure
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com/elasticbeanstalk
- On the left hand side click
Environments - Click on the
Environment namethat you want to review - Under the "environment_name-env" click
Configuration - Scroll down under Configurations
- Under category look for
Load balancer - Click
Edit - Under the
Listenerssection - Check the Listeners section for any enabled listeners and make sure the Protocol is set to HTTPS and Enabled.
- If the Listener is required for HTTP and is not set to HTTPS refer to the remediation below.
- Repeat steps 3-10 for each environment within the current region.
- Then repeat the Audit process for all other regions.
Using AWS CLI
N/A - This control is manual and console-based.
Expected Result
All enabled Listeners under the Load balancer configuration have their Protocol set to HTTPS and are Enabled.
Remediation
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com/elasticbeanstalk
- On the left hand side click
Environments - Click on the
Environment namethat you want to review - Under the "environment_name-env" click
Configuration - Scroll down under Configurations
- Under category look for
Load balancer - Click
Edit - Under the
Listenerssection - Click
Add listener
Set listener port
Set Listener protocol to HTTPS
Set Instance Port
Sent Instance protocol to HTTPS
Select your SSL certificate
- Click
Add - Make sure it is listed as enabled. If you have other listeners not using HTTPS make sure to turn off enabled
- Click
Applyto save the configuration changes. - Repeat steps 3-12 for each environment within the current region.
- Then repeat the remediation for all other regions.
Using AWS CLI
N/A - This control is manual and console-based.
Default Value
HTTPS is not configured on Elastic Beanstalk load balancers by default.
References
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 3.10 Encrypt Sensitive Data in Transit | X | X | |
| v7 | 14.4 Encrypt All Sensitive Information in Transit | X | X |
Profile
Level 1 | Manual