Merge "update api-ref for audit start/end time"

This commit is contained in:
Zuul
2019-01-12 07:36:57 +00:00
committed by Gerrit Code Review
2 changed files with 32 additions and 16 deletions

View File

@@ -191,9 +191,17 @@ audit_autotrigger:
in: body in: body
required: false required: false
type: boolean type: boolean
audit_endtime: audit_endtime_req:
description: | description: |
The time after which audit can't be executed. The local time after which audit can't be executed.
It will be converted to UTC time by Watcher.
in: body
required: false
type: string
min_version: 1.1
audit_endtime_resp:
description: |
The UTC time after which audit can't be executed.
in: body in: body
required: false required: false
type: string type: string
@@ -236,9 +244,17 @@ audit_parameters:
in: body in: body
required: false required: false
type: JSON type: JSON
audit_starttime: audit_starttime_req:
description: | description: |
The time after which audit can be executed in accordance with interval. The local time after which audit can be executed in accordance
with interval. It will be converted to UTC time by Watcher.
in: body
required: false
type: string
min_version: 1.1
audit_starttime_resp:
description: |
The UTC time after which audit can be executed in accordance with interval.
in: body in: body
required: false required: false
type: string type: string

View File

@@ -45,8 +45,8 @@ Request
- parameters: audit_parameters - parameters: audit_parameters
- interval: audit_interval - interval: audit_interval
- auto_trigger: audit_autotrigger - auto_trigger: audit_autotrigger
- start_time: audit_starttime - start_time: audit_starttime_req
- end_time: audit_endtime - end_time: audit_endtime_req
**Example ONESHOT Audit creation request:** **Example ONESHOT Audit creation request:**
@@ -81,8 +81,8 @@ version 1:
- scope: audittemplate_scope - scope: audittemplate_scope
- links: links - links: links
- hostname: audit_hostname - hostname: audit_hostname
- start_time: audit_starttime - start_time: audit_starttime_resp
- end_time: audit_endtime - end_time: audit_endtime_resp
**Example JSON representation of an Audit:** **Example JSON representation of an Audit:**
@@ -179,8 +179,8 @@ Response
- scope: audittemplate_scope - scope: audittemplate_scope
- links: links - links: links
- hostname: audit_hostname - hostname: audit_hostname
- start_time: audit_starttime - start_time: audit_starttime_resp
- end_time: audit_endtime - end_time: audit_endtime_resp
**Example JSON representation of an Audit:** **Example JSON representation of an Audit:**
@@ -225,8 +225,8 @@ Response
- scope: audittemplate_scope - scope: audittemplate_scope
- links: links - links: links
- hostname: audit_hostname - hostname: audit_hostname
- start_time: audit_starttime - start_time: audit_starttime_resp
- end_time: audit_endtime - end_time: audit_endtime_resp
**Example JSON representation of an Audit:** **Example JSON representation of an Audit:**
@@ -279,8 +279,8 @@ version 1:
- scope: audittemplate_scope - scope: audittemplate_scope
- links: links - links: links
- hostname: audit_hostname - hostname: audit_hostname
- start_time: audit_starttime - start_time: audit_starttime_resp
- end_time: audit_endtime - end_time: audit_endtime_resp
**Example JSON representation of an Audit:** **Example JSON representation of an Audit:**
@@ -333,8 +333,8 @@ Response
- scope: audittemplate_scope - scope: audittemplate_scope
- links: links - links: links
- hostname: audit_hostname - hostname: audit_hostname
- start_time: audit_starttime - start_time: audit_starttime_resp
- end_time: audit_endtime - end_time: audit_endtime_resp
**Example JSON representation of an Audit:** **Example JSON representation of an Audit:**