Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

As at 1.12.6 we have introduced the concept of Networks. The Blessed Subnets feature uses the data available in Networks.

How Does it Work?

*(Under Review for V2)

Introduction

As we run Discoveries and collect device results we populate the list of networks. The blessed The Blessed Subnets feature  feature uses this list of networks to only accept data from devices on those networks.

...

To make another network go to menu -> Admin : Manage -> Networks -> Create Network. Provide a name and an optional description.

IMPORTANT - The network name should be a slash subnet addrress address like 192.168.1.0/24. No spaces between the slash and numbers. It should be a valid subnet address. This string is what is tested against when using Blessed Subnets.

Image RemovedImage Added

 

Image Added

 

View Network Details

Go to menu: Manage -> Admin -> Networks -> List Networks.

Image Removed

You will see a list of

...

networks. You can view a

...

networks by clicking on the

...

blue view icon. You can also edit or delete

...

You will also see a list of the devices in that particular network.

Image Removed

...

your networks.

 

Image Added

 

 

Database Schema
 

Code Block
themeEclipse
languagetext
Create Table: CREATE TABLE `networks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL DEFAULT '',
  `network` varchar(200) NOT NULL DEFAULT '',
  `org_id` int(10) unsigned NOT NULL DEFAULT '1',
  `description` text NOT NULL,
  `edited_by` varchar(200) NOT NULL DEFAULT '',
  `edited_date` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

Example Database Entry

Credentials are stored in the database in the "networks" table. A typical entry will look as below. 

         id: 5

...

NOTE - org_id is not used at present.

Code Block
themeEclipse
languagetext
         id: 3
       name: 192.168.1.0/24
    network: 192.168.1.0/24

...

description: 

...


     org_id: 1
description: Auto inserted local server subnet
  edited_by: 

...

Administrator
edited_date: 

...

2017-

...

05-29 

...

10:

...

47:

...

33


API / Web Access

...

You can access the /networks collection using the normal Open-AudIT JSON based API. Just like any other collection. Please see the API documentation for further details.

...