"""CrowdStrike API constants."""

# Time windows
DAY_WINDOW_SIZE = 3
DELAY_BETWEEN_WINDOWS = 3  # seconds

# API settings
API_BASE = "https://api.crowdstrike.com"
API_TIMEOUT = 60
MAX_RETRIES = 10
SSL_RETRIES = 3
TOKEN_REFRESH_BUFFER_SECONDS = 300

# Search job settings
MAX_WAIT_MINUTES = 60
POLL_INTERVAL_SEC = 2
PAGINATION_LIMIT = 5000
SEARCH_JOB_LIMIT = 200000

# Query limits
QUERY_TAIL_LIMIT = 10_000

# Repository
BASE_SENSOR_REPO = "search-all"
