docs: rename add-on
https://dev.splunk.com/enterprise/docs/releaseapps/splunkbase/namingguidelines/
This commit is contained in:
parent
414e8aa1de
commit
06fbf1c42e
|
@ -1,4 +1,4 @@
|
|||
# Splunk Add-on for malware-filter
|
||||
# malware-filter Add-on (Splunk)
|
||||
|
||||
- [Installation](#installation)
|
||||
- [Usage](#usage)
|
||||
|
|
6
build.py
6
build.py
|
@ -54,8 +54,8 @@ def exclusion(tarinfo):
|
|||
):
|
||||
return None
|
||||
|
||||
# rename parent folder as "malware_filter"
|
||||
tarinfo.name = sub(r"^.", "malware_filter", pathname)
|
||||
# rename parent folder as "TA-malware-filter"
|
||||
tarinfo.name = sub(r"^.", "TA-malware-filter", pathname)
|
||||
|
||||
# reset file stats
|
||||
# based on https://splunkbase.splunk.com/app/833
|
||||
|
@ -81,7 +81,7 @@ check_call(
|
|||
]
|
||||
)
|
||||
|
||||
pkg_file = f"malware_filter-{version()}.tar.gz"
|
||||
pkg_file = f"TA-malware-filter-{version()}.tar.gz"
|
||||
print(f"Creating {pkg_file}...")
|
||||
with tarfile.open(pkg_file, "w:gz") as tar:
|
||||
tar.add(".", filter=exclusion)
|
||||
|
|
|
@ -5,16 +5,11 @@
|
|||
is_configured = false
|
||||
|
||||
[package]
|
||||
id = malware_filter
|
||||
check_for_updates = false
|
||||
|
||||
[id]
|
||||
name = malware_filter
|
||||
version = 0.0.11
|
||||
id = TA-malware-filter
|
||||
|
||||
[ui]
|
||||
is_visible = false
|
||||
label = malware-filter
|
||||
label = malware-filter Add-on
|
||||
|
||||
[launcher]
|
||||
author = Ming Di Leom
|
||||
|
|
Loading…
Reference in New Issue