For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Compliance

get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
cyclestringOptional
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

productstringOptional
searchstringOptional

A search term.

Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/compliance/eol-extended-support/
GET /compliance/eol-extended-support/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "product": "text",
      "cycle": "text",
      "is_extended": true
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
productstring · max: 100Required

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Required

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

Responses
201Success
idintegerRead-onlyRequired
productstring · max: 100Required

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Required

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

post/compliance/eol-extended-support/
POST /compliance/eol-extended-support/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 52

"product='text'&cycle='text'&is_extended=true"
201Success
{
  "id": 1,
  "product": "text",
  "cycle": "text",
  "is_extended": true
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this custom eol extended support.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
productstring · max: 100Required

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Required

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

get/compliance/eol-extended-support/{id}/
GET /compliance/eol-extended-support/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "product": "text",
  "cycle": "text",
  "is_extended": true
}
put

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this custom eol extended support.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
productstring · max: 100Required

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Required

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

Responses
200Success
idintegerRead-onlyRequired
productstring · max: 100Required

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Required

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

put/compliance/eol-extended-support/{id}/
PUT /compliance/eol-extended-support/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 52

"product='text'&cycle='text'&is_extended=true"
200Success
{
  "id": 1,
  "product": "text",
  "cycle": "text",
  "is_extended": true
}
delete

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this custom eol extended support.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/compliance/eol-extended-support/{id}/
DELETE /compliance/eol-extended-support/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this custom eol extended support.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyOptional
productstring · max: 100Optional

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Optional

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

Responses
200Success
idintegerRead-onlyRequired
productstring · max: 100Required

endoflife.date product slug (e.g. ubuntu)

cyclestring · max: 50Required

Version cycle (e.g. 22.04)

is_extendedbooleanOptional

Whether purchased extended support is active for this product/cycle

patch/compliance/eol-extended-support/{id}/
PATCH /compliance/eol-extended-support/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 52

"product='text'&cycle='text'&is_extended=true"
200Success
{
  "id": 1,
  "product": "text",
  "cycle": "text",
  "is_extended": true
}
get

Read-only viewset exposing per-asset EOL status.

GET /compliance/eol-status/

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
assetintegerOptional
formatstring · enumOptionalPossible values:
is_eolbooleanOptional
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

productstringOptional
product__isnullbooleanOptional
searchstringOptional

A search term.

supportbooleanOptional
Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/compliance/eol-status/
GET /compliance/eol-status/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "asset": 1,
      "asset_name": "text",
      "product": "text",
      "cycle": "text",
      "eol": "text",
      "is_eol": true,
      "support": true,
      "support_date": "text",
      "latest": "text",
      "fetched_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}
get

Read-only viewset exposing per-asset EOL status.

GET /compliance/eol-status/

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this asset eol status.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
assetintegerRead-onlyRequired
asset_namestringRead-onlyRequired
productstring · nullableRead-onlyRequired
cyclestring · nullableRead-onlyRequired
eolstring · nullableRead-onlyRequired
is_eolbooleanRead-onlyRequired
supportbooleanRead-onlyRequired
support_datestring · nullableRead-onlyRequired
lateststring · nullableRead-onlyRequired
fetched_atstring · date-timeRead-onlyRequired
get/compliance/eol-status/{id}/
GET /compliance/eol-status/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "product": "text",
  "cycle": "text",
  "eol": "text",
  "is_eol": true,
  "support": true,
  "support_date": "text",
  "latest": "text",
  "fetched_at": "2026-01-01T00:00:00.000Z"
}
get

Return EOL status for a set of assets.

GET /compliance/eol-status/eol-summary/?asset__in=1,2,3

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
assetintegerRead-onlyRequired
asset_namestringRead-onlyRequired
productstring · nullableRead-onlyRequired
cyclestring · nullableRead-onlyRequired
eolstring · nullableRead-onlyRequired
is_eolbooleanRead-onlyRequired
supportbooleanRead-onlyRequired
support_datestring · nullableRead-onlyRequired
lateststring · nullableRead-onlyRequired
fetched_atstring · date-timeRead-onlyRequired
get/compliance/eol-status/eol-summary/
GET /compliance/eol-status/eol-summary/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "product": "text",
  "cycle": "text",
  "eol": "text",
  "is_eol": true,
  "support": true,
  "support_date": "text",
  "latest": "text",
  "fetched_at": "2026-01-01T00:00:00.000Z"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
assetintegerOptional
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

ruleintegerOptional
rule__severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
searchstringOptional

A search term.

statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/compliance/results/
GET /compliance/results/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "asset": 1,
      "asset_name": "text",
      "rule": 1,
      "status": "compliant",
      "detail": null,
      "evaluated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
Responses
201Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
post/compliance/results/
POST /compliance/results/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55

"asset=1&rule=1&status='compliant'&detail=null"
201Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "rule": 1,
  "status": "compliant",
  "detail": null,
  "evaluated_at": "2026-01-01T00:00:00.000Z"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance result.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
get/compliance/results/{id}/
GET /compliance/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "rule": 1,
  "status": "compliant",
  "detail": null,
  "evaluated_at": "2026-01-01T00:00:00.000Z"
}
put

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance result.

Query parameters
formatstring · enumOptionalPossible values:
Body

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
put/compliance/results/{id}/
PUT /compliance/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55

"asset=1&rule=1&status='compliant'&detail=null"
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "rule": 1,
  "status": "compliant",
  "detail": null,
  "evaluated_at": "2026-01-01T00:00:00.000Z"
}
delete

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance result.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/compliance/results/{id}/
DELETE /compliance/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance result.

Query parameters
formatstring · enumOptionalPossible values:
Body

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyOptional
assetintegerOptional
asset_namestringRead-onlyOptional
ruleintegerOptional
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyOptional
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
patch/compliance/results/{id}/
PATCH /compliance/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55

"asset=1&rule=1&status='compliant'&detail=null"
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "rule": 1,
  "status": "compliant",
  "detail": null,
  "evaluated_at": "2026-01-01T00:00:00.000Z"
}
get

Return aggregated compliance status per asset.

GET /compliance/results/asset-summary/?asset__in=1,2,3

Returns a list of {asset, global_status, counts} for each asset that has at least one compliance result. Assets with no results are not included (the frontend treats them as not_applicable).

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
get/compliance/results/asset-summary/
GET /compliance/results/asset-summary/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "rule": 1,
  "status": "compliant",
  "detail": null,
  "evaluated_at": "2026-01-01T00:00:00.000Z"
}
get

Return, for each compliance rule, the number of distinct assets that are non compliant with it. Rules with no impacted asset are included (impacted = 0). Mirrors asset-summary but aggregated per rule.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
assetintegerRequired
asset_namestringRead-onlyRequired
ruleintegerRequired
statusstring · enumOptional
  • compliant - Compliant
  • non_compliant - Non-compliant
  • unknown - Unknown
Possible values:
detailany · nullableOptional
evaluated_atstring · date-timeRead-onlyRequired
get/compliance/results/rule-summary/
GET /compliance/results/rule-summary/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "asset": 1,
  "asset_name": "text",
  "rule": 1,
  "status": "compliant",
  "detail": null,
  "evaluated_at": "2026-01-01T00:00:00.000Z"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
enabledbooleanOptional
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

searchstringOptional

A search term.

severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
typestringOptional
Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/compliance/rules/
GET /compliance/rules/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "name": "text",
      "description": "text",
      "type": "text",
      "severity": "critical",
      "logic": null,
      "enabled": true,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
Responses
201Success
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
post/compliance/rules/
POST /compliance/rules/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 100

"name='text'&description='text'&type='text'&severity='critical'&logic=null&enabled=true"
201Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "severity": "critical",
  "logic": null,
  "enabled": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance rule.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
get/compliance/rules/{id}/
GET /compliance/rules/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "severity": "critical",
  "logic": null,
  "enabled": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}
put

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance rule.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
put/compliance/rules/{id}/
PUT /compliance/rules/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 100

"name='text'&description='text'&type='text'&severity='critical'&logic=null&enabled=true"
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "severity": "critical",
  "logic": null,
  "enabled": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}
delete

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance rule.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/compliance/rules/{id}/
DELETE /compliance/rules/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance rule.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyOptional
namestring · max: 255Optional
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Optional
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyOptional
enabledbooleanOptional
created_atstring · date-timeRead-onlyOptional
updated_atstring · date-timeRead-onlyOptional
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
patch/compliance/rules/{id}/
PATCH /compliance/rules/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 100

"name='text'&description='text'&type='text'&severity='critical'&logic=null&enabled=true"
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "severity": "critical",
  "logic": null,
  "enabled": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}
get

Expose the compliance rule context schema for the rule editor.

Mirrors automation's TriggerViewSet: returns the extra (non-model) context fields available to compliance rules — currently the software group — so the frontend builds the field list from the backend instead of hard-coding it.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
typestring · max: 50Required
severitystring · enumOptional
  • critical - Critical
  • high - High
  • medium - Medium
  • low - Low
Possible values:
logicanyRequired
enabledbooleanOptional
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
get/compliance/rules/context-fields/
GET /compliance/rules/context-fields/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "type": "text",
  "severity": "critical",
  "logic": null,
  "enabled": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

namestringOptional
offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

searchstringOptional

A search term.

Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/compliance/types/
GET /compliance/types/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "name": "text"
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
namestring · max: 50Required
Responses
201Success
idintegerRead-onlyRequired
namestring · max: 50Required
post/compliance/types/
POST /compliance/types/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15

"name='text'"
201Success
{
  "id": 1,
  "name": "text"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance type.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 50Required
get/compliance/types/{id}/
GET /compliance/types/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "name": "text"
}
put

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance type.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
namestring · max: 50Required
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 50Required
put/compliance/types/{id}/
PUT /compliance/types/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15

"name='text'"
200Success
{
  "id": 1,
  "name": "text"
}
delete

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance type.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/compliance/types/{id}/
DELETE /compliance/types/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this compliance type.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyOptional
namestring · max: 50Optional
Responses
200Success
idintegerRead-onlyRequired
namestring · max: 50Required
patch/compliance/types/{id}/
PATCH /compliance/types/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15

"name='text'"
200Success
{
  "id": 1,
  "name": "text"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
buildintegerOptional
channelstringOptional
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

searchstringOptional

A search term.

Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/compliance/windows-build-mapping/
GET /compliance/windows-build-mapping/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "build": 1,
      "channel": "text"
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Required

Windows build number (e.g. 22621)

channelstring · max: 20Required

endoflife.date channel slug (e.g. 22h2)

Responses
201Success
idintegerRead-onlyRequired
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Required

Windows build number (e.g. 22621)

channelstring · max: 20Required

endoflife.date channel slug (e.g. 22h2)

post/compliance/windows-build-mapping/
POST /compliance/windows-build-mapping/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"build=1&channel='text'"
201Success
{
  "id": 1,
  "build": 1,
  "channel": "text"
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this windows build mapping.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
idintegerRead-onlyRequired
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Required

Windows build number (e.g. 22621)

channelstring · max: 20Required

endoflife.date channel slug (e.g. 22h2)

get/compliance/windows-build-mapping/{id}/
GET /compliance/windows-build-mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "build": 1,
  "channel": "text"
}
put

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this windows build mapping.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyRequired
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Required

Windows build number (e.g. 22621)

channelstring · max: 20Required

endoflife.date channel slug (e.g. 22h2)

Responses
200Success
idintegerRead-onlyRequired
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Required

Windows build number (e.g. 22621)

channelstring · max: 20Required

endoflife.date channel slug (e.g. 22h2)

put/compliance/windows-build-mapping/{id}/
PUT /compliance/windows-build-mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"build=1&channel='text'"
200Success
{
  "id": 1,
  "build": 1,
  "channel": "text"
}
delete

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this windows build mapping.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/compliance/windows-build-mapping/{id}/
DELETE /compliance/windows-build-mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this windows build mapping.

Query parameters
formatstring · enumOptionalPossible values:
Body
idintegerRead-onlyOptional
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Optional

Windows build number (e.g. 22621)

channelstring · max: 20Optional

endoflife.date channel slug (e.g. 22h2)

Responses
200Success
idintegerRead-onlyRequired
buildinteger · int64 · min: -9223372036854776000 · max: 9223372036854776000Required

Windows build number (e.g. 22621)

channelstring · max: 20Required

endoflife.date channel slug (e.g. 22h2)

patch/compliance/windows-build-mapping/{id}/
PATCH /compliance/windows-build-mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"build=1&channel='text'"
200Success
{
  "id": 1,
  "build": 1,
  "channel": "text"
}

Last updated