Merge pull request #136624 from fabaff/credential-detector

credential-detector: init at 1.7.0
This commit is contained in:
Fabian Affolter 2021-09-05 00:56:37 +02:00 committed by GitHub
commit db669419af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "credential-detector";
version = "1.7.0";
src = fetchFromGitHub {
owner = "ynori7";
repo = pname;
rev = "v${version}";
sha256 = "1g5ja32rsf1b7y9gvmy29qz2ymyyvgh53wzd6vvknfla1df0slab";
};
vendorSha256 = "1mn3sysvdz4b94804gns1yssk2q08djq3kq3cd1h7gm942zwrnq4";
meta = with lib; {
description = "Tool to detect potentially hard-coded credentials";
homepage = "https://github.com/ynori7/credential-detector";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -338,6 +338,8 @@ with pkgs;
creddump = callPackage ../tools/security/creddump {};
credential-detector = callPackage ../tools/security/credential-detector { };
credslayer = callPackage ../tools/security/credslayer { };
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix {};