v1

latestSwagger 2.0raw.githubusercontent.com2023-09-25238236509.6 KB
Audit-API

Update the audit source

post/inlong/manager/api/audit/updateSource

Request body

enableAuthinteger

Enable auth or not, 0: disable, 1: enable

namestring

Audit source name

offlineUrlstring

Offline the url if not null

tokenstring

Audit source token, needed if enableAuth is 1

typestring required

Audit source type, including: MYSQL, CLICKHOUSE, ELASTICSEARCH

urlstring required

Audit source URL, for MYSQL or CLICKHOUSE, is jdbcUrl, and for ELASTICSEARCH is the access URL with hostname:port

usernamestring

Audit source username, needed if enableAuth is 1

versioninteger

Version number

Response

OK