Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 499 Bytes

File metadata and controls

24 lines (18 loc) · 499 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const fileThreatSubmission = {
  '@odata.type': '#microsoft.graph.security.fileContentThreatSubmission',
  category: 'malware',
  fileName: 'test.html',
  fileContent: 'UmVjZWl2ZWQ6IGZyb20gTVcyUFIwME1CMDMxNC5uYW1wcmQwMC.....'
};

await client.api('/security/threatSubmission/fileThreats')
	.version('beta')
	.post(fileThreatSubmission);