REST API Asset Creation All Supported Fields - CCS 12.6.0 API
search cancel

REST API Asset Creation All Supported Fields - CCS 12.6.0 API

book

Article ID: 248132

calendar_today

Updated On:

Products

Control Compliance Suite Standards Server Control Compliance Suite Control Compliance Suite Standards Module

Issue/Introduction

Please provide the full sample of JSON definition files of the CCS 12.6.0  to use to add new assets using the Create Asset API. The current sample is incomplete.

Create Asset (for agentless data collection only ) API can be used only to create assets for the agentless data collection method of Control Compliance Suite. 

Environment

Release : 12.6.0

Component :

Cause

The documentation does not fully document each Field Name that is supported.

Resolution

Please find the attached excel file listing all the support Field Names for Windows, Unix, MSSQL, and Oracle.

Additional Information

Oracle has some Data Types that are looking for a number (INT) instead of a String like what would be expected, please see below for each of these.
 
These fields are mapped with the field available under Asset Details on CCS console and supports following values: 
 
 
SShVersion:
  • -1 : Not Applicable
  • 0 : SSH1 Only
  • 1 : SSH1
  • 2 : SSH2
  • 3 : SSH2 Only
DBNameType 
  • 0 : SID
  • 1 : Service Name
DBProtocol 
  • 0 : TCP/IP
  • 1 : IPC
  • 2 : TCP/IP with SSL
  • 3 : Named Pipes
  • 4 : Unknown
DBConnType 
  • 0 : Database Default
  • 1 : Shared Server
  • 2 : Dedicated Server
  • 3 : Unknown 

Also if you want the Asset created in a specific folder in the Asset System then use the following.

"container" : "Assets\\TestFolder",

"container" : "Testing",

Also for the CIA Ratings

Confidentiality/Integrity/Availability 
  • 0 : Not Defined
  • 1 : Low
  • 2 : Medium
  • 3 : High 

Documentation Link

Attachments

1660758175098__CCS REST API Create Assets JSON Field Names.xlsx get_app
1660737761990__CCS REST API Create Assets JSON.xlsx get_app