Skip to content

Commit

Permalink
[SOAR-15498] Basename Version Bump (#2020)
Browse files Browse the repository at this point in the history
* Version bump, add empty init.py file and help.md additions

* Fixing helpValidator by adding links and changing capitalisation

* fixing RegenerationValidator
  • Loading branch information
abmccann-r7 authored Oct 11, 2023
1 parent 6f8dd8f commit fedafe0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
6 changes: 3 additions & 3 deletions plugins/basename/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "500bd50e08b0609671e34fdccdbef0ac",
"manifest": "0948a7896ab3171c739ebe6e99bdee47",
"setup": "bbe0bf7368ede093db808e5a33737877",
"spec": "ed8c0b9d7bb5018dfbbcd255f8e90c25",
"manifest": "4df75eb1dd0bc7cca85a18b0ab50589b",
"setup": "0107162015af1bea589b9b2b8d0fba23",
"schemas": [
{
"identifier": "basename/schema.py",
Expand Down
2 changes: 1 addition & 1 deletion plugins/basename/bin/komand_basename
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "Basename"
Vendor = "rapid7"
Version = "1.1.1"
Version = "1.1.2"
Description = "This plugin is used to get the last item of a file path or URL using Python's basename utility"


Expand Down
11 changes: 7 additions & 4 deletions plugins/basename/help.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Description

This plugin is used to get the last item of a file path or URL using Python's basename utility
This plugin is used to get the last item of a file path or URL using Python's Basename utility

# Key Features

* Obtain basename of a file path or URL.
* Obtain Basename of a file path or URL.

# Requirements

Expand All @@ -27,7 +27,7 @@ This plugin is used to get the last item of a file path or URL using Python's ba

#### Basename

Get the basename of a path
Get the Basename of a path

##### Input

Expand Down Expand Up @@ -73,6 +73,7 @@ If the input doesn't contain a slash `/` in the path the result will be the orig

# Version History

* 1.1.2 - Added `__init__.py` file to `unit_test` folder | Refreshed with new Tooling
* 1.1.1 - Update SDK to version 5
* 1.1.0 - Add missing `title` in action Basename | Use input and output constants | Add example input and output | Changed `Exception` to `PluginException` | Added "f" strings
* 1.0.2 - Update to use the `insightconnect-python-3-38-slim-plugin:4` Docker image | Update plugin.spec.yaml to include `cloud_ready`
Expand All @@ -83,6 +84,8 @@ If the input doesn't contain a slash `/` in the path the result will be the orig

# Links

* [Python Basename](https://docs.python.org/3/library/os.path.html)

## References

* [Python Basename](https://docs.python.org/2/library/os.path.html#os.path.basename)
* [Python Basename](https://docs.python.org/3/library/os.path.html)
5 changes: 4 additions & 1 deletion plugins/basename/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ products: [insightconnect]
name: basename
title: Basename
description: This plugin is used to get the last item of a file path or URL using Python's basename utility
version: 1.1.1
version: 1.1.2
vendor: rapid7
support: community
supported_versions: ["Python 3.38"]
Expand All @@ -20,6 +20,9 @@ resources:
tags:
- basename
- utilities
key_features: ["Obtain basename of a file path or URL."]
references: ["[Python Basename](https://docs.python.org/2/library/os.path.html#os.path.basename)"]
requirements: []
hub_tags:
use_cases: [data_utility]
keywords: [basename, utilities, cloud_enabled]
Expand Down
2 changes: 1 addition & 1 deletion plugins/basename/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="basename-rapid7-plugin",
version="1.1.1",
version="1.1.2",
description="This plugin is used to get the last item of a file path or URL using Python's basename utility",
author="rapid7",
author_email="",
Expand Down
Empty file.

0 comments on commit fedafe0

Please sign in to comment.