Audits for deployments

Not applicable

Are there audits for deployments? I'd like to generate a report on deployment changes, but the proxy audits API only returns changes to revisions and such, but nothing about deployments. Is there any other option to get that information? MP logs (which ones?) or reading directly from the Cassandra?

Solved Solved
1 3 369
1 ACCEPTED SOLUTION

Not applicable

Hi Morris,

The following example would return all activity for the proxy between the two epoch dates.

curl -v -u adminuseremail:pw "https://api.enterprise.apigee.com/v1/audits/organizations/<org>/environments/<env>applications/<proxy>?endTime=<epochtimestamp&expand=true&startTime=<epochtimestamp>"

The time in milliseconds.

So if you use http://www.epochconverter.com/, copy the "Timestamp in milliseconds" value after converting a human readable date/time into epoch.

View solution in original post

3 REPLIES 3

Not applicable

Hi Morris,

The following example would return all activity for the proxy between the two epoch dates.

curl -v -u adminuseremail:pw "https://api.enterprise.apigee.com/v1/audits/organizations/<org>/environments/<env>applications/<proxy>?endTime=<epochtimestamp&expand=true&startTime=<epochtimestamp>"

The time in milliseconds.

So if you use http://www.epochconverter.com/, copy the "Timestamp in milliseconds" value after converting a human readable date/time into epoch.

AWESOME. I was missing the environment in my request so there were no deployments in the response. Thank you so much!

Awesome! I'm glad that you were able to get this working.