Skip to content

Commit dddf667

Browse files
committed
Initial commit
0 parents  commit dddf667

File tree

8,057 files changed

+525986
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,057 files changed

+525986
-0
lines changed

.github/issue_template.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### Prerequisites
2+
3+
* [ ] Are you running the latest version of [icon-plugin](https://komand.github.io/python/start.html)?
4+
* [ ] Did you verify your credentials for the connection?
5+
* [ ] Provide your plugin input in JSON
6+
* [ ] Provide your plugin output in JSON
7+
* [ ] Provide any errors, stack traces, and logging messages
8+
9+
### Description
10+
11+
[Description of the bug or feature]
12+
13+
### Steps to Reproduce
14+
15+
1. [First Step]
16+
2. [Second Step]
17+
3. [and so on...]
18+
19+
**Expected behavior:** [What you expected to happen]
20+
21+
**Actual behavior:** [What actually happened]

.github/pull_request_template.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Proposed Changes
2+
3+
Describe the proposed changes:
4+
5+
-
6+
7+
## PR Requirements
8+
9+
Developers, verify you have completed the following items by checking them off:
10+
11+
### Functional Checklist
12+
- [ ] Work fully completed
13+
- [ ] Functional
14+
- [ ] Any new actions/triggers include JSON [test files](https://komand.github.io/python/style.html#tests) in the `tests/` directory created with `./run -c sample $action > tests/$action.json`
15+
- [ ] Tests should all pass unless it's a negative test. Negative tests have a naming convention of `tests/$action_bad.json`
16+
- [ ] Unsuccessful tests should fail by raising an exception causing the plugin to die and an object should be returned on successful test
17+
- [ ] Add functioning test results to PR, sanitize any output if necessary
18+
* Single action/trigger `./run -T tests/example.json -d -j`
19+
* All actions/triggers shortcut `./run -T all -d -j` (use PR format at end)
20+
- [ ] Add functioning run results to PR, sanitize any output if necessary
21+
* Single action/trigger `./run -R tests/example.json -d -j`
22+
* All actions/triggers shortcut `./run -R all -d -j` (use PR format at end)
23+
24+
### Assessment
25+
26+
You must validate your work to reviewers:
27+
28+
1. Run `make validate` and make sure everything passes
29+
2. Run the assessment tool: `./run -A -R all -T all`. For single action validation: `./run -A -R tests/my_action.json -T tests/my_action.json`
30+
3. Copy (`./run ... | pbcopy`) and paste the output in **a new post** on this PR.
31+
4. Add UI screenshot of the workflow used for testing
32+
5. Add UI screenshot of the job output used for testing
33+
6. Add UI screenshot of the artifact (See rules in UI Checklist) used for testing

.gitignore

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# AWS
2+
.boto
3+
4+
# vim
5+
*.sw*
6+
7+
# vscode
8+
.vscode
9+
10+
# sed -i.bu
11+
*.bu
12+
13+
# Python bytecode
14+
**/*.pyc
15+
16+
# OSX thumbnails/files
17+
**/.DS_Store
18+
19+
# PyCharm cruft
20+
.idea/
21+
**/.idea
22+
23+
# virtual environments
24+
**/venv
25+
26+
# We don't want a spec file in the root of the repo, people end up editing it
27+
/*.yaml
28+
/*.yml
29+
30+
# We don't want run files
31+
**/*-run
32+
**/run
33+
**/run.sh
34+
35+
# packages
36+
**/*.tar.gz
37+
**/*.tgz
38+
komand-*.tar.gz
39+
demo-*.tar.gz
40+
41+
# Wheels
42+
**/*.whl
43+
44+
.drone.sec.unencrypted
45+
46+
# IntelliJ
47+
.idea/
48+
*.iml
49+
50+
# merge trash
51+
*.orig

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Rapid7
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)