Add Cyble IOC workflow - #320
Open
prasad-cyble wants to merge 2 commits into
Open
Conversation
Signed-off-by: Prasad Boke <prasad.boke@cyble.com>
Signed-off-by: Prasad Boke <prasad.boke@cyble.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Cyble IOC workflow (Universal Cloud REST API)
Summary
Adds a new community log source workflow that ingests Indicators of Compromise (IOCs) from Cyble Vision into QRadar via the Universal Cloud REST API protocol. This complements the existing Cyble Threat Intel (alerts) workflow.
New files under
Community Developed/Cyble IOC/:Cyble-IOC-Workflow.xml— the workflowCyble-IOC-Workflow-Parameter-Values.xml— parameter values template (no secrets)README.md— setup, parameters, filter discovery, and versioning notesWhat it does
POST /engine/api/v4/y/iocs(JSON body,Bearerauth), onePostEventper IOC into Universal DSM.ioc_type,risk_gte/risk_lte(risk rating range), and optionalregionsandindustries.Splits a comma-separatedioc_typeand runs one paginated pass per type.fetch_since, thenfromDate = last toDate + 1), formatted to the date-only (yyyy-MM-dd) window the IOC API expects.last_seenhigh-water mark and posts only newer IOCs, stopping pagination as soon as it reaches already-ingested ones.limit=100) to avoid upstream504: Gateway Timeout.Design decisions validated against the live API
iocType/regions/industries(JSON arrays return500);riskRatingis a JSON object.regions/industriesare ignored by the API (equivalent to no filter), so they're always sent and safe to leave blank.GET /engine/api/v2/y/iocs/filtersendpoint to discover valid filter values, with the current enumerations (IOC types, regions, industries, confidence ratings).