Configuration Rules
This endpoint is used to fetch all the configuration Rules in the current organization
Items Per Page
Page Number
Sorting Order
Sorting Key
GET /ux/nccm/configuration_rules/?items_per_page=1&page=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
]
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
GET /ux/nccm/configuration_rules/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
PUT /ux/nccm/configuration_rules/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
No response body
No content
DELETE /ux/nccm/configuration_rules/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
This endpoint is to Import Text From OLD NCCM for Configuration Rule.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/import-txt/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/is_disabled/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/is_enabled/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/multidelete/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
API endpoint that allows users to be viewed or edited.
GET /ux/nccm/configuration_rules/options/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
Save Imported Text From OLD NCCM for Configuration Rule.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/save-txt/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
This endpoint is to Import Json for Configuration Rule.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
true
true
POST /ux/nccm/configuration_rules/validate-json/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1053
{
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}
{
"id": "text",
"rule_config_severity": "text",
"rule_type": "text",
"match_criteria": "text",
"status": "text",
"rollback_type": "text",
"on_violation_perform": "text",
"remedy_configured": "text",
"rule_description": "text",
"ruleid": "text",
"rule_display_id": "text",
"organization": "text",
"last_update_time": "2025-08-30T21:56:55.696Z",
"creation_time": "2025-08-30T21:56:55.696Z",
"created_by": "text",
"modified_by": "text",
"is_deleted": true,
"is_private": true,
"assigned_users": [],
"assigned_group": [],
"creator": "text",
"name": "text",
"description": "text",
"compliance_standard": "text",
"compliance_details": "text",
"rule_execution_type": 1,
"activation": true,
"is_enabled": true,
"vendor": "text",
"os_type": "text",
"is_editable": true,
"device_type": "text",
"config_type": "text",
"inv_commands": "text",
"other_configs": "text",
"config_script_id": "text",
"config_script_commands": "text",
"cve_ids": [],
"nw_reviews": "text",
"execution": true,
"rule_start_time": "2025-08-30T21:56:55.696Z",
"rule_end_time": "2025-08-30T21:56:55.696Z",
"severity": 1,
"alarm_msg": "text",
"notifier_id": "text",
"rollback_script_id": "text",
"rollback_script_commands": "text",
"rollback_script_adv_commands": "text",
"rollback_comments": "text",
"continue_nextcommand_on_failure": true,
"rule_info": "text",
"template_id": "text",
"os_version": "text"
}