<?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: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/249058#M4668</link>
    <description>&lt;P&gt;I have not tried escaping the quotes. Please let me know if I need to provide anything. Being you noted you are looking into it anyways I have not done anything more with this. I am curious what comes from this being, let me know once you have more information.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 17:37:21 GMT</pubDate>
    <dc:creator>sivart_89</dc:creator>
    <dc:date>2024-06-24T17:37:21Z</dc:date>
    <item>
      <title>2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247498#M4538</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I'm working on polishing up the our custom db query extension. I've uploaded it with no errors but upon activating it I see the below. Note that the query is a SELECT statement, it just has an UPDATE in the as part of the select and has CREATE in the WHERE clause. Are we really not able to run something like this and expected to modify our queries to account for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;[1522c0dc-6529-3dc0-a551-8f0e3d62f960]&lt;/SPAN&gt;&lt;SPAN class=""&gt;[f_8980186878066372557]&lt;/SPAN&gt;&lt;SPAN class=""&gt;[781770]&lt;/SPAN&gt;&lt;SPAN class=""&gt;[out]&lt;/SPAN&gt;&lt;SPAN class=""&gt;17&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;44&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;34&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;021&lt;/SPAN&gt; &lt;SPAN class=""&gt;[main]&lt;/SPAN&gt;&lt;SPAN&gt; ERROR com.dynatrace.shared.core.AbstractDataSource -- Error in YAML or JSON configuration: Verification failed! Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands in a custom extension in 'SqlGroup{query='&lt;STRONG&gt;SELECT&lt;/STRONG&gt; PRCS.NM, ROUND((SYSDATE - CAST (&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;.TS AS DATE)) * &lt;/SPAN&gt;&lt;SPAN class=""&gt;24&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN class=""&gt;60&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;) Value FROM CUST.OUTAGE.STAGE.ETL.RESTART WHERE PRCS.NM IN ('wf.Proactive.ETR.CW', 'wf.Proactive.ETR.MW', 'wf.Proactive.Restore.CW', 'wf.Proactive.Restore.MW') AND &lt;STRONG&gt;CREATE&lt;/STRONG&gt;.USER.ID = 'ETL' AND &lt;STRONG&gt;UPDATE&lt;/STRONG&gt;.USER.ID = 'ETL'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 14:48:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247498#M4538</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-06-07T14:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247707#M4543</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11520"&gt;@Mike_L&lt;/a&gt;&amp;nbsp;Hi Mike, is this a limitation that will soon be fixed? While we do have some time, this is preventing us from migrating away from the 1.0 db query extension.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 14:49:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247707#M4543</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-06-07T14:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247710#M4544</link>
      <description>&lt;P&gt;This limitation has been set by our security department to lower the risk of extensions causing data issues. There is no plan to change it.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 14:58:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247710#M4544</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-06-07T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247713#M4546</link>
      <description>&lt;P&gt;So if we are querying from a table column that has update in the name of it, are we expected to restructure our db table column names to get this working? I get the concern here but is there not a better way of preventing update statements from running in the extension rather than just checking for the word update anywhere in the query?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 15:17:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247713#M4546</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-06-07T15:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247717#M4549</link>
      <description>&lt;P&gt;I agree completely. Let me raise it with the product manager and make sure that you get an official reply (or that it will be looked at).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 15:19:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247717#M4549</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-06-07T15:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247718#M4550</link>
      <description>&lt;P&gt;Thank you Mike for looking more into this. Eager to hear their response here.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 15:21:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/247718#M4550</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-06-07T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/248550#M4628</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Indeed our security check may disallow SQL keywords as (CREATE/UPDATE/DROP etc) in the query.&lt;BR /&gt;You are completely right that in your case these are used in a safe way (as column names).&lt;/P&gt;
&lt;P&gt;I'm assuming that you have already tried to escape these problematic names with double quotes ("CREATE.USER.ID")&lt;BR /&gt;Anyway we are looking into it - I've created an internal issue&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;Michal Nalezinski&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:18:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/248550#M4628</guid>
      <dc:creator>michal_nalezin</dc:creator>
      <dc:date>2024-06-18T11:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/249058#M4668</link>
      <description>&lt;P&gt;I have not tried escaping the quotes. Please let me know if I need to provide anything. Being you noted you are looking into it anyways I have not done anything more with this. I am curious what comes from this being, let me know once you have more information.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 17:37:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/249058#M4668</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-06-24T17:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/250134#M4767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/26013"&gt;@michal_nalezin&lt;/a&gt;. Just touching base here to see if there is any sort of update here.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 21:51:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/250134#M4767</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-07-08T21:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/251724#M4875</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/26013"&gt;@michal_nalezin&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11520"&gt;@Mike_L&lt;/a&gt;&amp;nbsp; any update on this?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 12:37:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/251724#M4875</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-07-26T12:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/251741#M4877</link>
      <description>&lt;P&gt;It's on Nalezinski's table, I'm sure he'll reply when he has more details.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 15:37:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/251741#M4877</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-07-26T15:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: 2.0 Extension: Query cannot use DELETE, DROP, CREATE, UPDATE and REPLACE commands</title>
      <link>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/255221#M5115</link>
      <description>&lt;P&gt;We have improved our security mechanics, currently we do forbid certain SQL keywords to be used as standalone words. Hence if you have tables or columns that share the same naming as some of SQL keywords (f.e. create.update - table named "create" and column named "update"), you can now safely use the providing that you type them with leading or preceding non-whitespace (non-blankspace) characters (f.e. select * from mytable.update, or select create.user from myschema.create).&lt;/P&gt;
&lt;P&gt;Potentially you could use aliases for such names, so managing your query would be easier.&lt;/P&gt;
&lt;P&gt;The change shall be available with 1.299 version of the cluster.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 08:38:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/2-0-Extension-Query-cannot-use-DELETE-DROP-CREATE-UPDATE-and/m-p/255221#M5115</guid>
      <dc:creator>michal_nalezin</dc:creator>
      <dc:date>2024-09-09T08:38:46Z</dc:date>
    </item>
  </channel>
</rss>

