2022-11-24 11:21:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "threatest";
|
2023-05-17 04:09:58 +00:00
|
|
|
version = "1.2.0";
|
2022-11-24 11:21:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DataDog";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-05-17 04:09:58 +00:00
|
|
|
hash = "sha256-xluKQXFa06ng9bs+sBkoFLeyYtQAcej4VFLMeTST6zA=";
|
2022-11-24 11:21:02 +00:00
|
|
|
};
|
|
|
|
|
2023-05-19 16:00:31 +00:00
|
|
|
proxyVendor = true;
|
|
|
|
vendorHash = "sha256-UQ3GPSv7P4+oMvcu4eFlosnw0TQxG33ptlMTQA/5Lkw=";
|
2022-11-24 11:21:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Framework for end-to-end testing threat detection rules";
|
|
|
|
homepage = "https://github.com/DataDog/threatest";
|
|
|
|
changelog = "https://github.com/DataDog/threatest/releases/tag/v${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|