splunk / splunk/support-scripts

kv_cert_verify.sh looks to be rather broken

Open Beginner friendly
#10 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10
Forks
5
PR merge metrics
No merged PRs in 30d

Description

There's no way this'll run properly:

line 6 looks to have dropped a newline so the first if statement has been moved up a line:

# This script provides both basic shell-based checks and comprehensive Python    if [[ -f "$server_conf" ]]; then

line 34 has this random string:

fiation using the kv_cert_verifier.py tool.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with kv_cert_verify.sh, focusing on the malformed line 6 and stray text on line 34 identified in the issue. Restore the script's intended formatting, then run a shell syntax check and confirm the script invokes kv_cert_verifier.py without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
security
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.