descriptor_id: LOGSTASH descriptor_type: tooling_format file_extensions: - ".conf" files_sub_directory: logstash linters: - linter_name: mustache linter_spdx_license: Apache-2.0 linter_text: | `mustache` is a Logstash configuration file parser that will check for valid syntax is_formatter: false name: LOGSTASH_MUSTACHE linter_url: https://github.com/breml/logstash-config linter_repo: https://github.com/breml/logstash-config cli_lint_extra_args: - check cli_help_arg_name: help cli_version_arg_name: "--version" examples: - "mustache check 01-web.conf" cli_lint_mode: list_of_files cli_lint_errors_count: regex_sum cli_lint_errors_regex: "error: ([0-9]+) errors occurred" install: dockerfile: - | RUN ML_THIRD_PARTY_DIR="/third-party/mustache" \\ && MUSTACHE_VERSION=0.5.3 \\ && mkdir -p ${ML_THIRD_PARTY_DIR} \\ && wget -P ${ML_THIRD_PARTY_DIR} -q "https://github.com/breml/logstash-config/releases/download/v${MUSTACHE_VERSION}/mustache_${MUSTACHE_VERSION}_Linux_x86_64.tar.gz" \\ && tar xf ${ML_THIRD_PARTY_DIR}/mustache_${MUSTACHE_VERSION}_Linux_x86_64.tar.gz --directory ${ML_THIRD_PARTY_DIR} \\ && mv ${ML_THIRD_PARTY_DIR}/mustache /usr/local/bin \\ && rm -rf ${ML_THIRD_PARTY_DIR}