Skip to content

_getVerifiedStorageObject - contentious sessionStorage element #2094

@arfraz

Description

@arfraz

See: function _getVerifiedStorageObject within:

https://github.com/microsoft/ApplicationInsights-JS/blob/main/shared/AppInsightsCommon/src/StorageHelperFuncs.ts

This function sets the name of the element to the same as value being a (new Date).toString();
storage.setItem(uid, uid);

Online scanning tool Facette has reported this is violating GDPR. The name of the element needs to be set to something appropriate as to ensure the element can be deemed as 'necessary'

In other words, with the date time being stored as the name of the element, it cannot be identified as a necessary element.

can we set the name of the element to be something static like: sessionStorageCheck so that we mark this value as necessary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions