GET /api/compliance/scap_contents
List SCAP contents

パラメーター

パラメーター名 記述
search
任意

結果のフィルター

Validations:

  • Must be a String

order
任意

結果のソート

Validations:

  • Must be a String

page
任意

結果のページネーション

Validations:

  • Must be a String

per_page
任意

要求ごとのエントリー数

Validations:

  • Must be a String


GET /api/compliance/scap_contents/:id/xml
Show an SCAP content as XML

パラメーター

パラメーター名 記述
id
必須

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


GET /api/compliance/scap_contents/:id
Show an SCAP content

パラメーター

パラメーター名 記述
id
必須

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/compliance/scap_contents
Create SCAP content

パラメーター

パラメーター名 記述
scap_content
必須

Validations:

  • Must be a Hash

scap_content[title]
必須

SCAP content name

Validations:

  • Must be a String

scap_content[scap_file]
必須

XML containing SCAP content

Validations:

  • Must be a String

scap_content[original_filename]
任意 , nil可

Original file name of the XML file

Validations:

  • Must be a String

scap_content[location_ids]
任意 , nil可

ロケーションを指定された ID に置き換えます

Validations:

  • Must be an array of any type

scap_content[organization_ids]
任意 , nil可

組織を指定された ID に置き換えます。

Validations:

  • Must be an array of any type


PUT /api/compliance/scap_contents/:id
Update an SCAP content

パラメーター

パラメーター名 記述
id
必須

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

scap_content
必須

Validations:

  • Must be a Hash

scap_content[title]
任意

SCAP content name

Validations:

  • Must be a String

scap_content[scap_file]
任意

XML containing SCAP content

Validations:

  • Must be a String

scap_content[original_filename]
任意 , nil可

Original file name of the XML file

Validations:

  • Must be a String

scap_content[location_ids]
任意 , nil可

ロケーションを指定された ID に置き換えます

Validations:

  • Must be an array of any type

scap_content[organization_ids]
任意 , nil可

組織を指定された ID に置き換えます。

Validations:

  • Must be an array of any type


DELETE /api/compliance/scap_contents/:id
Deletes an SCAP content

パラメーター

パラメーター名 記述
id
必須

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.