about summary refs log tree commit diff
path: root/pkgs/by-name/pr
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-01-29 09:31:30 +0100
committerGitHub <noreply@github.com>2024-01-29 09:31:30 +0100
commitc04ca4931299b48e16499e17742493aecb45ac88 (patch)
tree789a03f12f04e3289f004d40a013550c15449b64 /pkgs/by-name/pr
parent53086e37ad8a6edd1cc99051ada324aa97d92f16 (diff)
parent77f9c1555458be10b53b2354898c4993b1faa49f (diff)
downloadnixlib-c04ca4931299b48e16499e17742493aecb45ac88.tar
nixlib-c04ca4931299b48e16499e17742493aecb45ac88.tar.gz
nixlib-c04ca4931299b48e16499e17742493aecb45ac88.tar.bz2
nixlib-c04ca4931299b48e16499e17742493aecb45ac88.tar.lz
nixlib-c04ca4931299b48e16499e17742493aecb45ac88.tar.xz
nixlib-c04ca4931299b48e16499e17742493aecb45ac88.tar.zst
nixlib-c04ca4931299b48e16499e17742493aecb45ac88.zip
Merge pull request #284544 from fabaff/prowler
prowler: init at 3.12.1
Diffstat (limited to 'pkgs/by-name/pr')
-rw-r--r--pkgs/by-name/pr/prowler/package.nix69
1 files changed, 69 insertions, 0 deletions
diff --git a/pkgs/by-name/pr/prowler/package.nix b/pkgs/by-name/pr/prowler/package.nix
new file mode 100644
index 000000000000..466732634cd6
--- /dev/null
+++ b/pkgs/by-name/pr/prowler/package.nix
@@ -0,0 +1,69 @@
+{ lib
+, python3
+, fetchFromGitHub
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "prowler";
+  version = "3.12.1";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "prowler-cloud";
+    repo = "prowler";
+    rev = "refs/tags/${version}";
+    hash = "sha256-QauDqeCa499AcZurGjn2Yv4GH04F/pahAH2ms7gAca4=";
+  };
+
+  pythonRelaxDeps = [
+    "azure-mgmt-security"
+    "boto3"
+    "botocore"
+    "google-api-python-client"
+    "slack-sdk"
+  ];
+
+  nativeBuildInputs = with python3.pkgs; [
+    poetry-core
+    pythonRelaxDepsHook
+  ];
+
+  propagatedBuildInputs = with python3.pkgs; [
+    alive-progress
+    awsipranges
+    azure-identity
+    azure-mgmt-authorization
+    azure-mgmt-security
+    azure-mgmt-sql
+    azure-mgmt-storage
+    azure-mgmt-subscription
+    azure-storage-blob
+    boto3
+    botocore
+    colorama
+    detect-secrets
+    google-api-python-client
+    google-auth-httplib2
+    jsonschema
+    msgraph-core
+    msrestazure
+    pydantic_1
+    schema
+    shodan
+    slack-sdk
+    tabulate
+  ];
+
+  pythonImportsCheck = [
+    "prowler"
+  ];
+
+  meta = with lib; {
+    description = "Security tool for AWS, Azure and GCP to perform Cloud Security best practices assessments";
+    homepage = "https://github.com/prowler-cloud/prowler";
+    changelog = "https://github.com/prowler-cloud/prowler/releases/tag/${version}";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "prowler";
+  };
+}