Splunk Dev

Appinspect - Why is the "Dynamic check for modular inputs" check case-insensitive?

defaziom
Explorer

If I have the following scheme:

<scheme>
<title>My App</title>
<description>Does stuff</description>
<use_external_validation>true</use_external_validation>
<use_single_instance>true</use_single_instance>
<streaming_mode>xml</streaming_mode>
<endpoint>
    <args>
        <arg name="MyArg">
            <description>sample arg</description>
            <data_type>string</data_type>
            <required_on_edit>false</required_on_edit>
            <required_on_create>true</required_on_create>
        </arg>
    </args>
</endpoint>

And the following inputs.conf.spec

[my_app://<name>]
 MyArg = <value>

Using the appinspect API, The "Dynamic checks for modular inputs Modular Inputs are configured via an inputs.conf.spec file located at README/inputs.conf.spec" check fails claiming that "MyArg" defined in the scheme was not found in "README/inputs.conf.spec". If I change "MyArg" in the scheme to "myarg", the check passes.

Why are the args in the spec file treated as case-insensitive when the check is run? When the app is installed in Splunk, Splunk treats the args in the spec file as case-sensitive. Shouldn't the behavior of the check be the same as Splunk?

1 Solution

chenl_splunk
Splunk Employee
Splunk Employee

Hi Defaziom,
Thank you for reporting this issue! We've tracked this issue internally and will start our investigation and take appropriate action.

Best Regards,
Leo

View solution in original post

chenl_splunk
Splunk Employee
Splunk Employee

Hi Defaziom,
Thank you for reporting this issue! We've tracked this issue internally and will start our investigation and take appropriate action.

Best Regards,
Leo

defaziom
Explorer

Leo, thank you for looking into this issue! Do you have any updates?

0 Karma

chenl_splunk
Splunk Employee
Splunk Employee

Defaziom, we are still working on it and the issue will be fixed soon (most likely before Feb).

0 Karma

chenl_splunk
Splunk Employee
Splunk Employee

@defaziom we've updated the AppInspect API service, I assume the issue should be fixed already, please verify.

0 Karma

defaziom
Explorer

I resubmitted our app and it passed all AppInspect tests! Thank you!

0 Karma
Get Updates on the Splunk Community!

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...