# mysql-audit-extend **Repository Path**: seeker_rs/mysql-audit-extend ## Basic Information - **Project Name**: mysql-audit-extend - **Description**: 适用于mcafee的mysql审计插件mysql-audit的扩展程序,对插件功能进行增强。 - **Primary Language**: Rust - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-08-09 - **Last Updated**: 2022-08-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mysql-audit-extend #### 1.Introduce Notice: `This is a binary application.` The extension of mysql-audit, the mysql audit plugin for mcafee, enhances the plugin function. #### 2.Install ```shell cargo install mysql-audit-extend ``` or ```shell wget https://gitee.com/seeker_rs/mysql-audit-extend/releases/download/release-0.2.7/mysql-audit-extend chmod 775 mysql-audit-extend ``` #### 3.Run ```shell # View help mysql-audit-extend -h OUTPUT: USAGE: mysql-audit-extend [OPTIONS] OPTIONS: -f, --max-file Maximum number of files to keep [default: 10] -h, --help Print help information -m, --max-size Maximum file size, Unit: MB [default: 10] -p, --path Absolute path to log file [default: /var/lib/mysql/mysql-audit.json] -V, --version Print version information # Run with default configuration mysql-audit-extend # Run with custom configuration mysql-audit-extend -p /var/lib/mysql/mysql-audit.json -m 100 -f 30 ``` #### 4.View run log ```shell # execution log tail -f /tmp/seeker/mysql-audit-extend/log.log # error log tail -f /tmp/seeker/mysql-audit-extend/log.error ``` #### 5.Support platform > Currently only supports Linux operating system. * Linux