2023-05-03 10:07:29 +00:00
|
|
|
{ acl
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "laurel";
|
2023-07-18 11:42:04 +00:00
|
|
|
version = "0.5.3";
|
2023-05-03 10:07:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "threathunters-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-18 11:42:04 +00:00
|
|
|
hash = "sha256-4SOnBIi45g2hYo+nFLI5soS+qRPzjkSYwmyMfVZCyVo=";
|
2023-05-03 10:07:29 +00:00
|
|
|
};
|
|
|
|
|
2023-07-18 11:42:04 +00:00
|
|
|
cargoHash = "sha256-yrk3frsR8AQGDVFgP2fCIWmhw+dTZwvga1hF0IAwzjQ=";
|
2023-05-03 10:07:29 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
|
|
|
buildInputs = [ acl ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Transform Linux Audit logs for SIEM usage";
|
|
|
|
homepage = "https://github.com/threathunters-io/laurel";
|
|
|
|
changelog = "https://github.com/threathunters-io/laurel/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3Plus;
|
2023-05-21 14:00:44 +00:00
|
|
|
maintainers = with maintainers; [ emilylange ];
|
2023-05-03 10:07:29 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|