This script automates the process of deleting stale data (DELETED and STOPPED containers) in the Qualys portal using the Delete Container Security API.
- Utilizes the Qualys API to remove stale container data.
- Supports deletion of both DELETED and STOPPED container states.
- Python 3.x
requests
libraryyaml
library
- Install required Python libraries:
pip install requests pyyaml
export QUALYS_API_USERNAME='your_username'
export QUALYS_API_PASSWORD='your_password'