GET /api/compliance/scap_contents
SCAP コンテンツの一覧表示

パラメーター

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

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

search
任意

結果のフィルター

Validations:

  • Must be a String

order
任意

フィールドと順序のソート (例: ‘id DESC’)

Validations:

  • Must be a String

page
任意

1 から始まるページ番号

Validations:

  • Must be a number.

per_page
任意

戻されるページごとの結果数

Validations:

  • Must be a number.

検索フィールド

フィールド名 タイプ 設定可能な値
created_at
filename
location
location_id
organization
organization_id
title

GET /api/compliance/scap_contents/:id/xml
XML として SCAP コンテンツをダウンロード

パラメーター

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

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

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
SCAP コンテンツの表示

パラメーター

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

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

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
SCAP コンテンツの作成

パラメーター

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

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

scap_content
必須

Validations:

  • Must be a Hash

scap_content[title]
必須

SCAP コンテンツ名

Validations:

  • Must be a String

scap_content[scap_file]
必須

SCAP コンテンツを含む XML

Validations:

  • Must be a String

scap_content[original_filename]
任意 , nil可

XML ファイルの元のファイル名

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
SCAP コンテンツの更新

パラメーター

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

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

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 コンテンツ名

Validations:

  • Must be a String

scap_content[scap_file]
任意

SCAP コンテンツを含む XML

Validations:

  • Must be a String

scap_content[original_filename]
任意 , nil可

XML ファイルの元のファイル名

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
SCAP コンテンツの削除

パラメーター

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

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

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.