Versions Compared

Key

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

...

 Credentials can have one of a few different types - snmp1/snmp v.1 / v.2, snmpv3snmp v.3, ssh, ssh key, windows are all implemented. CAVEAT - ssh keys are not implemented for Windows Open-AudIT servers as yet.

...

To make another credential entry use the menu and go to menu -> Admin : Discover -> Credentials -> Create Credentials (In Open-AudIT Enterprise menu -> System -> Credentials -> Create Credentials). Provide a name, organisation and optionally a description. Choose a type of credential. Once you do this, the additional fields will populate with the available configurable options.

 

Image Added

 

Viewing Credential Details

Go to menu -> Admin : Discover -> Credentials -> List Credentials.

You will see a list of

...

credential. You can view a

...

connection by clicking on the

...

blue view icon. You can also edit or delete

...

the your credentials.

Database Schema

Code Block
languagesql
CREATE TABLE `credentials` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `type` enum('aws','basic_auth','cim','ipmi','mysql','netapp','other','snmp','snmp_v3','sql_server','ssh','ssh_key','vmware','web','windows') NOT NULL DEFAULT 'other',
  `credentials` text NOT NULL,
  `org_id` int(10) unsigned NOT NULL DEFAULT '1',
  `edited_by` varchar(200) NOT NULL DEFAULT '',
  `edited_date` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

...

Code Block
languagesql
         id: 26
       name: Mark at home
description: 
       type: ssh
credentials: 12389RdkKYFQrwZF3bfBeHSyHhAXdIbh2i22MsSdsnpCO72lQGoRnlpKfW+AETgmCOhIAe3NQmRucMncsaGTyeczshUCuv1iqTuk8ZT3sHyGkDPkq/FiX1z6guUL123/
     org_id: 0
  edited_by: Administrator
edited_date: 20162017-06-08-04 0810:5411:1012

API / Web Access

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

...