Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3265

Auditing API page has incorrect "curl" arguments

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • Server 5.0.1
    • admin
    • None

    Description

      The "Auditing API" page has incorrect "curl" arguments for one "GET" example and three "POST" examples. Further, on other pages, username and password are passed in as a "curl" argument rather than in the URL.

      Current:

      curl GET http://user:password@127.0.0.1:8091/settings/audit

      Should be:

      curl -X GET -u Administrator:password  http://127.0.0.1:8091/settings/audit

      Current:

      curl POST http://user:password@127.0.0.1:8091/settings/audit/auditEnabled

      Should be:

      curl -X POST -d auditdEnabled=true  -u Administrator:password  http://127.0.0.1:8091/settings/audit

      etc.

      Valid examples for the "-d" arguments in "logPath" and "rotateInterval" will need to be determined.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.hillman Tony Hillman
            bruce.markey Bruce Markey [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty