VM Enforcer tar file is not removed after the installation finishes when using the install_vme.sh script

Open Beginner friendly
#564 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
shell
Domain
devops

Research direction

Start by reading enforcers/vm_enforcer/shell/install_vme.sh and follow the installation flow through its final steps. Add cleanup for the unnecessary enforcer tar file, then verify that the installation completes successfully and leaves no tar artifact behind.

Written by the indexing model from the issue text.

Description

Hi Aqua Team,

I noticed you are not removing the enforcer tar file after the installation finishes in the install_vme.sh script. My Elastic Beanstalk environment was running out of disk space when I had to debug why and realized that the enforce tar file was still there.

Please add the cleanup option to VM enforcer install script (enforcers/vm_enforcer/shell/install_vme.sh) which removes all unnecessary files. Thank you!

Dominant language
Shell
Stars
64
Forks
109
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aquasecurity/deployments

All issues in aquasecurity/deployments

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.