Skip to content
This repository was archived by the owner on Mar 16, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ededa7c
Merge branch 'release-0.9.14'
jtschichold Jun 7, 2016
433bea6
Merge branch 'release-0.9.15-beta.1'
jtschichold Jun 23, 2016
95297ca
Merge branch 'release-0.9.15-beta.2'
jtschichold Jun 24, 2016
3e027b2
Merge branch 'release-0.9.15-beta.3'
jtschichold Jun 28, 2016
4bb0b31
Merge branch 'release-0.9.16'
jtschichold Jun 28, 2016
26b03a0
Merge branch 'release-0.9.18'
jtschichold Jul 18, 2016
215d171
Merge pull request #27 from PaloAltoNetworks/develop
jtschichold Jul 21, 2016
225d001
Merge branch 'release-0.9.19b1'
jtschichold Sep 8, 2016
4388377
Merge branch 'release-0.9.20'
jtschichold Sep 8, 2016
6f441ca
Merge branch 'release-0.9.21-beta.1'
jtschichold Sep 13, 2016
f488598
bump to version 0.9.21-beta.3
jtschichold Sep 15, 2016
961e087
Merge branch 'release-0.9.21-beta.3'
jtschichold Sep 15, 2016
219b3db
Merge branch 'release-0.9.22'
jtschichold Sep 21, 2016
6ce8683
Merge branch 'release-0.9.23-beta.1'
jtschichold Sep 29, 2016
07907b4
Merge branch 'release-0.9.24'
jtschichold Sep 29, 2016
ddb1c44
Merge branch 'release-0.9.26'
jtschichold Oct 28, 2016
4481c01
Merge branch 'release-0.9.27-beta.1'
jtschichold Nov 16, 2016
7567889
Merge branch 'release-0.9.28'
jtschichold Nov 16, 2016
5a40146
Merge branch 'release-0.9.30'
jtschichold Dec 2, 2016
2a312ae
Merge branch 'release-0.9.32'
jtschichold Feb 1, 2017
c7ec7b1
Merge branch 'release-0.9.34'
jtschichold Mar 6, 2017
f0b0d95
Merge branch 'release-0.9.36'
jtschichold Mar 20, 2017
fed474b
Merge branch 'release-0.9.38'
jtschichold May 4, 2017
95d509f
Merge branch 'release-0.9.40'
jtschichold Jun 9, 2017
be4fd37
Merge branch 'release-0.9.41-beta.1'
jtschichold Jul 13, 2017
e853c9d
Merge branch 'release-0.9.41-beta.3'
jtschichold Jul 23, 2017
9e3ad5b
Merge branch 'release-0.9.42'
jtschichold Sep 5, 2017
e97e5d6
Merge branch 'release-0.9.43-beta.1'
jtschichold Oct 1, 2017
846d3f3
Merge branch 'release-0.9.44'
jtschichold Oct 26, 2017
9689d1c
Merge branch 'release-0.9.46'
jtschichold May 10, 2018
c1cfc55
Merge branch 'release-0.9.48'
jtschichold Jun 12, 2018
db74ca6
Merge branch 'release-0.9.50'
jtschichold Jul 27, 2018
7188193
Merge branch 'release-0.9.52'
jtschichold Dec 7, 2018
2e5a50e
Merge branch 'release-0.9.60'
jtschichold Mar 11, 2019
fa29656
Merge branch 'release-0.9.62'
jtschichold Jun 27, 2019
f6702e5
Merge branch 'release-0.9.64'
jtschichold Sep 17, 2019
2fdfba8
new_miner_webui
sshah1103 Nov 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions src/app/nodedetail/recordedfuture.info3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<div class="row">
<div class="col-sm-12 col-md-12">
<h5 class="m-b-xs">STATUS</h5>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6">
<table class="table table-condensed nodedetail-info-table">
<colgroup>
<col style="width: 30%">
<col>
</colgroup>
<tbody>
<tr>
<td>CLASS</td>
<td>{{ nodedetailinfo3.nodeState.class }}</td>
</tr>
<tr ng-if="nodedetailinfo3.nodeConfig.prototype">
<td>PROTOTYPE</td>
<td><a tooltip-template="'tooltip.prototype.html'" ui-sref="prototypedetail({ prototypeName: nodedetailinfo3.nodeConfig.prototype.split('.')[1], libraryName: nodedetailinfo3.nodeConfig.prototype.split('.')[0] })">{{ nodedetailinfo3.nodeConfig.prototype }}</a></td>
<script type="text/ng-template" id="tooltip.prototype.html">
<prototype-tooltip name="nodedetailinfo3.nodeConfig.prototype"></prototype-tooltip>
</script>
</tr>
<tr>
<td>STATE</td>
<td ng-switch on="nodedetailinfo3.nodeState.state">
<span ng-switch-when="5" class="label label-success">{{ nodedetailinfo3.nodeState.stateAsString }}</span>
<span ng-switch-default class="label label-warning">{{ nodedetailinfo3.nodeState.stateAsString }}</span>
</td>
</tr>
<tr>
<td>RECORDED FUTURE API</td>
<td tooltip="set entity type" class="nodedetail-info-clickable" ng-click="nodedetailinfo3.setDetails()">
<span ng-if="!nodedetailinfo3.entity"><em><u>Set Details for API to be used</u></em></span></span>
<span ng-if="nodedetailinfo3.entity" class="label label-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span></span>
</td>
</tr>
<tr>
<td>API TOKEN</td>
<td tooltip="set API token" class="nodedetail-info-clickable" ng-click="nodedetailinfo3.setToken()">
<span ng-if="!nodedetailinfo3.token"><em><u>Not set</u></em></span></span>
<span ng-if="nodedetailinfo3.token" class="label label-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span></span>
</td>
</tr>
<tr ng-if="nodedetailinfo3.nodeState.last_run">
<td>LAST RUN</td>
<td>
<span ng-bind="nodedetailinfo3.nodeState.last_run | date:'yyyy-MM-dd HH:mm:ss Z'"></span>
<span ng-if="nodedetailinfo3.nodeState.sub_state && nodedetailinfo3.nodeState.sub_state !== 'ERROR'"
ng-class="['label', {WAITING: 'label-default', POLLING:'label-primary', SUCCESS:'label-success', REBUILDING:'label-warning'}[nodedetailinfo3.nodeState.sub_state]]"
ng-bind="nodedetailinfo3.nodeState.sub_state"></span>
<span ng-if="nodedetailinfo3.nodeState.sub_state && nodedetailinfo3.nodeState.sub_state === 'ERROR'"
ng-class="['label', 'label-danger']"
tooltip="{{ nodedetailinfo3.nodeState.sub_state_message }}"
ng-bind="nodedetailinfo3.nodeState.sub_state"></span>
<span tooltip="run now"
tooltip-popup-delay="200"
ng-if="nodedetailinfo3.nodeState.sub_state != 'REBUILDING' && nodedetailinfo3.nodeState.sub_state != 'POLLING'"
ng-click="nodedetailinfo3.run()"
class="nodedetail-info-icon fa fa-refresh"></span>
</td>
</tr>
<tr>
<td># INDICATORS</td>
<td>{{ nodedetailinfo3.nodeState.indicators }}</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-6 col-md-6">
<table class="table table-condensed nodedetail-info-table">
<colgroup>
<col style="width: 15%">
<col style="width: 85%">
</colgroup>
<tbody>
<tr>
<td>OUTPUT</td>
<td>
<span class="label label-success" ng-if="nodedetailinfo3.nodeState.output">ENABLED</span>
<span class="label label-default" ng-if="!nodedetailinfo3.nodeState.output">DISABLED</span>
</td>
</tr>
<tr>
<td>INPUTS</td>
<td>
<ul class="nodetails-info-inputs" ng-if="nodedetailinfo3.nodeState.inputs.length > 0">
<li ng-repeat="input in nodedetailinfo3.nodeState.inputs"><a ui-sref="nodedetail({ nodename: input })">{{ input }}</a></li>
</ul>
<em ng-if="nodedetailinfo3.nodeState.inputs.length == 0">none</em>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row" ng-if="nodedetailinfo3.nodeConfig.config">
<div class="col-sm-12 col-md-12">
<h5 class="m-b-xs">CONFIG</h5>
<node-config class="nodedetail-info-config" config="nodedetailinfo3.nodeConfig.config"></node-config>
</div>
</div>
58 changes: 58 additions & 0 deletions src/app/nodedetail/recordedfuture.st.details1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<script type="text/javascript">
function showfield(name){
if(name=='connectApi')document.getElementById('text1').disabled= false;
else document.getElementById('text1').disabled= true;
if(name=='fusion')document.getElementById('text2').disabled= false;
else document.getElementById('text2').disabled= true;
}

</script>

<body>
<div class="modal-header">
<h1 class="modal-title">RECORDEDFUTURE API DETAILS</h1>
</div>
<div class="modal-body">
<div class="row">
<form class="config-add-form form-horizontal m-t-xs">
<div class="form-group" id="fgApi">
<label class="col-xs-4 control-label">API Type</label>
<div class="col-xs-6">
<select name='api'ng-model="vm.api" class="form-control" onchange="showfield(this.options[this.selectedIndex].value)">
<option selected value="">Select an API</option>
<option value="connectApi">Connect API</option>
<option value="fusion">Fusion</option>
</select>
</div>
</div>
<div class="form-group" id="fgEntity">
<label class="col-xs-4 control-label">Entity Type</label>
<div class="col-xs-6">
<select name="entity" ng-model="vm.entity" class="form-control">
<option selected value="">Select an Entity</option>
<option value="ip">IP</option>
<option value="url">URL</option>
<option value="domain">Domain</option>
<option value="hash">File Hash</option>
</select>
</div>
</div>
<div class="form-group" id="fgPath1">
<label class="col-xs-4 control-label">Risklist</label>
<div class="col-xs-6">
<input id="text1" type="text" ng-model="vm.path1" class="form-control" placeholder="Leave blank for default risklist" size="65" />
</div>
</div>
<div class="form-group" id="fgPath2">
<label class="col-xs-4 control-label">File Path</label>
<div class="col-xs-6">
<input id="text2" type="text" ng-model="vm.path2" class="form-control" placeholder="Eg: /public/risklists/<File Name>" size="65" />
</div>
</div>
</form>
</div>
</div>
<div class="modal-footer">
<button ng-disabled="!vm.valid()" class="btn btn-primary btn-sm" type="button" ng-click="vm.save()">OK</button>
<button class="btn btn-warning btn-sm" type="button" ng-click="vm.cancel()">CANCEL</button>
</div>
Loading