<?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: Data Masking Before Ingestion in Security</title>
    <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683015#M17740</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is the exact and correct sourcetype and I have created a custom app and uploaded the App in our Search head. Since our Search head is hosted in Splunk Cloud managed by Support.&lt;/P&gt;&lt;P&gt;So I have uploaded the app in the upload app section and post vetting process completed i have installed the custom app into the Search head.&lt;/P&gt;&lt;P&gt;This is the custom app i have created "abc_app"&lt;/P&gt;&lt;P&gt;Under abc_app I have placed two folders "default" and "metadata"&lt;/P&gt;&lt;P&gt;Under default I have created the app.conf and props.conf&lt;/P&gt;&lt;P&gt;And under metadata I have created the default.metadata&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer screenshots for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So kindly let me know where i am missing since the lines are getting segregated as separate events whereas password masking is not getting applied to the events. Hence kindly help on the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 11:55:46 GMT</pubDate>
    <dc:creator>anandhalagaras1</dc:creator>
    <dc:date>2024-04-03T11:55:46Z</dc:date>
    <item>
      <title>Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/681491#M17716</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Want to mask two of the fields "password" and "cpassword" from the events which are getting written with the plain text information. So needs to be changed as #####.&lt;/P&gt;&lt;P&gt;Sample event information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2024-01-31_07:58:28] INFO : REQUEST: User:abc CreateUser POST: name: AB_Test_Max;email: xyz@gmail.com;password: abc12345679;cpassword: abc12345679;role: User;&lt;/P&gt;&lt;P&gt;[2024-01-30_14:05:42] INFO : REQUEST: User:xyz CreateUser POST: name: Math_Lab;email: abc@yahoo.com;password: xyzab54;cpassword: xyzab54;role: Admin;&lt;/P&gt;&lt;P&gt;So kindly help with the props.conf so that i can apply with SEDCMD-mask.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 06:14:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/681491#M17716</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2024-03-21T06:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/681493#M17717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;,please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[your_sourcetype]
SEDCMD = s/password: ([^;]+);cpassword: ([^;]+);/password: (####);cpassword: (####);/gm&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/ppaFZc/1" target="_blank"&gt;https://regex101.com/r/ppaFZc/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 06:25:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/681493#M17717</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-21T06:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/682610#M17730</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We had two requirements for the same sourcetype. One involved line breaks, and the other required password masking during ingestion. As our Search heads are managed by Splunk Support and hosted in the Cloud, we created a custom app and deployed the props.conf in the default directory. After uploading the apps for the cloud vetting process, they were successfully installed. However, I've noticed that the logs are now being separated into individual events, which is acceptable, but the passwords are still visible and haven't been masked according to our requirement. I'm unsure about where exactly I may have missed it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the props.conf file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;[sourcetype]&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;SEDCMD = s/password: ([^;]+);cpassword: ([^;]+);/password: (####);cpassword: (####);/gm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample log for reference:&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2024-03-01_06:32:08] INFO : REQUEST: User:abc CreateUser POST: name: xyz;email: abc@gmail.com;password: xyz@123;cpassword: xyz@123;role: Administrator;&lt;/P&gt;&lt;P&gt;So kindly help on this requirement.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 11:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/682610#M17730</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2024-04-01T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/682700#M17734</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;regex substitution is correct.&lt;/P&gt;&lt;P&gt;Are you sure about the sourcetype?&lt;/P&gt;&lt;P&gt;is there any sourcetype replacement in your data?&lt;/P&gt;&lt;P&gt;are there some other Heavy Forwarders&amp;nbsp; before the one you used for the masking?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 07:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/682700#M17734</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-04-02T07:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683015#M17740</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is the exact and correct sourcetype and I have created a custom app and uploaded the App in our Search head. Since our Search head is hosted in Splunk Cloud managed by Support.&lt;/P&gt;&lt;P&gt;So I have uploaded the app in the upload app section and post vetting process completed i have installed the custom app into the Search head.&lt;/P&gt;&lt;P&gt;This is the custom app i have created "abc_app"&lt;/P&gt;&lt;P&gt;Under abc_app I have placed two folders "default" and "metadata"&lt;/P&gt;&lt;P&gt;Under default I have created the app.conf and props.conf&lt;/P&gt;&lt;P&gt;And under metadata I have created the default.metadata&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer screenshots for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So kindly let me know where i am missing since the lines are getting segregated as separate events whereas password masking is not getting applied to the events. Hence kindly help on the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 11:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683015#M17740</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2024-04-03T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683019#M17741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what's the sourcetype to apply the masking?&lt;/P&gt;&lt;P&gt;I suppose that sourcetype in the props.conf stanza header it's only for example and that in your installation you have the correct sourcetype to apply the transformation.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 12:24:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683019#M17741</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-04-03T12:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683050#M17742</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; Indeed, I have applied the correct sourcetype there to ensure that events are appropriately divided. Nonetheless, the masking of passwords is not taking place as intended.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 15:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/683050#M17742</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2024-04-03T15:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/684225#M17767</link>
      <description>&lt;P class="lia-align-left"&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class="lia-align-left"&gt;Any inputs from your end since still i can see the events are getting ingested with the password information present in it.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 10:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/684225#M17767</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2024-04-15T10:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Masking Before Ingestion</title>
      <link>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/684284#M17768</link>
      <description>&lt;P&gt;Could you try this SEDCMD in the props.conf file? (Make sure that the stanza is changed to match the sourcetype of the logs)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[your_sourcetype]
SEDCMD-maskpasswords = s/password: ([^;]+);cpassword: ([^;]+);/password: ####;cpassword: ####;/g&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 21:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Data-Masking-Before-Ingestion/m-p/684284#M17768</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-04-15T21:00:25Z</dc:date>
    </item>
  </channel>
</rss>

