This repository contains Jenkins Groovy scripts designed to automate various operations on F5 WAF systems. These scripts streamline routine tasks, making it easier to manage F5 WAF configurations and updates efficiently.
The repository includes automation scripts for the following tasks:
-
UCS Backup
- Automates the backup of UCS (User Configuration Sets) files.
- Stores backup files in ECS.
-
Node, Pool, and Virtual Server Management
- Add or delete nodes, pools, and virtual servers in the WAF system.
-
Malicious IP Reporting
- Retrieve a list of malicious IPs and generate reports.
-
Policy Control
- Disable policies on the WAF system when required.
-
Signature Management
- Enable or disable signatures.
- Apply updated signatures to policies.
-
Geo Update
- Update geo data in the WAF system.
To use these scripts, ensure the following:
- A working Jenkins environment.
- Proper access to the F5 WAF system with necessary permissions.
- ECS configured for storing UCS backups.
- Groovy plugin installed in Jenkins.
- Necessary credentials and endpoint details for interacting with the F5 WAF.
-
Clone the repository:
git clone https://github.com/yourusername/waf-f5-automation.git
-
Configure Jenkins to use the scripts:
- Add the scripts as Jenkins Pipeline scripts or as standalone Jenkins jobs.
- Set up parameters as required for each script.
-
Update configurations:
- Modify the scripts to include your specific environment details (e.g., API endpoints, authentications, ECS bucket names).
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push the branch.
- Submit a pull request with a detailed description of your changes.