Skip to content

Commit

Permalink
Add source field to SecuLog & Bump version to 0.15.1 (#80)
Browse files Browse the repository at this point in the history
* Add source field to SecuLog

* Bump version to 0.15.1
  • Loading branch information
BLYKIM committed Nov 8, 2023
1 parent 645f93d commit c7d31d9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [0.15.1] - 2023-11-08

### Added

- Added source field to `SecuLog`.

## [0.15.0] - 2023-11-07

### Changed
Expand Down Expand Up @@ -204,6 +210,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).

- Move from giganto

[0.15.1]: https://github.com/aicers/giganto-client/compare/0.15.0...0.15.1
[0.15.0]: https://github.com/aicers/giganto-client/compare/0.14.0...0.15.0
[0.14.0]: https://github.com/aicers/giganto-client/compare/0.13.2...0.14.0
[0.13.2]: https://github.com/aicers/giganto-client/compare/0.13.1...0.13.2
[0.13.1]: https://github.com/aicers/giganto-client/compare/0.13.0...0.13.1
[0.13.0]: https://github.com/aicers/giganto-client/compare/0.12.2...0.13.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "giganto-client"
version = "0.15.0"
version = "0.15.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 3 additions & 1 deletion src/ingest/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl Display for OpLog {
#[allow(clippy::module_name_repetitions)]
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
pub struct SecuLog {
pub source: String,
pub kind: String,
pub log_type: String,
pub version: String,
Expand All @@ -68,7 +69,8 @@ impl Display for SecuLog {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(
f,
"{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}",
"{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}",
self.source,
self.kind,
self.log_type,
self.version,
Expand Down

0 comments on commit c7d31d9

Please sign in to comment.