Skip to content

Commit

Permalink
SDK automation prep (#3216) (#3244)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmurray-r7 authored Mar 4, 2025
1 parent 5337a4f commit 9af0c96
Show file tree
Hide file tree
Showing 6 changed files with 724 additions and 710 deletions.
6 changes: 3 additions & 3 deletions plugins/datetime/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "275691ec5b2ae0eeb66a17a861e58feb",
"manifest": "c660f4325495810db5ea50d1e9551910",
"setup": "7cff156c68b3321a4fbdd763ea83c475",
"spec": "be6050291ddc559c1fa7f5e0bfcd3bfa",
"manifest": "74ac302a3301aaea85c348e320da7e4e",
"setup": "02d9dcf971ca0abb1223688851a3dc2c",
"schemas": [
{
"identifier": "add_to_datetime/schema.py",
Expand Down
4 changes: 2 additions & 2 deletions plugins/datetime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.0
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.2.5

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

ADD . /python/src

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

# User to run plugin code. The two supported users are: root, nobody
USER nobody
Expand Down
4 changes: 2 additions & 2 deletions plugins/datetime/bin/komand_datetime
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ from sys import argv

Name = "Datetime"
Vendor = "rapid7"
Version = "3.0.1"
Description = "This plugin manipulates timestamps using Python's maya library"
Version = "3.0.2"
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)"


def main():
Expand Down
3 changes: 2 additions & 1 deletion plugins/datetime/help.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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).
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)

# Key Features

Expand Down Expand Up @@ -377,6 +377,7 @@ Example output:

# Version History

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

0 comments on commit 9af0c96

Please sign in to comment.