<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:26:02 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>[DRIVERS-2623] AWS Lambda metadata detection logic is too permissive</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2623</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;DRIVERS-2209 outlined that if the AWS_EXECUTION_ENV env var is present, the app is running on AWS Lambda. This turns out to be too permissive because AWS_EXECUTION_ENV is used in other non-Lambda envs. For example the Windows evergreen machines have AWS_EXECUTION_ENV=EC2.&lt;/p&gt;

&lt;p&gt;According to &lt;a href=&quot;https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Lambda env var docs&lt;/a&gt;, I believe the driver needs to validate that the AWS_EXECUTION_ENV var begins with the  &quot;AWS_Lambda_&quot; prefix:&lt;/p&gt;
&lt;blockquote&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;AWS_EXECUTION_ENV &#8211; The runtime identifier, prefixed by AWS_Lambda_ (for example, AWS_Lambda_java8). This environment variable is not defined for custom runtimes (for example, runtimes that use the provided or provided.al2 identifiers).&lt;br/&gt;
...&lt;/li&gt;
	&lt;li&gt;AWS_LAMBDA_RUNTIME_API &#8211; (Custom runtime) The host and port of the runtime API.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="2332605">DRIVERS-2623</key>
            <summary>AWS Lambda metadata detection logic is too permissive</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="shane.harvey@mongodb.com">Shane Harvey</assignee>
                                    <reporter username="shane.harvey@mongodb.com">Shane Harvey</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 May 2023 23:57:00 +0000</created>
                <updated>Fri, 20 Oct 2023 19:11:28 +0000</updated>
                            <resolved>Fri, 20 Oct 2023 19:11:28 +0000</resolved>
                                                        <component>FaaS</component>
                    <component>Handshake</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5404581" author="xgen-internal-githook" created="Fri, 5 May 2023 16:26:50 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Shane Harvey&apos;, &apos;email&apos;: &apos;shnhrv@gmail.com&apos;, &apos;username&apos;: &apos;ShaneHarvey&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2623&quot; title=&quot;AWS Lambda metadata detection logic is too permissive&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2623&quot;&gt;&lt;del&gt;DRIVERS-2623&lt;/del&gt;&lt;/a&gt; AWS_EXECUTION_ENV must start with &quot;AWS_Lambda_&quot; (#1414)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/2de99bcce0c2b84a57a089194b43932d2a281e02&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/2de99bcce0c2b84a57a089194b43932d2a281e02&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5404576" author="shane.harvey" created="Fri, 5 May 2023 16:25:33 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1414&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1414&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2333538">CDRIVER-4636</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333540">CSHARP-4638</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333539">CXX-2688</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333541">GODRIVER-2833</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333544">MOTOR-1129</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333543">NODE-5260</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333546">PHPC-2224</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333545">PYTHON-3704</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333547">RUBY-3251</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333548">RUST-1645</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2333542">JAVA-4957</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Teams that have already implemented DRIVERS-2209 must tweak the AWS lambda detection logic as described in this commit:&lt;br/&gt;
Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2623&quot; title=&quot;AWS Lambda metadata detection logic is too permissive&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2623&quot;&gt;&lt;del&gt;DRIVERS-2623&lt;/del&gt;&lt;/a&gt; AWS_EXECUTION_ENV must start with &quot;AWS_Lambda_&quot; (#1414)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/2de99bcce0c2b84a57a089194b43932d2a281e02&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/2de99bcce0c2b84a57a089194b43932d2a281e02&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Other teams should implement this change at the same time as DRIVERS-2209.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4636'>CDRIVER-4636</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.25.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2688'>CXX-2688</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4638'>CSHARP-4638</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.20.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2833'>GODRIVER-2833</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.12.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4957'>JAVA-4957</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-5260'>NODE-5260</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>5.5.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1129'>MOTOR-1129</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3704'>PYTHON-3704</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPC-2224'>PHPC-2224</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3251'>RUBY-3251</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1645'>RUST-1645</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.6.0</td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18362" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Engineering Lead</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>abe.egnor@gmail.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1q2ko:</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_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 5 May 2023 00:00:00 +0000</customfieldvalue>

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