Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

1.4 KB
Raw Blame
"""
ARES - core
Core ARES data models and engine

Public API for this package. Import from here in production code:

    from ares.core import ...
"""
from __future__ import annotations

try:
    from ares.core.campaign import (  # noqa: F401
        Campaign,
        Finding,
        NoiseProfile,
        ScopeEntry,
        Severity,
    )
except ImportError:
    pass  # Optional deps not installed

try:
    from ares.core.errors import (  # noqa: F401
        AresError,
        ModuleError,
        RateLimitError,
        ScopeViolationError,
        ValidationError,
    )
except ImportError:
    pass

try:
    from ares.core.logger import (  # noqa: F401
        get_logger,
    )
except ImportError:
    pass

try:
    from ares.core.config import (  # noqa: F401
        AresSettings,
        get_settings,
    )
except ImportError:
    pass

try:
    from ares.core.tracing import (  # noqa: F401
        async_span,
        get_current_trace_id,
        get_tracer,
        setup_tracing,
        span,
        trace_module,
    )
except ImportError:
    pass

__all__ = [
    "Campaign",
    "Finding",
    "Severity",
    "NoiseProfile",
    "ScopeEntry",
    "AresError",
    "ScopeViolationError",
    "RateLimitError",
    "ModuleError",
    "ValidationError",
    "get_logger",
    "AresSettings",
    "get_settings",
    "setup_tracing",
    "trace_module",
    "get_tracer",
    "get_current_trace_id",
    "async_span",
    "span",
]