Altinn / altinn-file-scan

Microservice for handling file scan
MIT License
0 stars 0 forks source link

Altinn FileScan

Microservice that performs asynchronous malware scanning of files uploaded to Altinn 3. Documentation for setting up filescan in an app: https://docs.altinn.studio/app/development/configuration/filescan/

Build status

Filescan build status

Getting Started

These instructions will get you a copy of the filescan component up and running on your machine for development and testing purposes.

Prerequisites

  1. .NET 8.0 SDK
  2. Newest Git
  3. A code editor - we like Visual Studio Code
  4. Podman or another container tool such as Docker Desktop
  5. Install Azurite
  6. Install Azure Functions Core Tool
  7. Follow the readme to run Muescheli locally

Cloning the application

Clone Altinn FileScan repo and navigate to the folder.

git clone https://github.com/Altinn/altinn-file-scan
cd altinn-file-scan

Running the application

Start Altinn FileScan application

cd src/Altinn.FileScan
dotnet run

The filescan solution is now available locally at http://localhost:5200/. To access swagger use http://localhost:5200/filescan/swagger.

Running functions

Start Altinn FileScan Functions

cd src/Altinn.FileScan.Functions
func start