<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:15:14 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>[DOCS-16367] [SERVER] Audit Filter example does not work as displayed for findAndModify()</title>
                <link>https://jira.mongodb.org/browse/DOCS-16367</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Audit Filter examples on the following page, if they are copy pasted into a MongoDB configuration, will not produce the desired results for `findAndModify()` operations. If a customer copy pastes these examples into their environment and tests, they will not be successful.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.mongodb.com/docs/v5.0/tutorial/configure-audit-filters/#filter-on-read-and-write-operations&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/v5.0/tutorial/configure-audit-filters/#filter-on-read-and-write-operations&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;For all examples, where it is currently &quot;findandmodify&quot;, needs to be changed to &quot;findAndModify&quot; for it to work. I found 6 examples on that page that need to be changed.&#160;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Please see updated examples with the correct case sensitivity:&lt;/p&gt;

{
&#160; &#160;atype: &quot;authCheck&quot;,
&#160; &#160;&quot;param.command&quot;: \{ $in: [ &quot;find&quot;, &quot;insert&quot;, &quot;delete&quot;, &quot;update&quot;, &quot;findAndModify&quot; ] }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;mongod --dbpath data/db --auth --setParameter auditAuthorizationSuccess=true --auditDestination file --auditFilter &apos;{ atype: &quot;authCheck&quot;, &quot;param.command&quot;: &lt;/p&gt;
{ $in: [ &quot;find&quot;, &quot;insert&quot;, &quot;delete&quot;, &quot;update&quot;, &quot;findAndModify&quot; ] }
&lt;p&gt; }&apos; --auditFormat BSON --auditPath data/db/auditLog.bson&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
storage:&lt;br/&gt;
&#160; &#160;dbPath: data/db&lt;br/&gt;
security:&lt;br/&gt;
&#160; &#160;authorization: enabled&lt;br/&gt;
auditLog:&lt;br/&gt;
&#160; &#160;destination: file&lt;br/&gt;
&#160; &#160;format: BSON&lt;br/&gt;
&#160; &#160;path: data/db/auditLog.bson&lt;br/&gt;
&#160; &#160;filter: &apos;{ atype: &quot;authCheck&quot;, &quot;param.command&quot;: &lt;/p&gt;
{ $in: [ &quot;find&quot;, &quot;insert&quot;, &quot;delete&quot;, &quot;update&quot;, &quot;findAndModify&quot; ] }
&lt;p&gt; }&apos;&lt;br/&gt;
setParameter: { auditAuthorizationSuccess: true }&lt;br/&gt;
&#160;&lt;/p&gt;
{
&#160; &#160; atype: &quot;authCheck&quot;,
&#160; &#160; &quot;param.ns&quot;: &quot;test.orders&quot;,
&#160; &#160; &quot;param.command&quot;: \{ $in: [ &quot;find&quot;, &quot;insert&quot;, &quot;delete&quot;, &quot;update&quot;, &quot;findAndModify&quot; ] }
&lt;p&gt;}&lt;br/&gt;
&#160;&lt;br/&gt;
mongod --dbpath data/db --auth --setParameter auditAuthorizationSuccess=true --auditDestination file --auditFilter &apos;{ atype: &quot;authCheck&quot;, &quot;param.ns&quot;: &quot;test.orders&quot;, &quot;param.command&quot;: &lt;/p&gt;
{ $in: [ &quot;find&quot;, &quot;insert&quot;, &quot;delete&quot;, &quot;update&quot;, &quot;findAndModify&quot; ] }
&lt;p&gt; }&apos; --auditFormat BSON --auditPath data/db/auditLog.bson&lt;br/&gt;
&#160;&lt;br/&gt;
storage:&lt;br/&gt;
&#160; &#160;dbPath: data/db&lt;br/&gt;
security:&lt;br/&gt;
&#160; &#160;authorization: enabled&lt;br/&gt;
auditLog:&lt;br/&gt;
&#160; &#160;destination: file&lt;br/&gt;
&#160; &#160;format: BSON&lt;br/&gt;
&#160; &#160;path: data/db/auditLog.bson&lt;br/&gt;
&#160; &#160;filter: &apos;{ atype: &quot;authCheck&quot;, &quot;param.ns&quot;: &quot;test.orders&quot;, &quot;param.command&quot;: &lt;/p&gt;
{ $in: [ &quot;find&quot;, &quot;insert&quot;, &quot;delete&quot;, &quot;update&quot;, &quot;findAndModify&quot; ] }
&lt;p&gt; }&apos;&lt;br/&gt;
setParameter: { auditAuthorizationSuccess: true }&lt;/p&gt;</description>
                <environment></environment>
        <key id="2435267">DOCS-16367</key>
            <summary>[SERVER] Audit Filter example does not work as displayed for findAndModify()</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="9">Done</resolution>
                                        <assignee username="lauren.tran@mongodb.com">Lauren Tran</assignee>
                                    <reporter username="zynon.putney@mongodb.com">Zynon Putney</reporter>
                        <labels>
                            <label>bugfix</label>
                            <label>quick-win</label>
                    </labels>
                <created>Wed, 6 Sep 2023 13:18:11 +0000</created>
                <updated>Mon, 30 Oct 2023 19:23:45 +0000</updated>
                            <resolved>Thu, 7 Sep 2023 17:28:48 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5686587" author="JIRAUSER1269489" created="Thu, 7 Sep 2023 14:51:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/pull/4501&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/pull/4501&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Sep 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001vzExeQAE, 5006R00001ufE5bQAE]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 7 Sep 2023 14:49:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        21 weeks, 6 days 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_14876" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Docs Reviewer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alison.huh@mongodb.com</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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            21 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>lauren.tran@mongodb.com</customfieldvalue>
            <customfieldvalue>zynon.putney@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2pcqf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i27c6g:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2oyvr:</customfieldvalue>

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