Fetch CloudAudit List

Last updated: 2020-06-07 19:44:17

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CloudAudit API 3.0 which is standardized and faster.

    API Description

    ListAudits is used to fetch the CloudAudit list.
    Domain name for API access: cloudaudit.api.qcloud.com

    Response Parameters

    Parameter Name Type Description
    auditLists Array The list of tracking sets

    The parameter auditLists is composed as follows:

    Parameter Name Type Description
    Name String CloudAudit name
    bucketName String COS bucket name
    prefix String Log prefix
    status Number Audit status. 0: Disabled; 1: Enabled.
    IsMultiRegionAudit Number Indicates whether to enable multi-region collection. 0: No; 1: Yes.

    Example

    Request

    {
    }

    Response

    {
        "auditLists": [
            {
                "name": "xxx-1",
                "bucketName":"xxx",
                "prefix":"xxx",
                "status":1,
                "IsMultiRegionAudit":0
            },
            {
                "name": "xxx-1",
                "bucketName":"xxx",
                "prefix":"xxx",
                "status":1
                "IsMultiRegionAudit":0
            }
        ]
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help