-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUMO-245929: added dashboards for amazon ses app
- Loading branch information
1 parent
0e3a0d0
commit 57d552a
Showing
17 changed files
with
1,132 additions
and
44 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,55 @@ | ||
name: v2 App Review | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
v2-app-review: | ||
name: "V2 App Review" | ||
runs-on: "ubuntu-latest" | ||
env: | ||
SUMO_APPS_V2_REPO_PATH: ${{ github.workspace }} | ||
TARGET_BRANCH: "origin/${{ github.event.pull_request.base.ref }}" | ||
SOURCE_BRANCH: "origin/${{ github.event.pull_request.head.ref }}" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install -U pip wheel setuptools yq | ||
- name: "Install sumoappsuite tool" | ||
run: | | ||
pip3 install $GITHUB_WORKSPACE/scripts/sumologic_appdevutils*.whl | ||
- name: Set up AWS CLI | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: "us-west-2" | ||
- name: "Generate SCR File" | ||
run: | | ||
sumoappsuite generate-scr-file-v2-app && cat scr_app_list.yaml | ||
- name: "Set relativeFolderPath" | ||
id: set_relative_folder_path | ||
run: | | ||
echo "app_path=$(cat scr_app_list.yaml | yq '.apps[0].relativeFolderPath')" >> "$GITHUB_ENV" | ||
- name: "Run Sumo Logic App Review tool" | ||
run: | | ||
export app_folder_path=$(echo "${SUMO_APPS_V2_REPO_PATH}/src/${app_path}" | sed "s/\"//g") | ||
echo $app_folder_path | ||
sumoappsuite review-v2-app -f $app_folder_path -o . | ||
- name: Upload Excel Sheet as PR Comment | ||
id: upload_artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: excel-sheet | ||
path: appreview*.xlsx | ||
- name: Comment on PR with Artifact URL | ||
run: | | ||
PR_NUMBER=$(echo $GITHUB_REF | awk -F'/' '{print $3}') | ||
ARTIFACT_URL="${{ steps.upload_artifact.outputs.artifact-url }}" | ||
curl -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -d "{\"body\": \"Reviewed app folder: ${{ steps.set_relative_folder_path.outputs.app_path }} Download the review feedback [sheet]($ARTIFACT_URL)\"}" "https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUMBER/comments" |
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,43 +0,0 @@ | ||
apps: | ||
- name: Doppel Vision | ||
version: 1.0.0 | ||
uuid: 1875c9d1-6f58-4f96-be21-0e5f0a8ddc4f | ||
relativeFolderPath: DoppelVision | ||
demo_input_mapping: | ||
- input_name: scope_key | ||
input_name_value: _sourceCategory | ||
- input_name: default_scope_value | ||
input_name_value: "*dopple*" | ||
installable: true | ||
prevVersions: [] | ||
- name: LambdaTest | ||
version: 1.0.0 | ||
uuid: 41168bd0-61f0-434c-8286-23b2e0fa6502 | ||
relativeFolderPath: Lambdatest | ||
demo_input_mapping: | ||
- input_name: scope_key | ||
input_name_value: _sourceCategory | ||
- input_name: default_scope_value | ||
input_name_value: Labs/lambdatest/* | ||
installable: true | ||
prevVersions: [] | ||
- name: Endace | ||
version: 1.0.1 | ||
uuid: 81cff485-32a9-403f-a3d6-04d8d20e8f2c | ||
relativeFolderPath: Endace | ||
demo_input_mapping: | ||
- input_name: scope_key | ||
input_name_value: _sourceCategory | ||
- input_name: default_scope_value | ||
input_name_value: messages | ||
- input_name: scope_key1 | ||
input_name_value: _sourceCategory | ||
- input_name: default_scope_value1 | ||
input_name_value: suricata | ||
- input_name: scope_key2 | ||
input_name_value: _sourceCategory | ||
- input_name: default_scope_value2 | ||
input_name_value: zeek | ||
installable: true | ||
prevVersions: | ||
- 1.0.0 | ||
Binary file renamed
BIN
+143 KB
...logic_appdevutils-1.1.22-py3-none-any.whl → ...logic_appdevutils-1.1.23-py3-none-any.whl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
## [1.0.0] - 2024-02-18 | ||
### Added | ||
- Migrated to [next-gen](https://help.sumologic.com/docs/get-started/apps-integrations/#next-gen-apps) app. |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+387 KB
src/AmazonSES/assets/images/preview/Amazon-SES-CloudTrail-Events-Overview.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 added
BIN
+169 KB
src/AmazonSES/assets/images/preview/Amazon-SES-Complaint-Notifications.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 added
BIN
+194 KB
src/AmazonSES/assets/images/preview/Amazon-SES-Notification-Overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 @@ | ||
parameters: | ||
- componentType: scope | ||
label: SES Notifications data source | ||
keyTfVar: scope_key | ||
defaultValueTfVar: default_scope_value | ||
- componentType: scope | ||
label: CloudTrail Logs data source | ||
keyTfVar: scope_key1 | ||
defaultValueTfVar: default_scope_value1 |
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,47 @@ | ||
schemaVersion: '2.0' | ||
name: Amazon SES (hackathon demo) | ||
version: 1.0.0 | ||
description: Amazon Simple Email Service (Amazon SES) is a cloud-based email sending | ||
and recieving service. The Sumo Logic App for Amazon SES helps you monitor the email | ||
platform activities. The app uses CloudTail events and SES notifications, and provides | ||
pre-configured dashboards that provide insights on the status of the email delivery | ||
including bounced notifications, delivered notifications, complaint notifications | ||
and various SES CloudTail events. | ||
author: | ||
supportUrl: https://support.sumologic.com/ | ||
homeUrl: https://sumologic.com | ||
documentationUrl: https://help.sumologic.com/?cid=xxxx | ||
name: Sumo Logic | ||
attributes: | ||
category: | ||
- Amazon Web Services | ||
- IT Infrastructure | ||
useCase: | ||
- observability | ||
collection: | ||
- Hosted | ||
searchTerms: | ||
- amazon | ||
- aws | ||
appOverview: | ||
overview: README.md#Overview | ||
appMedia: | ||
- title: Amazon SES - Complaint Notifications | ||
description: See information about complaints (a complaint occurs when a recipient | ||
reports that they don't want to receive an email), including the top email addresses, | ||
email domains, and UserAgents associated with complaints; and the sending AccountId, | ||
AWS region, SourceIP, and Identity associated with complaints. | ||
type: image | ||
location: ./assets/images/preview/Amazon-SES-Complaint-Notifications.png | ||
- title: Amazon SES - CloudTrail Evens Overeview | ||
description: See an overview of SES CloudTrail events, including failed, and successful | ||
events, error codes, users, and event locations. | ||
type: image | ||
location: ./assets/images/preview/Amazon-SES-CloudTrail-Events-Overview.png | ||
- title: Amazon SES - Notification Overview | ||
description: See an overview of SES notifications including the source IP locations, | ||
notification types, mail source, and accountId. | ||
type: image | ||
location: ./assets/images/preview/Amazon-SES-Notification-Overview.png | ||
installable: true | ||
showOnMarketplace: true |
Oops, something went wrong.