wilma-sec 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. wilma_sec-0.2.1/CONTRIBUTING.md +76 -0
  2. wilma_sec-0.2.1/LICENSE +674 -0
  3. wilma_sec-0.2.1/MANIFEST.in +17 -0
  4. wilma_sec-0.2.1/PKG-INFO +265 -0
  5. wilma_sec-0.2.1/README.md +220 -0
  6. wilma_sec-0.2.1/pyproject.toml +125 -0
  7. wilma_sec-0.2.1/setup.cfg +4 -0
  8. wilma_sec-0.2.1/setup.py +10 -0
  9. wilma_sec-0.2.1/src/wilma/__init__.py +33 -0
  10. wilma_sec-0.2.1/src/wilma/__main__.py +189 -0
  11. wilma_sec-0.2.1/src/wilma/api.py +51 -0
  12. wilma_sec-0.2.1/src/wilma/assessment.py +603 -0
  13. wilma_sec-0.2.1/src/wilma/checker.py +352 -0
  14. wilma_sec-0.2.1/src/wilma/checks/__init__.py +32 -0
  15. wilma_sec-0.2.1/src/wilma/checks/agents.py +1898 -0
  16. wilma_sec-0.2.1/src/wilma/checks/fine_tuning.py +1190 -0
  17. wilma_sec-0.2.1/src/wilma/checks/genai.py +382 -0
  18. wilma_sec-0.2.1/src/wilma/checks/guardrails.py +1247 -0
  19. wilma_sec-0.2.1/src/wilma/checks/iam.py +300 -0
  20. wilma_sec-0.2.1/src/wilma/checks/knowledge_bases.py +2398 -0
  21. wilma_sec-0.2.1/src/wilma/checks/logging.py +174 -0
  22. wilma_sec-0.2.1/src/wilma/checks/network.py +212 -0
  23. wilma_sec-0.2.1/src/wilma/checks/tagging.py +151 -0
  24. wilma_sec-0.2.1/src/wilma/config.py +359 -0
  25. wilma_sec-0.2.1/src/wilma/enums.py +32 -0
  26. wilma_sec-0.2.1/src/wilma/exceptions.py +9 -0
  27. wilma_sec-0.2.1/src/wilma/reports.py +359 -0
  28. wilma_sec-0.2.1/src/wilma/utils.py +603 -0
  29. wilma_sec-0.2.1/src/wilma_sec.egg-info/PKG-INFO +265 -0
  30. wilma_sec-0.2.1/src/wilma_sec.egg-info/SOURCES.txt +32 -0
  31. wilma_sec-0.2.1/src/wilma_sec.egg-info/dependency_links.txt +1 -0
  32. wilma_sec-0.2.1/src/wilma_sec.egg-info/entry_points.txt +2 -0
  33. wilma_sec-0.2.1/src/wilma_sec.egg-info/requires.txt +20 -0
  34. wilma_sec-0.2.1/src/wilma_sec.egg-info/top_level.txt +1 -0
@@ -0,0 +1,76 @@
1
+ # Contributing to Wilma
2
+
3
+ Thank you for your interest in contributing! This project welcomes contributions from the GenAI security community.
4
+
5
+ ## How to Contribute
6
+
7
+ ### Reporting Issues
8
+ - Check if the issue already exists
9
+ - Provide clear reproduction steps
10
+ - Include error messages and logs
11
+ - Specify your AWS region and Python version
12
+
13
+ ### Suggesting Features
14
+ - Open an issue with the "enhancement" label
15
+ - Describe the use case and benefits
16
+ - Consider GenAI security implications
17
+
18
+ ### Submitting Pull Requests
19
+ 1. Fork the repository
20
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
21
+ 3. Make your changes
22
+ 4. Run tests and checks:
23
+ ```bash
24
+ pytest tests/ # Run test suite
25
+ ruff check src/ tests/ # Lint code
26
+ bandit -r src/ # Security scan
27
+ ```
28
+ 5. Commit with clear messages
29
+ 6. Push to your fork
30
+ 7. Open a Pull Request
31
+
32
+ ### Development Setup
33
+ ```bash
34
+ git clone https://github.com/ethanolivertroy/wilma.git
35
+ cd wilma
36
+
37
+ # Install with development dependencies
38
+ pip install -e ".[dev]"
39
+
40
+ # Verify installation
41
+ wilma --help
42
+ ```
43
+
44
+ ### CI/CD Integration
45
+ All pull requests automatically run:
46
+ - **Tests** across Python 3.9, 3.10, 3.11, 3.12, 3.13
47
+ - **Linting** with ruff
48
+ - **Security scanning** with bandit
49
+ - **Type checking** with mypy
50
+ - **Coverage check** (minimum 50% required while the 0.2.x reboot tightens coverage)
51
+
52
+ See `.github/workflows/test.yml` for details.
53
+
54
+ ### Code Style
55
+ - Follow PEP 8
56
+ - Use meaningful variable names
57
+ - Add comments for complex logic
58
+ - Keep security in mind
59
+ - Code is automatically checked by ruff in CI/CD
60
+
61
+ ### Testing
62
+ - All tests use mocked AWS services (no real AWS credentials needed)
63
+ - Test with different AWS configurations
64
+ - Verify standard mode and learning mode work
65
+ - Check JSON output format
66
+ - Keep coverage above the enforced threshold; aim higher for new Bedrock check modules
67
+
68
+ ### Areas of Interest
69
+ - New GenAI attack patterns
70
+ - Additional AWS service integrations
71
+ - Performance improvements
72
+ - Documentation enhancements
73
+ - Internationalization
74
+
75
+ ## License
76
+ By contributing, you agree that your contributions will be licensed under GPL v3.0.