Skip to main content
Skip table of contents

User Guide

1.Installing the client

Step 1: Prepare apt

Apt needs to be prepared by downloading the GPG key and authorising. Run the command below:

wget -q https://repo.getflotilla.org/flotilla.pubkey -O- | sudo apt-key add -

Step 2: Create a repo with a text file

Create using a text editor the following text file and add one line depending on your version of Ubuntu

/etc/apt/sources.list.d/flotilla.list

Ubuntu 24.04

deb https://repo.getflotilla.org/apt noble main

Ubuntu 22.04

deb https://repo.getflotilla.org/apt jammy main

Ubuntu 20.04

deb https://repo.getflotilla.org/apt focal main

Step 3: Install the client

Run the following three commands:

sudo apt update

sudo apt install flotilla-apt

sudo flotilla-apt --setup

Setup will prompt you asking for which server to report to, type fleet.owta.net and press enter.

Step 4: Authorise your device in Flotilla

Authorise your machine in the Flotilla portal by first running:

flotilla-apt --cron or flotilla-apt -c

Screenshot 2024-09-18 at 11.01.09.png

Browse to the url above and select your machine in the list of unauthenticated machines. Click on ‘Authenticate Selected’.

Screenshot 2024-12-18 at 10.57.17.png

Your device will now appear in Flotilla under the machines tab on the left with the initial status as below:

Untitled.png

2.Using the client

Default

By default the client will run every 20 minutes via cron. This will call in to the configured flotilla server to poll for any pending actions.

Manual

The following three command line switches are available to use with the flotilla-apt command.

No argument

flotilla-apt

Will update all sources, collate a full list of packages that can be upgraded and send them to the flotilla server. This does not poll for any new actions and will send the new package data regardless of scheduled events.

Screenshot 2024-09-16 at 16.38.56.png

Dry run

flotilla-apt --dryrun or -d

This will update all sources, collate a full list of packages that can be upgraded but save the resulting JSON data to /tmp/flotilla-apt-latest and close. Will not call back to the server at all.

Screenshot 2024-09-16 at 16.45.41.png

Setup

flotilla-apt --setup or -s

Will check /etc/apt-diff-client.conf exists and has a server set, if not will ask the user for it.

Cron

flotilla-apt --cron or -c

Will call in to the flotilla server and poll for any pending actions. Will immediately action one, if any. If run as an unprivileged user, it may attempt to install packages and fail with a ‘Permission denied’ error. This is expected behaviour.

3.Creating Events

3 types of events can be created: Installs, Updates and Reports. First click on your machine in the management portal via the Machines option or Machine Groups:

Screenshot 2024-12-06 at 14.01.04.png

Installs

Create an event by clicking on ‘Scheduled Events’ as below:

Screenshot 2024-12-06 at 17.19.11.png

Now from the drop down menu select ‘Install’:

Screenshot 2024-12-06 at 14.54.45.png

Select the minimum severity level of the packages to be installed, this can be one of 4: low (0.1 and above), medium (4.0 and above), high (7.0 and above) critical (9.0 and above):

Screenshot 2024-12-06 at 14.56.09.png

Schedule whether the event will be a one off or regular:

Screenshot 2024-12-06 at 14.57.18.png

Lastly click on Create event. It will now be listed under the Machine Schedule section:

Screenshot 2024-12-06 at 15.23.05.png

Once the install has run an “Install report” will be available below. The red 'x' indicates problems with the install, click for more details:

Screenshot 2024-12-06 at 15.24.12.png

Updates

An update will refresh the package list.

Create an event by clicking on ‘Scheduled Events’ as below:

Screenshot 2024-12-06 at 17.19.11.png

From the drop down menu select ‘Update’:

Screenshot 2024-12-06 at 15.26.17.png

Schedule whether the event will be a one off or regular:

Screenshot 2024-12-06 at 15.27.31.png

Lastly click on Create event. It will now be listed under the Machine Schedule section:

Screenshot 2024-12-06 at 15.28.59.png

Reports

A report will email the user a pdf file containing a list of updates that require installing dependant upon their severity level.

Create an event by clicking on ‘Scheduled Events’ as below:

Screenshot 2024-12-06 at 17.19.11.png

From the drop down menu select ‘Report’:

Screenshot 2024-12-06 at 16.01.23.png

Schedule whether the report will be a one off or regular:

Screenshot 2024-12-06 at 16.02.23.png

Now select the ‘Severity minimum’ to determine which updates are included in the report (Low, medium, high, critical).

4.Machine Groups

Creating groups of machines enables you to apply events to all machines in the group. To create a group go to the Flotilla Management Portal and select Machine Groups from the menu on the left.

Screenshot 2024-12-06 at 16.04.03.png

Click on ‘Create Group’.

Screenshot 2024-12-06 at 16.07.24.png

Name your group and click on ‘Create Group’:

Screenshot 2024-12-06 at 16.09.18.png

Your group will now appear in the group list.

Screenshot 2024-12-06 at 16.10.15.png

To add machines to the group go to the list of machines and select a machine, then click on 'Not assigned”:

Screenshot 2024-12-06 at 16.12.19.png

Select a group and then click on “Assign Group”:

Screenshot 2024-12-06 at 16.14.19.png

5.Machines

This lists all the machines registered to your account, including unauthenticated and out-of-date machines.

To access the list click here:

Screenshot 2024-12-06 at 16.17.49.png

This will now display a table of the machines with the last known highest CVSS score for each machine, the hostname, OS & version.

Screenshot 2025-01-07 at 16.38.42.png

Machines which have not checked into the server for 30 minutes or more will appear greyed out. Clicking the hostname here will take you to a Machine View:

Screenshot 2024-12-06 at 17.17.13.png

Any text typed into the ‘Search’ text field will limit the view to any machine where the contents of the text field can be found in hostname, OS, or version.

Labels

Machines can be assigned descriptive labels to help in the organisation of email reports run on a group of machines. E.g. Running an email report on a group of machines named Flotilla with machines labelled Security, Server and Till will generate 3 separate email reports per label. If you had one machine with both Security and Server you would receive one email for that combination.

A blue rectangle (below) indicates Flotilla is actively calculating data being sent by a machine:

Screenshot 2025-01-07 at 14.13.05.png

6.Changelogs

A changelog is a summary of all notable changes Flotilla makes to a specific package. This usually includes records of changes such as bug fixes, new features, etc.

To access the changelogs click here:

Screenshot 2024-12-06 at 16.20.09.png

Select the package you wish to view the Changelogs for:

Screenshot 2024-12-06 at 16.21.16.png

Select a package source:

Screenshot 2024-12-06 at 16.22.38.png

Now select the package version:

Screenshot 2024-12-06 at 16.24.04.png

Flotilla will now display the changelogs:

Screenshot 2024-12-06 at 16.25.40.png

7.CVEs

The Common Vulnerabilities and Exposures (CVE) system provides a reference method for publicly known information-security vulnerabilities and exposures.

The CVE-ID syntax is variable in length and includes:

CVE prefix + Year + Arbitrary Digits.

The Common Vulnerability Scoring System assigns each CVE a score dependant on the degree of vulnerability with 10 being the highest. To access CVEs click here:

Screenshot 2024-12-06 at 16.26.32.png

Clicking a CVE displays more information:

Screenshot 2024-12-06 at 16.27.45.png

Three external links point to extra information regarding the vulnerability:

Screenshot 2024-12-06 at 16.33.24.png

8.Audit

The records in the audit log broadly encompass two types of activity: anything user generated in the Management Portal and anything machine related (eg. machines sending in updates, events triggering an update).

Click on ‘Audit’ below to access the logs:

Screenshot 2024-12-06 at 16.34.40.png

The view below shows a list of actions, both user and automatic, with a datestamp, a time-since field for readability, a description of the event and if appropriate a handful of links to related views.

Screenshot 2024-12-06 at 16.36.20.png

Views can include:

  • The user who initiated this action

  • The event which initiated this action

  • The machine which initiated this action

  • The user this action affects

  • The event this action affects

  • The machine this action affects

  • The group this action affects

9.Users

Users can be added to allow administration of your Flotilla management portal. To create a user click on ‘Users’:

Screenshot 2024-12-06 at 16.36.52.png

Click on 'Create User”:

Screenshot 2024-12-06 at 16.37.50.png

Enter a username and email address. Lastly click on ‘Create User’. This will send a confirmatory email to the address specified with a link enabling the user to create a password and login to Flotilla:

Screenshot 2024-12-06 at 16.39.46.png

A user may change their email address by clicking on the hamburger icon on the right and selecting ‘Logged in as:’. Next edit the email address and save by clicking ‘Change email address’.

Screenshot 2025-01-03 at 11.41.37.png

10.User Groups

Creating User Groups allows you to manage which users have permissions to access admin menu options. To create a User Group select the option below:

Screenshot 2024-12-06 at 16.42.44.png

Click on ‘Create User Group’:

Screenshot 2024-12-06 at 17.01.27.png

Enter a name and description and click ‘Create Group’:

Screenshot 2024-12-06 at 17.02.57.png

This will now take you back to the main page that displays the User Group. Hover over your recently created group and click:

Screenshot 2024-12-06 at 17.05.22.png

You can now add users and permissions:

Screenshot 2024-12-06 at 17.07.05.png

The following is a list of all permissions available:

superuser_all, admin_all_users, view_global_event, create_global_event, delete_global_event, view_audit, view_profile, view_user_groups, view_machine_groups, view_ungrouped_machine, create_machine_group, create_user, create_user_group, delete_machine, reset_password_other, authenticate_machines, view_user_group, edit_user_group_permissions, put_user_in_group, remove_user_from_group, view_machine_group, alter_machine_group, create_machine_event, delete_machine_event, alter_server_settings.

11.Unauthenticated Machines

This lists machines pending authentication. During installation of the client a prompt appears asking the user to authenticate the machine. Reference: https://documentation.owta.net/flotilladocs/user-guide#UserGuide-Step4:AuthoriseyourdeviceinFlotilla

Screenshot 2024-12-06 at 17.09.04.png

Select which machines you wish to authenticate by ticking the appropriate check boxes and clicking ‘Authenticate Selected’:

Screenshot 2024-12-18 at 10.57.17.png

12.Out of Date Machines

Machines can be classified as ‘out-of-date’ for one of two reasons: they are no longer making any connections back to the Flotilla server or they are connecting but not providing any update information.

Click on ‘Out of Date Machines’ to display the list of machines:

Screenshot 2024-12-06 at 17.12.07.png

These machines can be deleted by clicking the tab on the right:

Screenshot 2024-12-06 at 17.14.35.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.