Skip to content

Commit

Permalink
Adapt VT Augment to Sandbox privacy requirements (#36)
Browse files Browse the repository at this point in the history
* Adapt VT Augment to SAndobx privacy requirements

* Update codeowners
  • Loading branch information
danipv authored Mar 11, 2024
1 parent 0dc9ea9 commit d3fe3b6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
6 changes: 1 addition & 5 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in the repo.
* @Diviei @recluising @escipion @danipv @azakrzewski
* @VirusTotal/vt-integrations-devs
2 changes: 1 addition & 1 deletion dist/vt-augment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virustotal/vt-augment",
"version": "1.7.0",
"version": "1.7.1",
"description": "Client library that wraps common patterns when interact with the VirusTotal Augment product",
"main": "dist/vt-augment.min.js",
"keywords": [
Expand Down
3 changes: 2 additions & 1 deletion src/vt-augment.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ class VTAugment {

setInnerHtml(temp, sandboxedIframe);
temp.firstChild.setAttribute(
'sandbox', 'allow-scripts allow-same-origin allow-popups');
'sandbox', 'allow-scripts allow-same-origin allow-popups' +
' allow-storage-access-by-user-activation');

container.appendChild(temp.removeChild(temp.firstChild));
}
Expand Down

0 comments on commit d3fe3b6

Please sign in to comment.