You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 3.8 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <h1 align="center" style="border-bottom: none;">📦⚡️ Caswire</h1>
  2. <h3 align="center">An open-source logging and auditing system developed by Go and React.</h3>
  3. <p align="center">
  4. <a href="#badge">
  5. <img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
  6. </a>
  7. <a href="https://hub.docker.com/r/casbin/caswire">
  8. <img alt="docker pull casbin/caswire" src="https://img.shields.io/docker/pulls/casbin/caswire.svg">
  9. </a>
  10. <a href="https://github.com/casbin/caswire/releases/latest">
  11. <img alt="GitHub Release" src="https://img.shields.io/github/v/release/casbin/caswire.svg">
  12. </a>
  13. <a href="https://hub.docker.com/repository/docker/casbin/caswire">
  14. <img alt="Docker Image Version (latest semver)" src="https://img.shields.io/badge/Docker%20Hub-latest-brightgreen">
  15. </a>
  16. </p>
  17. <p align="center">
  18. <a href="https://goreportcard.com/report/github.com/casbin/caswire">
  19. <img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/casbin/caswire?style=flat-square">
  20. </a>
  21. <a href="https://github.com/casbin/caswire/blob/master/LICENSE">
  22. <img src="https://img.shields.io/github/license/casbin/caswire?style=flat-square" alt="license">
  23. </a>
  24. <a href="https://github.com/casbin/caswire/issues">
  25. <img alt="GitHub issues" src="https://img.shields.io/github/issues/casbin/caswire?style=flat-square">
  26. </a>
  27. <a href="#">
  28. <img alt="GitHub stars" src="https://img.shields.io/github/stars/casbin/caswire?style=flat-square">
  29. </a>
  30. <a href="https://github.com/casbin/caswire/network">
  31. <img alt="GitHub forks" src="https://img.shields.io/github/forks/casbin/caswire?style=flat-square">
  32. </a>
  33. </p>
  34. ## Architecture
  35. Caswire contains 2 parts:
  36. Name | Description | Language | Source code
  37. ----|------|----|----
  38. Frontend | Web frontend UI for Caswire | Javascript + React | https://github.com/casbin/caswire/tree/master/web
  39. Backend | RESTful API backend for Caswire | Golang + Beego + MySQL | https://github.com/casbin/caswire
  40. ## Installation
  41. Caswire uses Casdoor to manage members. So you need to create an organization and an application for Caswire in a Casdoor instance.
  42. ### Necessary configuration
  43. #### Get the code
  44. ```bash
  45. go get github.com/casbin/casdoor
  46. go get github.com/casbin/caswire
  47. ```
  48. or
  49. ```bash
  50. git clone https://github.com/casbin/casdoor
  51. git clone https://github.com/casbin/caswire
  52. ```
  53. #### Setup database
  54. Caswire will store its users, nodes and topics informations in a MySQL database named: `caswire`, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/caswire/blob/master/conf/app.conf
  55. ```ini
  56. dataSourceName = root:123@tcp(localhost:3306)/
  57. ```
  58. Caswire uses XORM to connect to DB, so all DBs supported by XORM can also be used.
  59. #### Configure Casdoor
  60. After creating an organization and an application for Caswire in a Casdoor, you need to update `clientID`, `clientSecret`, `casdoorOrganization` and `casdoorApplication` in app.conf.
  61. #### Run Caswire
  62. - Configure and run Caswire by yourself. If you want to learn more about caswire.
  63. - Open browser: http://localhost:16001/
  64. ### Optional configuration
  65. #### Setup your Caswire to enable some third-party login platform
  66. Caswire uses Casdoor to manage members. If you want to log in with oauth, you should see [casdoor oauth configuration](https://casdoor.org/docs/provider/oauth/overview).
  67. #### OSS, Mail, and SMS services
  68. Caswire uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.
  69. ## Contribute
  70. For Caswire, if you have any questions, you can give Issues, or you can also directly start Pull Requests(but we recommend giving issues first to communicate with the community).
  71. ## License
  72. [Apache-2.0](LICENSE)

Caswire是一款基于人工智能技术的开源反病毒和入侵检测系统。该系统通过深度学习和模式识别技术,能够实时识别和防御各种网络威胁,包括病毒、恶意软件以及其他安全威胁。Caswire支持动态学习和适应网络环境的变化,确保持续的安全防护。我们期望在Caswire上:1)增强其机器学习模型,以提高恶意行为的检测准确率;2)优化系统的实时响应能力,提升在高威胁环境下的表现。