Cis Azure Compute 4.1
DevOps & Securitycis-azure-compute-4.1Cis Azure Compute 4.1 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 SSL is configured for CycleCloud
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/Microsoft_Azure/CIS_Microsoft_Azure_Compute_Services_Benchmark_v2.0.0/cis-azure-compute-4.1/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-azure-compute-4-1, 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.
Ensure SSL is configured for CycleCloud
Description
The use of SSL ensures that data in transit to and from the Azure CycleCloud server is encrypted.
Rationale
Encryption of data in transit provides integrity and confidentiality of that data. If unencrypted data is intercepted in transit it is highly vulnerable to exposure and exploitation.
Impact
If using self-signed certificates, users accessing CycleCloud will receive a warning that the SSL certificate is untrusted; they will need to accept the certificate to access the web console. Depending on your environment and use of CycleCloud, you may wish to procure a signed and trusted certificate from a Certificate Authority.
Audit Procedure
From SSH
- Establish a secure shell session with the Azure CycleCloud server.
- Navigate to the CycleCloud installation directory.
- Use a text editor (e.g. Vim, Nano, Emacs) to open the
cycle_server.propertiesfile. - Review the file for the following properties:
webServerEnableHttps=true
webServerRedirectHttp=true
Note that if these properties are defined in the file multiple times, only the last instance of that property definition will be in effect.
If either property is set to false, SSL is NOT configured for the CycleCloud server.
Expected Result
Both webServerEnableHttps and webServerRedirectHttp should be set to true in the cycle_server.properties file.
Remediation
From SSH
- Establish a secure shell session with the Azure CycleCloud server.
- Navigate to the CycleCloud installation directory.
- Use a text editor (e.g. Vim, Nano, Emacs) to open the
cycle_server.propertiesfile. - Edit the following properties to reflect
true:
webServerEnableHttps=true
webServerRedirectHttp=true
- Save and exit from the text editor.
- Restart the CycleCloud service to enable the new property definitions:
/opt/cycle_server/cycle_server restart
Default Value
By default, CycleCloud is configured to use Java IO HTTPS with a Let's Encrypt SSL certificate, or self-signed certificate.
References
- https://learn.microsoft.com/en-us/azure/cyclecloud/how-to/ssl-configuration?view=cyclecloud-8
- https://learn.microsoft.com/en-us/azure/cyclecloud/concepts/security-best-practices?view=cyclecloud-8
Profile
Level 1 | Manual