-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from GreyNoise-Intelligence/v1.3.0-updates
v1.3.0 Updates
- Loading branch information
Showing
27 changed files
with
210 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
Binary file not shown.
Binary file not shown.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
greynoise==1.1.0 | ||
greynoise==2.0.1 | ||
swimbundle-utils==4.3.3 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"name": "Get IP Similarity Lookup", | ||
"description": "If an IP is not found in this API, it means that GreyNoise has either never observed the IP or does not have enough information about that IP to determine similarity.", | ||
"version": "1.3.0", | ||
"family": "Investigation", | ||
"actionType": "GetIpSimilarityLookup", | ||
"assetDependencyType": "GreyNoise", | ||
"assetDependencyVersion": "1.3.0", | ||
"inputParameters": { | ||
"ip": { | ||
"name": "IP", | ||
"type": 1, | ||
"description": "IP", | ||
"example": "121.158.102.32" | ||
}, | ||
"limit": { | ||
"name": "Limit", | ||
"type": 6, | ||
"description": "Limit", | ||
"example": "50" | ||
}, | ||
"minimum_score": { | ||
"name": "Minimum Score", | ||
"type": 6, | ||
"description": "Minimum Score", | ||
"example": "0.85" | ||
} | ||
}, | ||
"availableOutputTypes": [ | ||
"email", | ||
"insertUpdateRecord", | ||
"referentialTask", | ||
"saveToFile", | ||
"setFieldValue" | ||
], | ||
"availableOutputVariables": { | ||
"ip": { | ||
"name": "IP", | ||
"type": 9 | ||
}, | ||
"similar_ips": { | ||
"name": "Similar IPs", | ||
"type": 9 | ||
} | ||
}, | ||
"pythonDependencies": null, | ||
"readonly": true, | ||
"script": "", | ||
"scriptFile": "get_ip_similarity_lookup.py", | ||
"base64Image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABWCAQAAAD/X6l8AAAO+UlEQVR4nMWbCXwU9RXHf0k2xyYhB0dAwhnkBhFoMAREkENFUdAKirfVqqi1iBdaSxWrVq1HtbXUE9RaRcUDQQVRiCIqRSAIKpEr3Fc4Yu6j35mdHXY3u8lsDvrmk2N2Z2d+8/7v/d7v/f+zEWpccylVHZShE9VR7dRKSXLzWpVK9YsOaqfytUl52qy9Kgr/5BGNBrMZAAdqkPoAtjkQpWpVqoKfav6PYnMpkv8qdES79YNW6Rut0x5u5LiCjVVPjdRonazW7JUAYKu2aJt24cuj7FcAMlbxSlGa2uPxTmqL/4WvNypHC7XUqZcbCjZVwzRRw7m8tF1rtAKP5QG3SOVBj49UnBkofXWKMtWVvVydy601OdjmGqsrlI3P9ms5HvqCWPzF8addjEN/zrBXD6rM2UfqC9bNsE/Bo7EM5buap7VhwPS1KEUTKA6tfmBP0i36NZn+k17Vm8ANliSRimGQ4/gdxfsV8EExHgweHE0GNkGTNU3dGb5X9AJZXR3wfjOlE4vd1IU4bsWeAbYakEWkm5F6P7FtIXAqmx5sZ03XZQzdx3qMTK7we6+F+pFu2epB1seyX8UAlwCziqu4AO3mc8arh4jtVVpGMm4JOEOjgh2ih3QqLPmUnsc3x8wFeZ1DsvTDk5X4L08/EhzbtE+FDH4lVzGoKxWfZzAm3SCwBF7drM+I9+WAb3SwkZqghyH+b3WvFv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Ihyf8CnX/zewHksghvvAFb3QXGkkoTsgyIo0We815AKNCdZr8URvG7YTgJxqfv3H+ErQUXy9oGEPU/wPOf54YxLsfqAAAAAASUVORK5CYII=" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from sw_greynoise import GreynoiseBaseClass | ||
|
||
|
||
class SwMain(GreynoiseBaseClass): | ||
def __init__(self, context): | ||
super(SwMain, self).__init__(context) | ||
self.inputs = context.inputs | ||
|
||
def execute(self): | ||
response = self.session.similar( | ||
ip_address=self.inputs.get("ip_address"), | ||
limit=self.inputs.get("limit"), | ||
min_score=self.inputs.get("min_score"), | ||
) | ||
return response |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"name": "Get Timeline Daily Summary", | ||
"description": "Retrieve an IP address' daily summary of noise activity.", | ||
"version": "1.3.0", | ||
"family": "Investigation", | ||
"actionType": "GetTimelineDailySummary", | ||
"assetDependencyType": "GreyNoise", | ||
"assetDependencyVersion": "1.3.0", | ||
"inputParameters": { | ||
"ip_address": { | ||
"name": "IP Address", | ||
"type": 1, | ||
"description": "IPv4 address for which to retrieve events.", | ||
"example": "36.32.2.102", | ||
"required": true | ||
}, | ||
"days": { | ||
"name": "Days", | ||
"type": 6, | ||
"description": "The number of lookback days to include events.", | ||
"example": "1" | ||
}, | ||
"cursor": { | ||
"name": "Cursor", | ||
"type": 1, | ||
"description": "The cursor is a pointer from which to start returning results up to the limit", | ||
"example": "b2Zmc2V0PTUw" | ||
}, | ||
"limit": { | ||
"name": "Limit", | ||
"type": 6, | ||
"description": "The total number of events to return in the response.", | ||
"example": "50" | ||
} | ||
}, | ||
"availableOutputTypes": [ | ||
"email", | ||
"insertUpdateRecord", | ||
"referentialTask", | ||
"saveToFile", | ||
"setFieldValue" | ||
], | ||
"availableOutputVariables": { | ||
"activity": { | ||
"name": "Activity", | ||
"type": 9 | ||
}, | ||
"metadata": { | ||
"name": "Metadata", | ||
"type": 9 | ||
} | ||
}, | ||
"pythonDependencies": null, | ||
"readonly": true, | ||
"script": "", | ||
"scriptFile": "get_timeline_daily_summary.py", | ||
"base64Image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABWCAQAAAD/X6l8AAAO+UlEQVR4nMWbCXwU9RXHf0k2xyYhB0dAwhnkBhFoMAREkENFUdAKirfVqqi1iBdaSxWrVq1HtbXUE9RaRcUDQQVRiCIqRSAIKpEr3Fc4Yu6j35mdHXY3u8lsDvrmk2N2Z2d+8/7v/d7v/f+zEWpccylVHZShE9VR7dRKSXLzWpVK9YsOaqfytUl52qy9Kgr/5BGNBrMZAAdqkPoAtjkQpWpVqoKfav6PYnMpkv8qdES79YNW6Rut0x5u5LiCjVVPjdRonazW7JUAYKu2aJt24cuj7FcAMlbxSlGa2uPxTmqL/4WvNypHC7XUqZcbCjZVwzRRw7m8tF1rtAKP5QG3SOVBj49UnBkofXWKMtWVvVydy601OdjmGqsrlI3P9ms5HvqCWPzF8addjEN/zrBXD6rM2UfqC9bNsE/Bo7EM5buap7VhwPS1KEUTKA6tfmBP0i36NZn+k17Vm8ANliSRimGQ4/gdxfsV8EExHgweHE0GNkGTNU3dGb5X9AJZXR3wfjOlE4vd1IU4bsWeAbYakEWkm5F6P7FtIXAqmx5sZ03XZQzdx3qMTK7we6+F+pFu2epB1seyX8UAlwCziqu4AO3mc8arh4jtVVpGMm4JOEOjgh2ih3QqLPmUnsc3x8wFeZ1DsvTDk5X4L08/EhzbtE+FDH4lVzGoKxWfZzAm3SCwBF7drM+I9+WAb3SwkZqghyH+b3WvFvlEaTSl4FKNg44qTN5cBoFth/hDkb2b4OiO/0+DC1JIyy8Jp4U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TgJxqfv3H+ErQUXy9oGEPU/wPOf54YxLsfqAAAAAASUVORK5CYII=" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from sw_greynoise import GreynoiseBaseClass | ||
|
||
|
||
class SwMain(GreynoiseBaseClass): | ||
def __init__(self, context): | ||
super(SwMain, self).__init__(context) | ||
self.inputs = context.inputs | ||
|
||
def execute(self): | ||
response = self.session.timelinedaily( | ||
ip_address=self.inputs.get("ip_address"), | ||
days=self.inputs.get("days"), | ||
cursor=self.inputs.get("cursor"), | ||
limit=self.inputs.get("limit"), | ||
) | ||
return response |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.