Building custom connectors IT and Infosec systems

Hi, I am trying to build a bunch of custom connectors for various systems. I have built connectors for
SentinelOne (updated one I created in a past job)
EndOfLifeDate,
DMARCLY
Abnormal Email.
I have had no luck with the existing JIRA connector so I am looking at creating my own JIRA connector but also creating connectors for
Wiz - CSPM (Getting token but not yet got queries working)
Zoho EndPoint Central (Authentication is a multi step issue here !)
Appcheck (Nearly Finished)
Initigriti Bug Bounty Program (Not started)
HaveIBeenPwned (Not Started)
EasyDMARC (Not looking at this until next year)
Rather than reinventing the wheel, I was wondering if anyone else had made (or tried to make) connectors for any of these and would be willing to share their code.
In a previous job I have also previously created connectors for:
AlienVault, CSC Global, Detectify, IBM X Force, OutPost24 SWAT, Shodan, URL Scan and Nominet 😁
Answers
-
I have not. But you could use Jupyter Notebooks and Python to establish connections to the APIs of the tools you've mentioned.
Wiz - CSPM:
import requests
token = "your_api_token"
headers = {"Authorization": f"Bearer {token}"}
url = "https://api.wiz.io/your_endpoint"
response = requests.get(url, headers=headers)
data = response.json()Zoho EndPoint Central:
import requests
auth_url = "https://accounts.zoho.com/oauth/v2/auth"
token_url = "https://accounts.zoho.com/oauth/v2/token"
client_id = "your_client_id"
client_secret = "your_client_secret"
redirect_uri = "your_redirect_uri"
code = "authorization_code"
token_data = {
"grant_type": "authorization_code",
"client_id": client_id,
"client_secret": client_secret,
"redirect_uri": redirect_uri,
"code": code,
}
response = requests.post(token_url, data=token_data)
access_token = response.json().get("access_token")
# Use the access token to make API calls
Appcheck:
import requests
url = "https://api.appcheck.com/v1/your_endpoint"
headers = {"Authorization": "Bearer your_token"}
response = requests.get(url, headers=headers)
data = response.json()
Intigriti Bug Bounty Program:
import requests
url = "https://api.intigriti.com/your_endpoint"
headers = {"Authorization": "Bearer your_token"}
response = requests.get(url, headers=headers)
data = response.json()HaveIBeenPwned:
import requests
email = "test@example.com"
url = f"https://haveibeenpwned.com/api/v3/breachedaccount/{email}"
headers = {
"User-Agent": "YourAppName",
"hibp-api-key": "your_api_key"
}
response = requests.get(url, headers=headers)
data = response.json()** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 310 Workbench
- 7 Cloud Amplifier
- 9 Federated
- 3K Transform
- 114 SQL DataFlows
- 654 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 796 Beast Mode
- 78 App Studio
- 44 Variables
- 757 Automate
- 188 Apps
- 480 APIs & Domo Developer
- 72 Workflows
- 17 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 408 Distribute
- 119 Domo Everywhere
- 279 Scheduled Reports
- 10 Software Integrations
- 141 Manage
- 137 Governance & Security
- 8 Domo Community Gallery
- 47 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive