Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Packs/helloPack/Scripts/HelloPackScript/HelloPackScript.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
def main():
print("hello")

Check failure on line 2 in Packs/helloPack/Scripts/HelloPackScript/HelloPackScript.py

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

XSOAR Linter E9002

main: Print is found, Please remove all prints from the code.


if __name__ in ("__main__", "__builtin__", "builtins"):
main()
9 changes: 9 additions & 0 deletions Packs/helloPack/Scripts/HelloPackScript/HelloPackScript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
commonfields:
id: HelloPackScript
version: -1
name: HelloPackScript
script: '-'
type: python
subtype: python3
comment: A simple hello script for testing
enabled: true
20 changes: 20 additions & 0 deletions Packs/helloPack/pack_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "helloPack",
"description": "Test pack for automated PR testing",
"support": "xsoar",
"currentVersion": "1.0.0",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
"categories": [
"Utilities"
],
"tags": [],
"useCases": [],
"keywords": [],
"marketplaces": [
"xsoar",
"marketplacev2",
"platform"
]
}
Loading