iwtools
iwtools copied to clipboard
ImmuniWeb® Community Edition CLI for CI/CD
iwtools — ImmuniWeb® Community Edition CLI
Simple CLI interface to leverage ImmuniWeb® Community Edition free tools in CI/CD pipelines and DevOps.
Prepare
Create virtual environment and install dependencies. Python >= 3.7 required.
git clone https://github.com/immuniweb/iwtools.git
cd iwtools/iwtools
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
Instead of preparing and configuring the environment yourself, you can use our Docker Image.
Usage
Cloud Security Test
Check your cloud security and exposure of unprotected or misconfigured cloud storage in more than 20 cloud storage providers:
./iwtools.py cloud example.com
Main features:
- Detect Unprotected Cloud Storage
- Discover Shadow Cloud Accounts
- Detect IAM Misconfigurations
- Prevent Data Leaks and Breaches
Email Security Test
Check your email server for misconfigurations or vulnerabilities:
./iwtools.py email immuniweb.com
Main features:
- Email Server Security
- Email Server Encryption
- DNS Misconfigurations
- Blacklists & Spam Reports
- Compromised Credentials
- Phishing Campaigns
Website Security Test
Check your website for GDPR and PCI DSS compliance, test CMS and CSP security, verify web server hardening and privacy:
./iwtools.py websec https://www.immuniweb.com
Main features:
- GDPR & PCI DSS Test
- Website CMS Security Test
- CSP & HTTP Headers Check
- WordPress & Drupal Scanning
Mobile App Security Test
Audit your iOS or Android apps for OWASP Mobile Top 10 and other vulnerabilities:
Local mobile app check:
./iwtools.py mobile /home/user/myapp/build/myapp.apk
Remote mobile app check:
./iwtools.py mobile https://example.com/download/myapp.apk
Published mobile app check:
./iwtools.py mobile https://play.google.com/store/apps/details?id=com.app.my
Main features:
- iOS/Android Security Test
- OWASP Mobile Top 10 Test
- Mobile App Privacy Check
- Mobile Security Scan
Dark Web Exposure Test
Monitor and detect your Dark Web exposure, phishing and domain squatting:
./iwtools.py darkweb www.immuniweb.com
Main features:
- Dark Web Exposure Monitoring
- Phishing Detection and Monitoring
- Domain Squatting Monitoring
- Trademark Infringement Monitoring
SSL Security Test
Test your servers for security and compliance with PCI DSS, HIPAA & NIST:
Web Server check:
./iwtools.py ssl immuniweb.com:443
Mail Server check:
./iwtools.py ssl immuniweb.com:25
Main features:
- Web Server SSL Test
- Email Server SSL Test
- SSL Certificate Test
- PCI DSS, HIPAA & NIST Test
Utilization in CI/CD
When executing the script you can specify option -p or --pipeline parameter, which will compare the results of the
test with pre-determined results in a configuration file.
This can be done only when using websec, ssl and email services.
The result of the comparison can be viewed in the Exit Code of the script.
./iwtools.py email immuniweb.com -p
./iwtools.py websec https://www.immuniweb.com -p
./iwtools.py ssl www.immuniweb.com:443 -p
By default, iwtools uses configuration file config/email.yaml for email service,
config/websec.yaml for websec service, and config/ssl.yaml for ssl.
You can change the values in these 3 files, or use your own configuration file.
The path to the file will need to be specified upon iwtools' launch:
./iwtools.py websec https://www.immuniweb.com -cfg config/websec-new.yaml
Currently only yaml and json formats are supported.
List of parameters that can be configured.
The script's Exit Code can return one of these 4 status codes:
- 0 - all checks have passed successfully.
- 1 - an error occured.
- 2 - an error occured in the input data.
- 3 - at least one of the checks has failed.
Command line options: documentation Read more: ImmuniWeb® Community Edition
This software is provided "as is" without any warranty of any kind. By using this software you agree to the Terms of Service: https://www.immuniweb.com/pages/legal.html By using this software you accept the Privacy Policy: https://www.immuniweb.com/pages/privacy.html