44 lines
901 B
Python
44 lines
901 B
Python
"""
|
|
WAF Intelligence Engine - Analyze, audit, and generate Cloudflare WAF rules.
|
|
|
|
This module provides tools to:
|
|
- Analyze existing WAF rules for gaps and compliance issues
|
|
- Generate new WAF rules based on threat models
|
|
- Map rules to compliance frameworks (NIST, PCI-DSS, GDPR, etc.)
|
|
- Validate Terraform WAF configurations
|
|
|
|
Export primary classes and functions:
|
|
"""
|
|
|
|
__version__ = "0.3.0"
|
|
|
|
from .analyzer import (
|
|
AnalysisResult,
|
|
RuleViolation,
|
|
WAFRuleAnalyzer,
|
|
)
|
|
from .compliance import (
|
|
ComplianceMapper,
|
|
FrameworkMapping,
|
|
)
|
|
from .generator import (
|
|
GeneratedRule,
|
|
WAFRuleGenerator,
|
|
)
|
|
from .orchestrator import (
|
|
WAFInsight,
|
|
WAFIntelligence,
|
|
)
|
|
|
|
__all__ = [
|
|
"WAFRuleAnalyzer",
|
|
"WAFRuleGenerator",
|
|
"ComplianceMapper",
|
|
"WAFIntelligence",
|
|
"WAFInsight",
|
|
"RuleViolation",
|
|
"AnalysisResult",
|
|
"GeneratedRule",
|
|
"FrameworkMapping",
|
|
]
|