ThreatPinchLookup
ThreatPinchLookup copied to clipboard
GreyNoise.io Integration
Add API integration for GreyNoise.io. I used the wizard and believe that I got a good result, raw schema included below. Not sure if this is the correct way to share new integrations, the documentation mentioned creating a new issue to do so.
{
"lookupName": "GreyNoise",
"lookupVariable": "GREYNOISE",
"lookupType": "IPV4",
"lookupUrl": "http://api.greynoise.io:8888/v1/query/ip",
"httpHeaders": "",
"httpType": "POST",
"dataType": "JSON",
"dataSchema": {
"0_GreyNoise.io": {
"title": "GreyNoise.io",
"mapping": "${PINCH.LINKURL}",
"order": 0,
"linkTitle": "${PINCH.HOVERITEM}",
"linkUrl": "https://www.google.com/search?q=${PINCH.HOVERITEM}"
},
"1_returned_count": {
"title": "returned_count",
"mapping": "${PINCH.RESPONSE.returned_count}",
"order": 1
},
"2_name": {
"title": "name",
"mapping": "${PINCH.LOOP.name}",
"order": 2,
"jsonpath": "$.records[:10]",
"jsonpathloop": true,
"condition": "true"
},
"3_first_seen": {
"title": "first_seen",
"mapping": "${PINCH.LOOP.first_seen}",
"order": 3,
"jsonpath": "$.records[:10]",
"jsonpathloop": true,
"condition": "true"
},
"4_last_updated": {
"title": "last_updated",
"mapping": "${PINCH.LOOP.last_updated}",
"order": 4,
"jsonpath": "$.records[:10]",
"jsonpathloop": true,
"condition": "true"
},
"5_confidence": {
"title": "confidence",
"mapping": "${PINCH.LOOP.confidence}",
"order": 5,
"jsonpath": "$.records[:10]",
"jsonpathloop": true,
"condition": "true"
},
"6_intention": {
"title": "intention",
"mapping": "${PINCH.LOOP.intention}",
"order": 6,
"jsonpath": "$.records[:10]",
"jsonpathloop": true,
"condition": "true"
},
"7_category": {
"title": "category",
"mapping": "${PINCH.LOOP.category}",
"order": 7,
"jsonpath": "$.records[:10]",
"jsonpathloop": true,
"condition": "true"
},
"8_org": {
"title": "org",
"mapping": "${PINCH.LOOP.org}",
"order": 8,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"9_rdns": {
"title": "rdns",
"mapping": "${PINCH.LOOP.rdns}",
"order": 9,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"10_rdns_parent": {
"title": "rdns_parent",
"mapping": "${PINCH.LOOP.rdns_parent}",
"order": 10,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"11_datacenter": {
"title": "datacenter",
"mapping": "${PINCH.LOOP.datacenter}",
"order": 11,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"12_asn": {
"title": "asn",
"mapping": "${PINCH.LOOP.asn}",
"order": 12,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"13_os": {
"title": "os",
"mapping": "${PINCH.LOOP.os}",
"order": 13,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"14_link": {
"title": "link",
"mapping": "${PINCH.LOOP.link}",
"order": 14,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
},
"15_tor": {
"title": "tor",
"mapping": "${PINCH.LOOP.tor}",
"order": 15,
"jsonpath": "$.records[:10].metadata",
"jsonpathloop": true,
"condition": "true"
}
},
"disabled": false,
"iocs": true,
"authorizationType": "DEFAULT",
"requestGroup": "INTERNET",
"httpPostData": "ip=${PINCH.HOVERITEM}",
"excludePivots": [],
"sample": "119.29.198.201",
"order": 999999
}
Hi @co-devs,
Very cool, thanks for creating this. I was able to add it pretty easily and it looks to work great! I'll see about adding it the next time I push a release.
For future reference, on the settings page there is actually a "Share" button for all the API integrations, which will open a page that you can just copy the URL and share it with other people. If the integration has "User Defined" settings - such as API keys/passwords - these settings won't be shared, the person receiving the link will just need to add their own details to the user defined bits.
chrome-extension://ljdgplocfnmnofbhpkjclbefmjoikgke/src/options/wizard.html?RL=eyJsb29rdXBOYW1lIjoiR3JleU5vaXNlIiwibG9va3VwVmFyaWFibGUiOiJHUkVZTk9JU0UiLCJsb29rdXBUeXBlIjoiSVBWNCIsImxvb2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