Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.36 KB

File metadata and controls

28 lines (18 loc) · 1.36 KB

DRACOON Activate Virus Protection

Description

This project aims on activating virus protection for given rooms and all their sub rooms in DRACOON.

Prerequisites

Authenticated user can only activate virus protection on rooms where he/she is data room admin.

Usage

  1. Register OAuth Client in DRACOON (instructions)

    GrandTypes: authorization_code Callback URL: $YOUR_DRACOON_DOMAIN/oauth/callback

  2. Download GitHub release or build from source

  3. Fill config.example.yml 3.1 Enter your DRACOON domain at base_url 3.2 Set activate_on_all_rooms to true if you want to activate Virus Protection on all rooms. Be careful with this setting as file are blocked until scanned. This might take a while when there are a huge amount of file. You can use room ids instead. 3.2 Enter room ids in the array of activate_virus_protection if you want to activate on certain rooms. 3.3 Rename file to config.yml. This file need to be next to the scripts binary.

  4. Run binary, authenticate with given link and past back authentication code to terminal.

License

This project is licensed under the MIT License.