<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:17:42 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-70975] Exclude commands which are not allowed with security token from NTDI core passthrough</title>
                <link>https://jira.mongodb.org/browse/SERVER-70975</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There are a lot of commands which are not allowed in serverless mode. We expect these commands can be excluded from native tenant data isolation passthrough test suite. We can do it either by creating new test tags or any other better ways.&#160;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2170772">SERVER-70975</key>
            <summary>Exclude commands which are not allowed with security token from NTDI core passthrough</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="sophia.tan@mongodb.com">Sophia Tan</assignee>
                                    <reporter username="sophia.tan@mongodb.com">Sophia Tan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Oct 2022 17:13:49 +0000</created>
                <updated>Sun, 29 Oct 2023 21:31:15 +0000</updated>
                            <resolved>Mon, 28 Nov 2022 19:22:16 +0000</resolved>
                                                    <fixVersion>6.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5002027" author="xgen-internal-githook" created="Tue, 22 Nov 2022 21:27:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (YAML file)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5631df7cc62b6804e619315b27fff39db309d88b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5631df7cc62b6804e619315b27fff39db309d88b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4998681" author="xgen-internal-githook" created="Mon, 21 Nov 2022 21:48:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 7)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5afd4140f47599d2c7180ca55240f5f2338898ad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5afd4140f47599d2c7180ca55240f5f2338898ad&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4998509" author="xgen-internal-githook" created="Mon, 21 Nov 2022 20:49:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 6)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2bcee0994adf325a6d82d1a062ecf1715aec45e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2bcee0994adf325a6d82d1a062ecf1715aec45e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4998181" author="xgen-internal-githook" created="Mon, 21 Nov 2022 19:17:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 5)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/78711c2c27c9a769670e79ade63fa616831589d2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/78711c2c27c9a769670e79ade63fa616831589d2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4998077" author="xgen-internal-githook" created="Mon, 21 Nov 2022 18:48:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 4)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4f92dfc82e28e028415f95cc0a50fc2e01bc7487&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4f92dfc82e28e028415f95cc0a50fc2e01bc7487&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4998068" author="xgen-internal-githook" created="Mon, 21 Nov 2022 18:47:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 3)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d90030950c7f205d2a1354de0fc7efec15a9b6fb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d90030950c7f205d2a1354de0fc7efec15a9b6fb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4997941" author="xgen-internal-githook" created="Mon, 21 Nov 2022 18:17:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 2)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3b3961b638da17d54875b5cab45a01238168b0a3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3b3961b638da17d54875b5cab45a01238168b0a3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4997593" author="xgen-internal-githook" created="Mon, 21 Nov 2022 16:56:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sophia Tan&apos;, &apos;email&apos;: &apos;sophia_tll@hotmail.com&apos;, &apos;username&apos;: &apos;sophiatll&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70975&quot; title=&quot;Exclude commands which are not allowed with security token from NTDI core passthrough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70975&quot;&gt;&lt;del&gt;SERVER-70975&lt;/del&gt;&lt;/a&gt; Exclude commands which are not allowed with security token from NTDI core passthrough (Part 1)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c0cc8aba2740f0f345bd2387759188e2f1a35612&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c0cc8aba2740f0f345bd2387759188e2f1a35612&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4953601" author="JIRAUSER1262803" created="Thu, 3 Nov 2022 21:07:05 +0000"  >&lt;p&gt;Today, there are&lt;br/&gt;
&#160;- total js core files :1283&#160;files&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;disallowed commands list in &lt;a href=&quot;https://docs.google.com/spreadsheets/d/1dFBlboicGcyNkXn4GBnwcuszv7KLtZwq3Pb2gvPyg9o/edit#gid=1720212156&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the excel file&lt;/a&gt; : 190 commands&lt;/li&gt;
	&lt;li&gt;the js core files which run disallowed commands: 182 files&lt;/li&gt;
	&lt;li&gt;found disallowed commands in theses js core file:  152 commands&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Out target:&lt;br/&gt;
   we should exclude files which run disallowed commands from the passthrough suite. &lt;/p&gt;

&lt;p&gt;Approach 1: add new test tags and exclude these test tag.&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;create new test tag for each cmd. We will have 152 new test tags.&lt;/li&gt;
	&lt;li&gt;in each js file, add test tags for all the disallowed cmds run by the file. We will add about 413 lines totally into js files.&lt;/li&gt;
	&lt;li&gt;in yml file, we can exclude tags with &quot;RUN_CMD_DISALLOWED_WITH_SECURITY_TOKEN_*&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Approach 2: list all the excluded files in yml directly.&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;add 182 lines in yml file.&lt;/li&gt;
	&lt;li&gt;no js file change.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For both approaches,&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;we need a disallowed command list for reference. We&apos;d better to put the list into github for maintenance.&lt;/li&gt;
	&lt;li&gt;if we add or remove disallowed command from the disallowed commands list, we should search js files to figure out which files should be excluded or included.&lt;/li&gt;
	&lt;li&gt;if we change any js file, we should check if the file should be excluded or included.&lt;/li&gt;
	&lt;li&gt;we&apos;d better have a tool to help us do the above things.&lt;/li&gt;
&lt;/ul&gt;

</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2158596">SERVER-70545</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 10 Nov 2022 17:43:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 11 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2346</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 11 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sophia.tan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1g2i7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr411g:i</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6599">Server Serverless 2022-11-14</customfieldvalue>
    <customfieldvalue id="6650">Server Serverless 2022-11-28</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1fonj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>