Basically just ported to work in Azure function as a quick PoC. Some differences:
No custom logger built, just using logging for output to Azure Function monitor logging
Added a valid_until override
Removed old MS Graph code from the main __init__.py script
Removed some old requirements and removed the specific versions where I could
Updated the docs (README.MD and INSTALL.MD) to reflect changes made
Removed old MS Graph code from config.py script
Removed some code that was commented out from RequestManager.py
To do:
Remove old MS Graph code from RequestManager.py
Add the option to push to multiple workspaces in a single tenant, currently not supported
Known issues:
Will sometimes throw the following error even if access is assigned correctly - no idea why this is happening, sometimes it works just fine:
2023-07-10T12:10:57Z [Error] Error when submitting indicators. {"error":{"code":"UnauthorizedAccess","message":"The Object ID [] does not have required permission to perform this action on the workspace [].","details":[],"target":null,"additionalInfo":null}}
Basically just ported to work in Azure function as a quick PoC. Some differences:
valid_until
override__init__.py
scriptREADME.MD
andINSTALL.MD
) to reflect changes madeconfig.py
scriptRequestManager.py
To do:
RequestManager.py
Known issues:
2023-07-10T12:10:57Z [Error] Error when submitting indicators. {"error":{"code":"UnauthorizedAccess","message":"The Object ID [] does not have required permission to perform this action on the workspace [].","details":[],"target":null,"additionalInfo":null}}