-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e94162a
commit 146a7da
Showing
5 changed files
with
99 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "DomainTools_Reputation", | ||
"version": "2.0", | ||
"author": "CERT-BDF", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers", | ||
"license": "AGPL-V3", | ||
"description": "Use DomainTools to get a reputation score on a domain or fqdn", | ||
"dataTypeList": ["domain","fqdn"], | ||
"command": "DomainTools/domaintools_analyzer.py", | ||
"baseConfig": "DomainTools", | ||
"config": { | ||
"service": "reputation" | ||
}, | ||
"configurationItems": [ | ||
{ | ||
"name": "username", | ||
"description": "DomainTools API credentials", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
}, | ||
{ | ||
"name": "key", | ||
"description": "DomainTools API credentials", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Domaintools Risk Score</dt> | ||
<dd> | ||
<span class="label" ng-class="{'label-success' : content.risk_score == 0, 'label-warning' : content.risk_score > 0 && content.risk_score <= 50, | ||
'label-danger': content.risk_score > 50}"> | ||
{{content.risk_score}} | ||
</span> | ||
|
||
</dd> | ||
</dl> | ||
<br><br> | ||
<h4 class="panel-title">Reasons</h4> | ||
<br> | ||
<table class="table table-striped table-bordered"> | ||
<thead> | ||
<tr> | ||
<th>Domain</th> | ||
<th>Risk Score</th> | ||
<th>Reasons</th> | ||
</tr> | ||
</thead> | ||
<tbody ng-repeat="r in content.components"> | ||
<tr> | ||
<td>{{r.domain}}</td> | ||
<td> | ||
<span class="label" ng-class="{'label-success' : content.risk_score == 0, 'label-warning' : content.risk_score > 0 && content.risk_score <= 50, | ||
'label-danger': content.risk_score > 50}"> | ||
{{r.risk_score}} | ||
</span> | ||
</td> | ||
<td > | ||
<ul class="list-unstyled"> | ||
<li ng-repeat="reason in r.reasons">{{reason}}</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
</div> |
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,3 @@ | ||
<span class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]"> | ||
{{t.namespace}}:{{t.predicate}}={{t.value}} | ||
</span> |