Reference for Splunkbase file standards
The Splunkbase team evaluates your submitted content to ensure it meets specific file standards.
Packaging and naming
Acceptance Criteria | Description |
|---|---|
File format | The file uses tarball format with one of the following extensions: .tar.gz, .tgz, or .spl. If there are any other compressed archives within the release that need extracting, explain in release notes. |
File suffix naming | The file name suffix is .spl, .tar.gz or .tgz. |
App description | A description is provided, to be shown on the product page in Splunkbase. |
App icon | The icon should be in PNG format, with dimensions of 36 px by 36 px. Icon name is case-sensitive. |
App screenshot | The screenshot or splash screen should be in PNG format, with dimensions of 623 px by 350 px. |
File size | Any size greater than 200 MB requires explanation of the reason for the large size. |
Unnecessary files | Package can only include files that the app requires. For example, do not include local build environment files such as log files. |
Root directory | Submitted app packages must only have one root folder which contains the Splunk app or add-on. |
Local directory | The local directory is reserved for user preferences. Any files in the local directory must be moved to the default directory. |
Splunk configuration files
Acceptance Criteria | Description |
|---|---|
Application descriptor | The fields in app.conf are provided: [launcher] description, author, and version. |
App ID field | The [package] id field in app.conf must follow Splunkbase naming guidelines (A-Z, 0-9_-.), and match the ID and root folder of your app. The ID must not be already used by another application. |
App label field | The [ui] label field must exist in app.conf must meet Splunkbase length requirements (5-80 characters). |
App version field | The [launcher] version field in app.conf must meet Splunkbase naming guidelines, and cannot match a previously used version of your app. |
Application updates | The application update is consistent in versioning/numbering with previous releases. |
Directory placement | .conf files are distributed in the default directory. The local directory is empty if it exists. |
Splunk XML file standards (if applicable)
Acceptance Criteria | Description |
|---|---|
Simple XML | XML is well-formed. |
Advanced XML | XML is well-formed (Deprecated). |
Setup XML | XML is well-formed. |
Navigation XML | XML is well-formed. |
Source code standards
Acceptance Criteria | Description |
|---|---|
Compiled Python files are not allowed | *.pyo and *.pyc files are not allowed by Splunkbase. |
Hidden files | Files that start with "." are not allowed. For example, .DS_Store. |
Binary content standards
Acceptance Criteria | Description |
|---|---|
Misplaced executable scripts | All scripts ( .py, .sh, .bat and so on) and .exe files must be in the bin directory. |
Binary content | Any binary content is what it purports to be, and compiled libraries are required. |
Splunk version support and installation standards
All submitted apps must run on the versions of Splunk that your app claims to support.
Operating system standards
Acceptance Criteria | Description |
|---|---|
Hard-coded paths | No hard-coded file paths in scripts relative to a local development environment. |
Executable files | Files that indicate they are executable must actually be executable. |
User privileges | Scripts must not maliciously attempt to switch to other user accounts, create new users, or run sudo. |
Malicious commands | No malicious commands designed to corrupt the OS or Splunk instance. For example: rm -rf, kill, shutdown, halt and so on. |
File system writes | Calls to open/popen are checked to determine where a file is written. |
Malware/viruses, malicious content, user security standards
Acceptance Criteria | Description |
|---|---|
Check for malware/viruses | Scan for viruses and malware. |
Check for offensive material | No offensive material is in the content. |
Check embedded links | Any URL links in the app do not link to malicious or offensive sites. |
Authorization credentials | No plain text authorization credentials are in the app artifacts. |
Hostname/IPs | No sensitive hostnames or IPs are left in the distributed app. |
Invasive relative paths | Relative paths included in the tar file that are invasive. For example, ../README.md or default/../appserver/static. |
External data sources
You must document if the app calls an external source for data or other info.
Documentation standards
Acceptance Criteria | Description |
|---|---|
Basic README | Package your app with a simple README, which includes version support, system requirements, installation, configuration, troubleshooting and how to run the app. |
Language | Deliver core documentation in English. |
Editing/Proofreading | Check that your documentation is free of any major spelling, grammar, or punctuation issues. |
Support standards
Contact information for application support (email, link to a ticket system, and so on) is provided in the documentation or app page content.
Intellectual property standards
If you use the Splunk logo, usage must meet Splunk branding guidelines.