2023-05-24 13:37:59 +00:00
|
|
|
{ acl
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "laurel";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.5.5";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "threathunters-io";
|
|
|
|
repo = pname;
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-O1EdIEgg+QfOnnhcTpI1nwYjdLOWcdt90SQegn68AJI=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
cargoHash = "sha256-wseysbjMkjPgKk7X9PpBck/IuafIFXfbRy+fPfR1CEY=";
|
2023-05-24 13:37:59 +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;
|
|
|
|
maintainers = with maintainers; [ emilylange ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|