node-red-node-anyrun
Version:
[Node-RED](https://nodered.org/) nodes to retrieve malware analysis results from anyrun.
82 lines (71 loc) • 2.75 kB
HTML
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-template-name="get history">
<div class="form-row">
<label for="node-input-server"><i class="fa fa-server"></i> Server</label>
<input type="text" id="node-input-server" placeholder="Server">
</div>
<div class="form-row">
<label for="node-input-skip"><i class="fa fa-tag"></i> Skip</label>
<input type="text" id="node-input-skip" placeholder="25">
</div>
</script>
<script type="text/x-red" data-help-name="get history">
<p>Get history from ANY Run </p>
<p>Please make sure all entries are configured.</p>
<h3>Inputs</h3>
<dl class="message-properties">
<dt>payload<span class="property-type">object</span></dt>
<dd>ANYRUN Server entries: "Username" and "Password" can only be configures in the node</dd>
<dd>"Skip" is an optional entry, it should be configured in payload by default but also configurable in node.</dd>
<dd> If you want to configure the entry in payload, below is an example:</dd><br>
<pre>
25
</pre>
</dl>
<h3>Output</h3>
<dl class="message-properties">
<dd>It contains get history response.</dd>
<pre>
</pre>
</dl>
<h3>Other Information</h3>
<dl class="message-properties">
<dd>ANY.RUN API documentation: https://any.run/api-documentation/#api-Analysis-PostAnalysis</dd><br>
</dl>
</script>
<script type="text/javascript">
RED.nodes.registerType('get history', {
category: 'anyrun',
color: "#E6E0F8",
defaults: {
server: {
value: "",
type: "anyrun server",
required: true
},
skip: {
value: ""
}
},
inputs: 1,
outputs: 1,
icon: "arrow-in.png",
label: function () {
return this.name || "get history";
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
}
});
</script>