2022-11-24 11:21:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "threatest";
|
2022-11-30 02:49:25 +00:00
|
|
|
version = "1.1.1";
|
2022-11-24 11:21:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DataDog";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2022-11-30 02:49:25 +00:00
|
|
|
hash = "sha256-9/TIiBp3w7NaECX929Tai5nqHKxb7YxYEr2hAl2ttsM=";
|
2022-11-24 11:21:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-vTzgxByZ2BC7nuq/+LJV7LR0KsUxh1EbHFe81PwqCJc=";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|