Add veracode aws cli searcher
This commit is contained in:
@@ -13,7 +13,7 @@ in
|
||||
{
|
||||
imports = [
|
||||
(import ./veracode/aws-cli.nix {
|
||||
inherit homedir lib;
|
||||
inherit homedir lib pkgs;
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
homedir,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
@@ -262,4 +263,13 @@ in
|
||||
)}
|
||||
'';
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
veracode-find = ''${pkgs.writeShellScript "veracode-find" ''
|
||||
for profile in $(aws configure list-profiles | grep -E '^(us|eu)-'); do
|
||||
echo "=== $profile ==="
|
||||
aws --profile $profile $@;
|
||||
done
|
||||
''}'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user