-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VersionBumpValidator - 16837 - Fixed issue where validator failed if …
…plugin contained no actions or triggers (#187)
- Loading branch information
1 parent
1e683b3
commit beba72e
Showing
5 changed files
with
95 additions
and
10 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
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 +1 @@ | ||
VERSION = "2.47.18" | ||
VERSION = "2.47.19" |
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
74 changes: 74 additions & 0 deletions
74
unit_test/plugin_examples/good_plugin_no_actions/plugin.spec.yaml
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,74 @@ | ||
plugin_spec_version: v2 | ||
extension: plugin | ||
products: [insightconnect] | ||
name: rss | ||
title: RSS | ||
description: The RSS plugin allows you to monitor an RSS feed | ||
version: 1.0.6 | ||
connection_version: 1 | ||
vendor: rapid7 | ||
support: community | ||
support_versions: ["2024-04-25"] | ||
status: [] | ||
sdk: | ||
type: slim | ||
version: 5.4.7 | ||
user: nobody | ||
key_features: | ||
- Monitor an RSS feed | ||
requirements: | ||
- The URL for the feed you want to monitor | ||
links: | ||
- "[Feedparser](https://github.com/kurtmckee/feedparser)" | ||
references: | ||
- "[Feedparser](https://github.com/kurtmckee/feedparser)" | ||
- "[Input Templating](https://docs.rapid7.com/insightconnect/format-strings-with-templates/)" | ||
- "[Python Script plugin](https://docs.rapid7.com/insightconnect/python-2-or-3-script/)" | ||
version_history: | ||
- "1.0.6 - `Poll`: Fixed issue where trigger would return all entries on startup" | ||
- "1.0.5 - Update links to Rapid7 documentation in `help.md` to use new [Rapid7 documentation URL](https://docs.rapid7.com/insightconnect/)" | ||
- "1.0.4 - Change Frequency input description in Poll Feed trigger | Add example inputs" | ||
- "1.0.3 - New spec and help.md format for the Extension Library" | ||
- "1.0.2 - Fixed issue where Poll Feed was logging unnecessary information" | ||
- "1.0.1 - Support web server mode" | ||
- "1.0.0 - Update to v2 Python plugin architecture | Add granular object output" | ||
- "0.1.1 - SSL bug fix in SDK" | ||
- "0.1.0 - Initial plugin" | ||
resources: | ||
source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/rss | ||
license_url: https://github.com/rapid7/insightconnect-plugins/blob/master/LICENSE | ||
tags: | ||
- rss | ||
- atom | ||
- feed | ||
hub_tags: | ||
use_cases: [data_utility, threat_detection_and_response, alerting_and_notifications] | ||
keywords: [rss, atom, feeds] | ||
features: [] | ||
language: python | ||
connection: | ||
url: | ||
title: URL | ||
description: Feed URL | ||
type: string | ||
required: true | ||
example: https://example.com/rss/current | ||
triggers: | ||
poll: | ||
title: Poll Feed | ||
description: Poll feed for latest event | ||
input: | ||
frequency: | ||
title: Frequency | ||
description: How frequently (in seconds) to poll for new entries | ||
type: integer | ||
required: true | ||
default: 15 | ||
example: 15 | ||
output: | ||
results: | ||
title: Results | ||
description: RSS data | ||
type: object | ||
required: true | ||
example: '{"title": "First item title", "title_detail": {"type": "text/plain", "language": null, "base": "", "value": "First item title"}, "links": [{"rel": "alternate", "type": "text/html", "href": "http://example.org/item/1"}, {"url": "", "rel": "enclosure"}], "link": "http://example.org/item/1", "summary": "Watch out for\n<span>\nnasty tricks</span>", "summary_detail": {"type": "text/html", "language": null, "base": "", "value": "Watch out for\n<span>\nnasty tricks</span>"}, "authors": [{"email": "[email protected]"}], "author": "[email protected]", "author_detail": {"email": "[email protected]"}, "tags": [{"term": "Miscellaneous", "scheme": null, "label": null}], "comments": "http://example.org/comments/1", "id": "http://example.org/guid/1", "guidislink": false, "published": "Thu, 05 Sep 2002 0:00:01 GMT"}' |
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