{"id":20162895,"url":"https://github.com/actiontech/sqle-db2-plugin","last_synced_at":"2025-03-03T03:10:45.550Z","repository":{"id":42004602,"uuid":"446782559","full_name":"actiontech/sqle-db2-plugin","owner":"actiontech","description":"this a DB2 SQL audit plugin for SQLE","archived":false,"fork":false,"pushed_at":"2022-05-07T07:18:02.000Z","size":5804,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-13T14:19:58.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actiontech.png","metadata":{"files":{"readme":"README-CN.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-11T10:52:23.000Z","updated_at":"2023-04-08T02:14:47.000Z","dependencies_parsed_at":"2022-08-12T02:01:17.843Z","dependency_job_id":null,"html_url":"https://github.com/actiontech/sqle-db2-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-db2-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-db2-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-db2-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actiontech%2Fsqle-db2-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actiontech","download_url":"https://codeload.github.com/actiontech/sqle-db2-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600518,"owners_count":19988715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:27:18.432Z","updated_at":"2025-03-03T03:10:45.523Z","avatar_url":"https://github.com/actiontech.png","language":"Go","readme":"[English Doc](./README.md)\n\n## SQLE DB2 审核插件\n\n这是 [SQLE](https:github.comactiontechsqle) 的 DB2 SQL 审核插件，SQLE是一个 SQL 审计平台。\n\n### 1.添加规则\n\n您可以在对应文件中定义规则，然后通过 AddRule()\n方法将其添加到插件中。更多详情请参考[文档](https:actiontech.github.iosqle-docs-cn3.modules3.7_auditpluginauditplugin_development.html)。\n\n### 2. 编译插件\n\n执行 ```make docker_install``` 进行编译\n\n二进制文件位于 bin 文件夹中，您可以使用它来审核您的数据库。\n\n### 3. 准备插件运行环境\n\n1. 在SQLE部署的机器下载驱动\n   ```bash\n   curl -L https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz -o /opt/sqle/linuxx64_odbc_cli.tar.gz\n   ```\n2. 解压驱动\n   ```bash\n   tar zxvf /opt/sqle/linuxx64_odbc_cli.tar.gz -C /opt/sqle/\n   ```\n3. 为sqled添加环境变量\n   ``` bash\n   systemctl set-environment \"LD_LIBRARY_PATH=/opt/sqle/clidriver/lib\"\n   ```\n4. 重新启动sqled\n   ``` bash\n   systemctl restart sqled\n   ```\n\n### 4.开始使用\n\n更多详情请参考[docs](https:actiontech.github.iosqle-docs-cn3.modules3.7_auditpluginauditplugin_management.html)。","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiontech%2Fsqle-db2-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factiontech%2Fsqle-db2-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiontech%2Fsqle-db2-plugin/lists"}