Files
rengine/shared/definitions/api_keys.py
T
Yogesh Ojha be75bde8b0 feat(api-keys): group providers by what each adds
Every provider carries a group: subdomain sources, lookups, exploit
intelligence, bug bounty platforms, out-of-band testing and chat. The
labels are one map in shared/definitions/api_keys.py with a mirror in
config/api-keys.ts, and the provider list returns the group and its
label. The Telegram provider and the shared notification bot are
mirrored on the frontend, and a grammar test pins all three mirrors.

Claude-Session: https://claude.ai/code/session_01RVAHQxZ7JAkoEiTCDiHYue
2026-09-27 10:00:33 +05:30

20 lines
648 B
Python

"""API key providers grouped by what each adds."""
from shared.enums.api_key import ProviderGroup
PROVIDER_GROUP_LABELS: dict[str, str] = {
ProviderGroup.SUBDOMAINS.value: "Subdomain sources",
ProviderGroup.LOOKUPS.value: "Lookups",
ProviderGroup.EXPLOIT_INTEL.value: "Exploit intelligence",
ProviderGroup.BOUNTY_PLATFORMS.value: "Bug bounty platforms",
ProviderGroup.OAST.value: "Out-of-band testing",
ProviderGroup.CHAT.value: "Chat",
}
# the groups the setup key step shows
RECON_GROUPS: tuple[str, ...] = (
ProviderGroup.SUBDOMAINS.value,
ProviderGroup.LOOKUPS.value,
ProviderGroup.EXPLOIT_INTEL.value,
)