Skip to content

Commit

Permalink
Merge pull request #13 from splunk-soar-connectors/next
Browse files Browse the repository at this point in the history
Merging next to main for release 4.3.0
  • Loading branch information
nestoor22 authored Sep 20, 2023
2 parents e89663b + ea15470 commit 546e556
Show file tree
Hide file tree
Showing 33 changed files with 4,816 additions and 645 deletions.
1 change: 1 addition & 0 deletions .github/workflows/generate-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- '*.json'
- 'readme.html'
- 'manual_readme_content.md'
tags-ignore:
- '**'
branches-ignore:
Expand Down
444 changes: 441 additions & 3 deletions README.md

Large diffs are not rendered by default.

164 changes: 6 additions & 158 deletions alert_lookup_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,164 +35,6 @@
Style elements are defined in a separate file, named below,
and will be merged during compilation:
recordedfuture_style.css -->
<style>

/* || RECORDED FUTURE COLOR */

:root{
--RecordedFutureBlue: #2673B3;
--CriticalityHigh: #cf0a2c;
--CriticalityModerate: #FFCE00;
--CriticalityLow: #e1e6eb;
}

a:hover {
text-decoration: underline;
}

.rf-widget {
overflow: auto;
width: 100%;
height: 100%;
padding-left:10px;
padding-right:10px;
}

.rf-box {
width: 750px;
padding: 5px;
margin: 0 5px;
font-size: 12px;
}

.highlighted {
font-weight: 700;
}

.non-highlighted {
font-size: x-small;
}

.rf-box th {
text-align: left;
}

.rf-table {
width: 98%;
border-collapse: collapse;
margin: 5px 5px 5px 0;
padding: 10px;
font-size: 12px;
}

td.rf-criticality-level-3, td.rf-criticality-level-4,
td.rf-criticality-level-5 {
background: var(--CriticalityHigh);
width: 0 !important;
padding: 0 2px 0 3px !important;
}
td.rf-criticality-level-2 {
background: var(--CriticalityModerate);
width: 0 !important;
padding: 0 2px 0 3px !important;
}
td.rf-criticality-level-1 {
background: var(--CriticalityLow);
width: 0 !important;
padding: 0 2px 0 3px !important;
}

.rf-table td {
vertical-align: text-top;
padding: 10px;
}

td.rf-timestamp {
min-width: 13ex !important;
}

.rf-hover-info {
font-weight: normal;
}

.rf-hover-info:hover {
font-weight: bold;
}
.rf-full-width-box {
width: 100%;
border-bottom: 1px solid #3c444d;
padding: 5px;
margin: 0 5px;
font-size: 12px;
}
.rf-circle {
height: 10px;
width: 10px;
border-radius: 50%;
}
.rf-alert-panel {
width: 96%;
margin-left: 2%;
border: 1px solid #3c444d;
padding: 10px;
}
.rf-chip-box {
border-radius: 10px;
background-color: darkred;
padding: 3px;
text-align: center;
}
.rf-priority-level-High {
background: var(--CriticalityHigh);
}
.rf-priority-level-Moderate {
background: var(--CriticalityModerate);
}
.rf-priority-level-Informational {
background: var(--CriticalityLow);
}
.rf-criticality-level-High {
background: var(--CriticalityHigh);
}
.rf-criticality-level-Medium {
background: var(--CriticalityModerate);
}
.rf-criticality-level-Low {
background: var(--CriticalityLow);
}
.rf-playbook-alert-screenshot {
margin-bottom: 20px;
width: 100%;
height: 720px;
}
.rf-playbook-alert-data-row {
display: flex;
align-items: center;
margin: 0;
gap: 20px;
margin-bottom: 5px;
}
.rf-playbook-alert-dns-data-row {
display: flex;
align-items: center;
margin: 0;
gap: 5px;
}
.rf-playbook-alert-panel-title {
margin-left: 2%;
}
.rf-playbook-alert-whois-data-row {
display: flex;
align-items: center;
gap: 20px;
}
.rf-playbook-alert-data-row-title {
width: 10%;
}
.rf-playbook-alert-evidence-data-row-title {
width: 20%;
}
</style>

<div class="rf-widget"> <!-- Main Div -->
<!------------------- For each Result ---------------------->
Expand Down Expand Up @@ -243,6 +85,12 @@ <h4>No data found</h4>
{{ alert.review.note }}
</td>
</tr>
<tr>
<td colspan="3">
<span class="non-highlighted">AI Summary</span><br/>
{{ alert.ai_insights }}
</td>
</tr>
</table>
</div>

Expand Down
46 changes: 46 additions & 0 deletions collective_insights_submission_results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% extends 'widgets/widget_template.html' %}
{% load custom_template %}

{% block custom_title_prop %}{% if title_logo %}style="background-size: auto 60%; background-position: 50%; background-repeat: no-repeat; background-image: url('/app_resource/{{ title_logo }}');"{% endif %}{% endblock %}
{% block title1 %}{{ title1 }}{% endblock %}
{% block title2 %}{{ title2 }}{% endblock %}
{% block custom_tools %}
{% endblock %}

{% block widget_content %} <!-- Main Start Block -->

<!-- File: links_search_results.html
Copyright (c) Recorded Future, Inc, 2019-2023
This unpublished material is proprietary to Recorded Future. All
rights reserved. The methods and techniques described herein are
considered trade secrets and/or confidential. Reproduction or
distribution, in whole or in part, is forbidden except by express
written permission of Recorded Future.
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.
-->

<!--
Style elements are defined in a separate file, named below,
and will be merged during compilation:
recordedfuture_style.css -->

<!-- needs to be modified from scratch -->

<div class="rf-widget">
<!-- Main Div -->
<h4> Collective insights data successfully submitted.</h4>
</div> <!-- Main Div -->

{% endblock %} <!-- Main Start Block -->
57 changes: 57 additions & 0 deletions detection_rule_search_results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% extends 'widgets/widget_template.html' %}
{% load custom_template %}

{% block custom_title_prop %}{% if title_logo %}style="background-size: auto 60%; background-position: 50%; background-repeat: no-repeat; background-image: url('/app_resource/{{ title_logo }}');"{% endif %}{% endblock %}
{% block title1 %}{{ title1 }}{% endblock %}
{% block title2 %}{{ title2 }}{% endblock %}
{% block custom_tools %}
{% endblock %}

{% block widget_content %} <!-- Main Start Block -->

<!-- File: links_search_results.html
Copyright (c) Recorded Future, Inc, 2019-2023
This unpublished material is proprietary to Recorded Future. All
rights reserved. The methods and techniques described herein are
considered trade secrets and/or confidential. Reproduction or
distribution, in whole or in part, is forbidden except by express
written permission of Recorded Future.
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.
-->

<!--
Style elements are defined in a separate file, named below,
and will be merged during compilation:
recordedfuture_style.css -->

<!-- needs to be modified from scratch -->

<div class="rf-widget">
<!-- Main Div -->
<h4>Detection Rule search results:</h4>
<hr/>
{% for result in results %} <!-- loop for each result -->
<!------------------- For each Result ---------------------->
{% for rule_data in result.data %}
<div class="rf-full-width-box">
<span>Rule title: {{rule_data.title}}</span><br /><br />
<span>Rule description: {{rule_data.description}}</span><br/><br />
<span>Rule type: {{rule_data.type}}</span><br/><br />
</div>
{% endfor %}
{% endfor %}
</div> <!-- Main Div -->

{% endblock %} <!-- Main Start Block -->
Binary file modified img/recorded_future_asset_ingest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/recorded_future_asset_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 546e556

Please sign in to comment.