Microservice that performs asynchronous malware scanning of files uploaded to Altinn 3. Documentation for setting up filescan in an app: https://docs.altinn.studio/nb/altinn-studio/v8/reference/configuration/filescan/
These instructions will get you a copy of the filescan component up and running on your machine for development and testing purposes.
- .NET 9.0 SDK
- Newest Git
- A code editor - we like Visual Studio Code
- Install Azure Functions extension. You can also install the Azure Tools extension pack, which is recommended for working with Azure resources.
- Also install recommended extensions (e.g. C#)
- Podman or another container tool such as Docker Desktop
- Install Azurite
- Install Azure Functions Core Tool
- Follow the readme to run Muescheli locally
Clone Altinn FileScan repo and navigate to the folder.
git clone https://github.com/Altinn/altinn-file-scan
cd altinn-file-scanStart Altinn FileScan application
cd src/Altinn.FileScan
dotnet runThe filescan solution is now available locally at http://localhost:5200/. To access swagger use http://localhost:5200/filescan/swagger.
Start Altinn FileScan Functions
cd src/Altinn.FileScan.Functions
func start