<?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 SAS Visual Investigator: Send and E-mail automatically when an alert is created in Fraud, AML and Security Intelligence</title>
    <link>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/834485#M842</link>
    <description>&lt;P&gt;&amp;nbsp;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a particular requirement from a customer, they would like to send a e-mail automatically when an alert is created.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Is there an automatic feature directly in SAS Visual Investigator to do that ?&lt;/P&gt;
&lt;P&gt;2. There is a API endpoint to get alerts created filtering from a specific date as parameter ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Should we create a process reading directly from internal SVI database (Postgres) ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 14:21:12 GMT</pubDate>
    <dc:creator>BigRider</dc:creator>
    <dc:date>2022-09-21T14:21:12Z</dc:date>
    <item>
      <title>SAS Visual Investigator: Send and E-mail automatically when an alert is created</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/834485#M842</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a particular requirement from a customer, they would like to send a e-mail automatically when an alert is created.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Is there an automatic feature directly in SAS Visual Investigator to do that ?&lt;/P&gt;
&lt;P&gt;2. There is a API endpoint to get alerts created filtering from a specific date as parameter ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Should we create a process reading directly from internal SVI database (Postgres) ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/834485#M842</guid>
      <dc:creator>BigRider</dc:creator>
      <dc:date>2022-09-21T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Investigator: Send and E-mail automatically when an alert is created</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/836106#M843</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;1. No, there is not an automatic feature for sending emails on alert creation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Sure, there is an REST endpoint for finding alerts created since a specific timestamp. This URL will find all alerts created after midnight on September 6th.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;GET http://{{host}}:{{port}}/svi-alert/alerts?filter=gt(alertVersionTimeStamp,2022-09-06)&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;You could also use an ISO 8601 timestamp rather than a date but make sure to include timezone information.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;GET http://{{host}}:{{port}}/svi-alert/alerts?filter=gt(alertVersionTimeStamp,2022-09-05T19:00:00.000-05:00) &lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;If you wanted to limit your query to a certain alert domain, you could enhance the query like this:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;GET http://{{host}}:{{port}}/svi-alert/alerts?filter=and(gt(alertVersionTimeStamp,2022-09-06),eq(domainId,mydomain))&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;Note: I am matching on the field alertVersionTimeStamp, not creationTimeStamp. creationTimeStamp is only set when the first version of the alert is created. If the alert is closed and then re-opened for new activity some time later, the alertVersionTimeStamp will be set for the new "version" of the alert but creationTimeStamp will remain set to the time the first alert version was created.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;3. If you want to create an external process that polls for new alerts and sends emails, I would suggest you use the REST call rather than reading from the database directly.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Sep 2022 15:23:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/836106#M843</guid>
      <dc:creator>_austin_</dc:creator>
      <dc:date>2022-09-30T15:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Investigator: Send and E-mail automatically when an alert is created</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/836143#M844</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/312643"&gt;@_austin_&lt;/a&gt;&amp;nbsp; !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It´s a good way to meet customer requirments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bila&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 16:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/SAS-Visual-Investigator-Send-and-E-mail-automatically-when-an/m-p/836143#M844</guid>
      <dc:creator>BigRider</dc:creator>
      <dc:date>2022-09-30T16:40:31Z</dc:date>
    </item>
  </channel>
</rss>

