mirror of
https://github.com/beenuar/AiSOC.git
synced 2026-11-24 08:35:46 +08:00
* feat(connectors): land T4 wave-3 marketplace scaffolding + harden 6 connectors (v8.0)
Closes the v8.0 north-star plan gap for T4 wave-3: the seven connector
*classes* (abnormal_security, box, datadog, dropbox, lacework, oci,
sublime_security) were already shipped, but the surrounding bits the
plan demands ("green CI + auto-generated docs + visible in
/marketplace") were missing for six of seven.
What lands here
- plugins/<connector>/plugin.yaml x 6 - config_schema mirroring each
connector's ConnectorSchema, secrets marked, /marketplace-renderable.
Lacework already had one; matched its conventions.
- apps/docs/docs/connectors/<connector>.md x 6 - full setup walkthroughs
(auth flow, severity ladder, capabilities, polling, troubleshooting).
Severity tables match the code byte-for-byte (verified against each
module's HIGH_RISK_* / SEVERITY_* dicts).
- services/connectors/tests/test_wave3_connectors.py - 39 tests across
the seven connectors covering: schema sanity (required fields,
secrets marked, category set), capabilities tuple, normalize()
severity ladder for each tier, test_connection() happy path, and
fetch_alerts() error swallowing (HTTP 5xx + network exceptions).
Bug fixes uncovered by the test suite
- abnormal_security.fetch_alerts now swallows httpx.HTTPError /
httpx.InvalidURL on the per-request boundary; previously a DNS or
TLS hiccup would crash the polling loop.
- datadog._fetch_logs / _fetch_events: same defensive treatment.
- box, dropbox, sublime_security, oci: same per-request try/except
wrapping the GET/POST so a network blip stops paginating cleanly
rather than crashing.
Test results
cd services/connectors && poetry run pytest tests/
633 passed in 2.99s # including the new 39
Plan reference
plans/aisoc_v8.0_north_star_plan_1dee8c63.plan.md -> T4 wave-3
("the last 5-6 connectors", P1, S-M effort)
* chore(marketplace): rebuild index.json after wave-3 connector plugins
CI run 28283993657 failed with:
marketplace/index.json is stale. Run: pnpm marketplace:build
We added seven new wave-3 plugin manifests (`abnormal_security`,
`box`, `datadog`, `dropbox`, `oci`, plus the already-shipped
`sublime_security`) but never regenerated the index. Running
`python3 scripts/build_marketplace.py` updates the on-disk index
and its public mirror.
Stats delta:
plugins: 56 → 63
total: 7116 → 7123
Verified by re-running `python3 scripts/build_marketplace.py --check`
locally (now reports `up to date (7123 items)`). All six newly
registered plugins appear under `type=plugin` with `tier=stable`.
No code change; only the generated index file and its public copy
under `apps/web/public/marketplace/index.json`.
---------
Co-authored-by: Beenu Arora <beenu@MacBook-Pro.local>
27 lines
942 B
YAML
27 lines
942 B
YAML
id: abnormal_security
|
|
name: Abnormal Security Connector
|
|
version: "1.0.0"
|
|
plugin_type: connector
|
|
tier: stable
|
|
description: >
|
|
Abnormal Security behavioural-AI email threat events. Polls /v1/threats
|
|
and /v1/cases for BEC, credential phishing, account takeover, and
|
|
invoice-fraud detections, then normalises them to the AiSOC alert shape
|
|
with a high/medium/low severity ladder.
|
|
author: AiSOC Core Team
|
|
tags: [email-security, saas, bec, phishing, abnormal]
|
|
homepage: https://github.com/beenuar/AiSOC/tree/main/services/connectors/app/connectors/abnormal_security.py
|
|
license: MIT
|
|
min_aisoc_version: "4.0.0"
|
|
config_schema:
|
|
type: object
|
|
required: [api_token]
|
|
properties:
|
|
base_url:
|
|
type: string
|
|
description: API base URL. Defaults to https://api.abnormalplatform.com.
|
|
api_token:
|
|
type: string
|
|
description: Bearer token issued from Abnormal Console → Settings → Integrations → API.
|
|
secret: true
|