code: def _storeAccessContext(snmpEngine):
          
          execCtx = snmpEngine.observer.getExecutionContext('rfc3412.receiveMessage:request')
  
          return {
              'securityModel': execCtx['securityModel'],
              'securityName': execCtx['securityName'],
              'securityLevel': execCtx['securityLevel'],
              'contextName': execCtx['contextName'],
              'pduType': execCtx['pdu'].getTagSet()
          }
docs: Copy received message metadata while it lasts