Skip to content

Commit 9af0c96

Browse files
authored
SDK automation prep (#3216) (#3244)
1 parent 5337a4f commit 9af0c96

File tree

6 files changed

+724
-710
lines changed

6 files changed

+724
-710
lines changed

plugins/datetime/.CHECKSUM

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"spec": "275691ec5b2ae0eeb66a17a861e58feb",
3-
"manifest": "c660f4325495810db5ea50d1e9551910",
4-
"setup": "7cff156c68b3321a4fbdd763ea83c475",
2+
"spec": "be6050291ddc559c1fa7f5e0bfcd3bfa",
3+
"manifest": "74ac302a3301aaea85c348e320da7e4e",
4+
"setup": "02d9dcf971ca0abb1223688851a3dc2c",
55
"schemas": [
66
{
77
"identifier": "add_to_datetime/schema.py",

plugins/datetime/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.0
1+
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.2.5
22

33
LABEL organization=rapid7
44
LABEL sdk=python
@@ -12,7 +12,7 @@ RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
1212

1313
ADD . /python/src
1414

15-
RUN python setup.py build && python setup.py install
15+
RUN pip install .
1616

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

plugins/datetime/bin/komand_datetime

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ from sys import argv
66

77
Name = "Datetime"
88
Vendor = "rapid7"
9-
Version = "3.0.1"
10-
Description = "This plugin manipulates timestamps using Python's maya library"
9+
Version = "3.0.2"
10+
Description = "Timestamps, timezones, and Datetimes can be difficult to work with, especially when dealing with different locales on different systems. The Datetime InsightConnect plugin manipulates timestamps using Python's [Maya](https://pypi.org/project/maya/) library, which makes the simple things much easier while admitting that time is an illusion (timezones doubly so)"
1111

1212

1313
def main():

plugins/datetime/help.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Description
22

3-
Timestamps, timezones, and Datetimes can be difficult to work with, especially when dealing with different locales on different systems. The Datetime InsightConnect plugin manipulates timestamps using Python's [Maya](https://pypi.org/project/maya/) library, which makes the simple things much easier while admitting that time is an illusion (timezones doubly so).
3+
Timestamps, timezones, and Datetimes can be difficult to work with, especially when dealing with different locales on different systems. The Datetime InsightConnect plugin manipulates timestamps using Python's [Maya](https://pypi.org/project/maya/) library, which makes the simple things much easier while admitting that time is an illusion (timezones doubly so)
44

55
# Key Features
66

@@ -377,6 +377,7 @@ Example output:
377377

378378
# Version History
379379

380+
* 3.0.2 - Updated SDK to the latest version (6.2.5)
380381
* 3.0.1 - Initial updates for fedramp compliance | Updated SDK to the latest version
381382
* 3.0.0 - Add support for epochs in milliseconds, microseconds and nanoseconds in Date from Epoch action
382383
* 2.2.0 - Add new action Get Future Time

0 commit comments

Comments
 (0)