<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk app inpsect - Customizing splunk login screen in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681174#M11386</link>
    <description>&lt;P&gt;What is the goal/target of the app?&amp;nbsp; If it's for internal use then you can ignore the failures.&amp;nbsp; If it's for Splunk Cloud then you must resolve the web.conf error.&amp;nbsp; Splunk Support may be able to help you with that, but be prepared for them to say what you want to do is not possible.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 12:13:57 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-03-20T12:13:57Z</dc:date>
    <item>
      <title>Splunk app inpsect - Customizing splunk login screen</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681121#M11385</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;I'm currently working on customizing the Splunk login screen to change the logo, background, footer, etc. I referred to the Splunk documentation (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.3/AdvancedDev/CustomizeLogin" target="_new"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.3/AdvancedDev/CustomizeLogin&lt;/A&gt;) and successfully completed the customization. Now, the Splunk login screen displays my logo, background image, and footer content.&lt;/P&gt;&lt;P&gt;However, I encountered an issue when running Splunk App Inspect on the custom-login app I created. The Splunk App Inspect tool reported 8 failures:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The web.conf file contains a [settings] stanza, which is not permitted. Only [endpoint:&lt;EM&gt;] and [expose:&lt;/EM&gt;] stanzas are allowed in web.conf. Line Number: 1&lt;/LI&gt;&lt;LI&gt;The 'local' directory exists, which is not allowed. All configuration should be in the 'default' directory.&lt;/LI&gt;&lt;LI&gt;The 'local.meta' file exists, which is not permitted. All metadata permissions should be set in 'default.meta'.&lt;/LI&gt;&lt;LI&gt;No README file was found, which should include version support, system requirements, installation, configuration, troubleshooting, and running of the app, or a link to online documentation.&lt;/LI&gt;&lt;/OL&gt;&lt;P class="lia-align-left"&gt;I'm wondering if the [endpoint:*] and [expose:*] stanzas in web.conf are necessary for customizing the login screen. Are these stanzas required for login screen changes? All other issues have been fixed. (for production environment)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Below is the corrected version of the custom_login app structure based on the Splunk App Inspect recommendations:&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;custom_login&lt;BR /&gt;|-- default&lt;BR /&gt;| |-- app.conf&lt;BR /&gt;| |-- web.conf&lt;BR /&gt;| |-- restmap.conf&lt;BR /&gt;| |-- savedsearches.conf&lt;BR /&gt;| |-- ui_prefs.conf&lt;BR /&gt;| |-- README&lt;BR /&gt;| |-- data&lt;BR /&gt;|-- metadata&lt;BR /&gt;| |-- default.meta&lt;BR /&gt;|-- static&lt;BR /&gt;| |-- appIcon.png&lt;BR /&gt;| |-- appIcon_2x.png&lt;BR /&gt;| |-- appIconAlt.png&lt;BR /&gt;| |-- appIconAlt_2x.png&lt;BR /&gt;| |-- background.png&lt;BR /&gt;| |-- fav_logo.png&lt;BR /&gt;|-- bin&lt;BR /&gt;| |-- readme.txt&lt;BR /&gt;|-- appserver&lt;BR /&gt;| |-- static&lt;BR /&gt;| |-- background.png&lt;BR /&gt;| |-- fav_logo.png&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;Here are the contents of the configuration files:&lt;/P&gt;&lt;P&gt;**app.conf**&lt;BR /&gt;```&lt;BR /&gt;[launcher]&lt;BR /&gt;author = NAME&lt;BR /&gt;description = &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;XXXXXXXXYYYYYY&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;.&lt;BR /&gt;version = Custom login 1.0&lt;/P&gt;&lt;P&gt;[install]&lt;BR /&gt;is_configured = 0&lt;/P&gt;&lt;P&gt;[ui]&lt;BR /&gt;is_visible = 1&lt;BR /&gt;label = Custom app login&lt;/P&gt;&lt;P&gt;[triggers]&lt;BR /&gt;reload.web = web.conf&lt;BR /&gt;reload.restmap = restmap.conf&lt;BR /&gt;reload.ui_prefs = ui_prefs.conf&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;**restmap.conf**&lt;BR /&gt;```&lt;BR /&gt;# restmap.conf for custom_login&lt;/P&gt;&lt;P&gt;[endpoint:login_background]&lt;BR /&gt;# REST endpoint for login background image configurations&lt;BR /&gt;match = /custom_login&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;**ui_prefs.conf**&lt;BR /&gt;```&lt;BR /&gt;[settings]&lt;BR /&gt;loginBackgroundImageOption = custom&lt;BR /&gt;loginCustomBackgroundImage = custom_login:appserver/static/background.png&lt;BR /&gt;login_content = This is a server managed by my team. For any inquiries, please reach out to us at YYYY.com&lt;BR /&gt;loginCustomLogo = custom_login:appserver/static/fav_logo.png&lt;BR /&gt;loginFooterOption = custom&lt;BR /&gt;loginFooterText = © 2024 XXXXXXX&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;**web.conf**&lt;BR /&gt;```&lt;BR /&gt;[endpoint:login]&lt;BR /&gt;[expose:login_background]&lt;BR /&gt;pattern = /custom_login&lt;BR /&gt;methods = GET&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;I am currently working in a development environment. Any advice on how to proceed with these changes would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 05:38:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681121#M11385</guid>
      <dc:creator>sanjai</dc:creator>
      <dc:date>2024-03-19T05:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk app inpsect - Customizing splunk login screen</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681174#M11386</link>
      <description>&lt;P&gt;What is the goal/target of the app?&amp;nbsp; If it's for internal use then you can ignore the failures.&amp;nbsp; If it's for Splunk Cloud then you must resolve the web.conf error.&amp;nbsp; Splunk Support may be able to help you with that, but be prepared for them to say what you want to do is not possible.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:13:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681174#M11386</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-20T12:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk app inpsect - Customizing splunk login screen</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681314#M11392</link>
      <description>&lt;P&gt;Yes, I'm customizing the login screen for Splunk Enterprise, not for Splunk Cloud. I'm ignoring these failures. Thanks. &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 05:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-app-inpsect-Customizing-splunk-login-screen/m-p/681314#M11392</guid>
      <dc:creator>sanjai</dc:creator>
      <dc:date>2024-03-20T05:43:53Z</dc:date>
    </item>
  </channel>
</rss>

