Skip to content

feat/add sangfor sip api#104

Merged
xiami762 merged 5 commits intomainfrom
feat/add-sangfor-sip-api
Apr 13, 2026
Merged

feat/add sangfor sip api#104
xiami762 merged 5 commits intomainfrom
feat/add-sangfor-sip-api

Conversation

@duguwanglong
Copy link
Copy Markdown
Contributor

feat(plugins): add Sangfor SIP and XDR API plugins
Add built-in Flocks tool plugins for Sangfor SIP and Sangfor XDR platforms.
Sangfor SIP:

  • Provider config with base URL and API token auth
  • Handler script covering events, assets, risk, and vulnerability queries
  • Tool YAMLs: sangfor_sip_events, sangfor_sip_assets, sangfor_sip_risk, sangfor_sip_vuln
    Sangfor XDR:
  • Provider config with AK/SK auth support
  • Handler script with HMAC-SHA256 canonical request signing;
    AK/SK derived from auth_code via AES-CBC decryption
  • Tool YAMLs: sangfor_xdr_alerts, sangfor_xdr_incidents, sangfor_xdr_responses,
    sangfor_xdr_whitelists, sangfor_xdr_assets, sangfor_xdr_vulns
    Also includes WebUI fixes merged from main:
  • fix(webui): defer session creation until user sends first message
  • fix(webui): restore immediate session creation on Session page
  • fix(webui): delegate "view dialog" button stays disabled during sub-agent execution

Add built-in Flocks tool plugins for Sangfor SIP and Sangfor XDR platforms:

- sangfor_sip: provider config, script handler, and tool YAMLs for
  events, assets, risk, and vulnerability management
- sangfor_xdr: provider config, HMAC-SHA256 AK/SK auth handler, and
  tool YAMLs for alerts, incidents, responses, whitelists, assets,
  and vulnerability management

XDR auth derives AK/SK from auth_code via AES-CBC decryption and signs
requests using the official HMAC-SHA256 canonical request scheme.

Made-with: Cursor
@duguwanglong duguwanglong requested a review from xiami762 April 13, 2026 06:47
@xiami762 xiami762 merged commit 3c6f153 into main Apr 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants