Skip to content

Commit

Permalink
[SOAR-18089] Manage Engine Service Desk - Snyk Vulnerabilities and SD…
Browse files Browse the repository at this point in the history
…K Bump (#2922)

* snyk and sdk manage_engine_service_desk

* help.md

* fixing help.md

* requirements.txt
  • Loading branch information
rmurray-r7 authored Nov 4, 2024
1 parent 42f2dad commit 86876a9
Show file tree
Hide file tree
Showing 41 changed files with 1,265 additions and 1,849 deletions.
36 changes: 18 additions & 18 deletions plugins/manage_engine_service_desk/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
{
"spec": "0385a8168c8ee0395be7cf21f0365276",
"manifest": "b09f681332aefb9feeac40898764aea4",
"setup": "c60518a0fc7a5991c5833e29a3981a29",
"spec": "a108414e5e7ca8bde07e1aaafee7d70f",
"manifest": "b822df54b3be4f7defc1a642dd03bb83",
"setup": "421e7037838364662b87938a40ba48d9",
"schemas": [
{
"identifier": "add_request/schema.py",
"hash": "7a1ca2c9697346db0957fdf7277e0981"
"hash": "b5224166a82c6c4bebe1fa84ca61f1eb"
},
{
"identifier": "add_request_note/schema.py",
"hash": "e65dac30fc55f065ffdb3e8736b12c21"
"hash": "d4b7eade91f70e557ebf7fd70da2fe44"
},
{
"identifier": "add_resolution/schema.py",
"hash": "55a9c46c41c18d3e3487edbcf0be893f"
"hash": "159c228c7962242b6051db57b21438d7"
},
{
"identifier": "assign_request/schema.py",
"hash": "56e5084efaf5d94cc8daf8b2bc590239"
"hash": "8324b38e609c18dd4f480a0eab700c3b"
},
{
"identifier": "close_request/schema.py",
"hash": "91bcb28dabdb6e3b29b5b74201cfb7f0"
"hash": "31e13feb2e48352edcb9a8e3217f9c3d"
},
{
"identifier": "delete_request/schema.py",
"hash": "0c0f7f928867e40c774ee346b51560a7"
"hash": "50f38ef1e3afe86a8486aeaec94bd45b"
},
{
"identifier": "delete_request_note/schema.py",
"hash": "1f37cd61ae747f66041a129ef1eb620d"
"hash": "30316881a3bd088bdbeb1aa4d640464e"
},
{
"identifier": "edit_request/schema.py",
"hash": "34e9343072dd88e2c83414bf2ccb3652"
"hash": "7327327caf83eef763563ef5077bebb8"
},
{
"identifier": "edit_request_note/schema.py",
"hash": "7e4f08ff53ab0572a094918f3c8ed8fa"
"hash": "e197d90a1320ea64f0ff7f3389abb563"
},
{
"identifier": "get_list_request/schema.py",
"hash": "46a5fbd6f6bcfbd81eb11437d556e25c"
"hash": "5e638fe9a47b44657e2d7cdde99f9dce"
},
{
"identifier": "get_list_request_notes/schema.py",
"hash": "1c00d658d3c98da1798ac01e7b3fe6d4"
"hash": "f220c4f15f3573c064ccd8dace45b594"
},
{
"identifier": "get_request/schema.py",
"hash": "e761e122486c26573bb5c4190d2b3b49"
"hash": "8084dbc2967e8c51aeed577a22b1d347"
},
{
"identifier": "get_resolution/schema.py",
"hash": "6cd6021690c474a9e40e508631cd9b15"
"hash": "38574086268af102989c9f8e3be3a205"
},
{
"identifier": "pickup_request/schema.py",
"hash": "2e0df4254eb6a078d7d7afec479dd350"
"hash": "e38ea6ec7fe316aebb8580a41d962adb"
},
{
"identifier": "connection/schema.py",
"hash": "478db0f9bc81f4e7b17e9c556d54cec7"
"hash": "f69408c643c06ba3b871793859df686d"
}
]
}
18 changes: 6 additions & 12 deletions plugins/manage_engine_service_desk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
FROM rapid7/insightconnect-python-3-38-plugin:4
# Refer to the following documentation for available SDK parent images: https://komand.github.io/python/sdk.html#version
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.1.4

LABEL organization=rapid7
LABEL sdk=python

# Add any custom package dependencies here
# NOTE: Add pip packages to requirements.txt

# End package dependencies

# Add source code
WORKDIR /python/src

ADD ./plugin.spec.yaml /plugin.spec.yaml
ADD . /python/src
ADD ./requirements.txt /python/src/requirements.txt

# Install pip dependencies
RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

# Install plugin
ADD . /python/src

RUN python setup.py build && python setup.py install

# User to run plugin code. The two supported users are: root, nobody
USER nobody

ENTRYPOINT ["/usr/local/bin/icon_manage_engine_service_desk"]
ENTRYPOINT ["/usr/local/bin/icon_manage_engine_service_desk"]
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env python
# GENERATED BY KOMAND SDK - DO NOT EDIT
# GENERATED BY INSIGHT-PLUGIN - DO NOT EDIT
import os
import json
from sys import argv

Name = "Manage Engine Service Desk"
Vendor = "rapid7"
Version = "1.0.1"
Version = "1.0.2"
Description = "ManageEngine's Service Desk has the ability to centralize and capture reported issues, allowing security and IT administrators to track and manage all incidents in an easy manner. The numerous help desk tickets raised are organized and tracked in the Requests module. The Requests module enables you to handle tickets promptly, assign tickets to technicians, merge similar requests, and so on"


Expand All @@ -23,7 +23,7 @@ def main():
monkey.patch_all()

import insightconnect_plugin_runtime
from icon_manage_engine_service_desk import connection, actions, triggers
from icon_manage_engine_service_desk import connection, actions, triggers, tasks

class ICONManageEngineServiceDesk(insightconnect_plugin_runtime.Plugin):
def __init__(self):
Expand All @@ -34,34 +34,34 @@ def main():
description=Description,
connection=connection.Connection()
)
self.add_action(actions.GetListRequest())

self.add_action(actions.GetRequest())

self.add_action(actions.AddRequest())

self.add_action(actions.AddRequestNote())

self.add_action(actions.AddResolution())

self.add_action(actions.AssignRequest())

self.add_action(actions.CloseRequest())

self.add_action(actions.DeleteRequest())

self.add_action(actions.DeleteRequestNote())


self.add_action(actions.EditRequest())


self.add_action(actions.DeleteRequest())

self.add_action(actions.CloseRequest())

self.add_action(actions.AssignRequest())

self.add_action(actions.PickupRequest())

self.add_action(actions.AddResolution())

self.add_action(actions.GetResolution())

self.add_action(actions.AddRequestNote())

self.add_action(actions.EditRequestNote())

self.add_action(actions.GetListRequest())

self.add_action(actions.DeleteRequestNote())
self.add_action(actions.GetListRequestNotes())

self.add_action(actions.GetRequest())

self.add_action(actions.GetResolution())

self.add_action(actions.PickupRequest())



"""Run plugin"""
cli = insightconnect_plugin_runtime.CLI(ICONManageEngineServiceDesk())
Expand Down
Loading

0 comments on commit 86876a9

Please sign in to comment.