<?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: Get Stream Security Rules with QRS API in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1907265#M10416</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;You have to create a custom REST API connexion on System Rules. security rules&lt;/P&gt;
&lt;P&gt;&lt;A href="https://localhost:4242/qrs/systemrule/full/" target="_blank"&gt;https://localhost:4242/qrs/systemrule/full/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'REST_Custom_Monitor_SystemRule';

RestConnectorMasterTable:
SQL SELECT 
	"id",
	"createdDate",
	"modifiedDate",
	"modifiedByUserName",
	"category",
	"subcategory",
	"type",
	"name",
	"rule",
	"resourceFilter",
	"actions",
	"comment",
	"disabled",
	"ruleContext",
	"seedId",
	"version",
	"privileges",
	"schemaPath",
	"__KEY_root",
	(SELECT 
		"@Value",
		"__FK_tags"
	FROM "tags" FK "__FK_tags" ArrayValueAlias "@Value")
FROM JSON (wrap on) "root" PK "__KEY_root";

[tags]:
LOAD	[@Value],
[__FK_tags] AS [__KEY_root]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__FK_tags]);


[Qlik System Rule]:
LOAD	[id] as [Qlik System Rule Id],
	[createdDate] as [Qlik System Creation Date],
	[modifiedDate] as [Qlik System Rule Modification Date],
	[modifiedByUserName] as [Qlik System Rule Modified by UserName],
	[category] as [Qlik System Rule Category],
	[subcategory] as [Qlik System Subcategory],
	[type] as [Qlik System Rule Type],
	[name] as [Qlik System Rule Name],
	[rule] as [Qlik System Rule Rule],
	[resourceFilter] as [Qlik System Rule Resource Filter],
	[actions] as [Qlik System Rule Actions],
	[comment] as [Qlik System Rule Comment],
	[disabled] as [Qlik System Rule Disabled],
	[ruleContext] as [Qlik System Rule RuleContext],
	[seedId] as [Qlik System Rule Seed Id],
	[version] as [Qlik System Rule Version],
	[privileges] as [Qlik System Rule Privileges],
	[schemaPath] as [Qlik System Rule Schema Path]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__KEY_root]);


DROP TABLE RestConnectorMasterTable;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Then you can filter on Category&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simonaubert_0-1647701786227.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74899iD650FBEF811AA564/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simonaubert_0-1647701786227.png" alt="simonaubert_0-1647701786227.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then on resource filter&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simonaubert_1-1647701855708.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74900i3A8CFEDDD8B7CE71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simonaubert_1-1647701855708.png" alt="simonaubert_1-1647701855708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/P&gt;</description>
    <pubDate>Sat, 19 Mar 2022 14:58:06 GMT</pubDate>
    <dc:creator>simonaubert</dc:creator>
    <dc:date>2022-03-19T14:58:06Z</dc:date>
    <item>
      <title>Get Stream Security Rules with QRS API</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1735471#M5339</link>
      <description>&lt;P&gt;Hi friends!&lt;/P&gt;&lt;P&gt;Is that possible to get security rules for some Qlik Sense Stream?&lt;/P&gt;&lt;P&gt;I created some custom security rules for one stream, and i need to access it from QRS API.&lt;/P&gt;&lt;P&gt;I need to get few access&amp;nbsp;groups for that stream.&lt;/P&gt;&lt;P&gt;Looked for&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/June2020/apis/repositoryserviceapi/" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/June2020/apis/repositoryserviceapi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;methods and have no found in "qrs/stream/full" section with my custom security rules attributes for stream.&lt;/P&gt;&lt;P&gt;I there is any way to found them ?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 20:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1735471#M5339</guid>
      <dc:creator>lylererger</dc:creator>
      <dc:date>2021-12-28T20:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stream Security Rules with QRS API</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1830716#M9454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32709"&gt;@lylererger&lt;/a&gt;&amp;nbsp;, did you find any solution in the meantime?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 08:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1830716#M9454</guid>
      <dc:creator>Yorick_Stevens</dc:creator>
      <dc:date>2021-08-24T08:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stream Security Rules with QRS API</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1907265#M10416</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;You have to create a custom REST API connexion on System Rules. security rules&lt;/P&gt;
&lt;P&gt;&lt;A href="https://localhost:4242/qrs/systemrule/full/" target="_blank"&gt;https://localhost:4242/qrs/systemrule/full/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'REST_Custom_Monitor_SystemRule';

RestConnectorMasterTable:
SQL SELECT 
	"id",
	"createdDate",
	"modifiedDate",
	"modifiedByUserName",
	"category",
	"subcategory",
	"type",
	"name",
	"rule",
	"resourceFilter",
	"actions",
	"comment",
	"disabled",
	"ruleContext",
	"seedId",
	"version",
	"privileges",
	"schemaPath",
	"__KEY_root",
	(SELECT 
		"@Value",
		"__FK_tags"
	FROM "tags" FK "__FK_tags" ArrayValueAlias "@Value")
FROM JSON (wrap on) "root" PK "__KEY_root";

[tags]:
LOAD	[@Value],
[__FK_tags] AS [__KEY_root]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__FK_tags]);


[Qlik System Rule]:
LOAD	[id] as [Qlik System Rule Id],
	[createdDate] as [Qlik System Creation Date],
	[modifiedDate] as [Qlik System Rule Modification Date],
	[modifiedByUserName] as [Qlik System Rule Modified by UserName],
	[category] as [Qlik System Rule Category],
	[subcategory] as [Qlik System Subcategory],
	[type] as [Qlik System Rule Type],
	[name] as [Qlik System Rule Name],
	[rule] as [Qlik System Rule Rule],
	[resourceFilter] as [Qlik System Rule Resource Filter],
	[actions] as [Qlik System Rule Actions],
	[comment] as [Qlik System Rule Comment],
	[disabled] as [Qlik System Rule Disabled],
	[ruleContext] as [Qlik System Rule RuleContext],
	[seedId] as [Qlik System Rule Seed Id],
	[version] as [Qlik System Rule Version],
	[privileges] as [Qlik System Rule Privileges],
	[schemaPath] as [Qlik System Rule Schema Path]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__KEY_root]);


DROP TABLE RestConnectorMasterTable;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Then you can filter on Category&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simonaubert_0-1647701786227.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74899iD650FBEF811AA564/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simonaubert_0-1647701786227.png" alt="simonaubert_0-1647701786227.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then on resource filter&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simonaubert_1-1647701855708.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74900i3A8CFEDDD8B7CE71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simonaubert_1-1647701855708.png" alt="simonaubert_1-1647701855708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 14:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-Stream-Security-Rules-with-QRS-API/m-p/1907265#M10416</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2022-03-19T14:58:06Z</dc:date>
    </item>
  </channel>
</rss>

