Harden Windows DLP enforcement and Electron runtime packaging
This commit is contained in:
1 parent
e7d778aeac
commit
8a253eda89
120 files changed
+3569
-135
No files matched your search
@@ -8,7 +8,7 @@ async function fixture(t,{configured=true}={}){const dir=mkdtempSync(join(tmpdir
|
||||
const evidence=eventId=>({eventId,type:'interaction',payload:{pageUrl:'https://intranet.example/document',action:'copy',sessionId:'00000000-0000-4000-8000-000000000001',outcome:'completed',captureSource:'guarded-clipboard',sensitiveField:false}});
|
||||
|
||||
test('human observations bind exact event action and session without claiming transfer completion',async t=>{
|
||||
const {api,store,id}=await fixture(t),sessionId=randomUUID();
|
||||
const {api}=await fixture(t),sessionId=randomUUID();
|
||||
for(const action of ['click','submit']){
|
||||
const eventId=randomUUID(),payload={pageUrl:'https://intranet.example/',action,sessionId,outcome:'observed',captureSource:'human-observer',sensitiveField:false,target:{tag:'BUTTON'}};
|
||||
assert.equal((await api('/api/device/events','POST',{eventId,kind:'browser.interaction',policyVersion:1,interaction:{action,sessionId,outcome:'observed'}})).status,200);
|
||||
|
||||
Reference in new issue
Block a user