about summary refs log tree commit diff
path: root/pkgs/by-name/pr
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-01-28 17:16:52 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-01-28 17:16:52 +0100
commit77f9c1555458be10b53b2354898c4993b1faa49f (patch)
treeb405596c9f56938a65b889c81f3d8d5bd8f854cc /pkgs/by-name/pr
parentcb8c805187ab777851322e348aeeb72c7a47dc6d (diff)
downloadnixlib-77f9c1555458be10b53b2354898c4993b1faa49f.tar
nixlib-77f9c1555458be10b53b2354898c4993b1faa49f.tar.gz
nixlib-77f9c1555458be10b53b2354898c4993b1faa49f.tar.bz2
nixlib-77f9c1555458be10b53b2354898c4993b1faa49f.tar.lz
nixlib-77f9c1555458be10b53b2354898c4993b1faa49f.tar.xz
nixlib-77f9c1555458be10b53b2354898c4993b1faa49f.tar.zst
nixlib-77f9c1555458be10b53b2354898c4993b1faa49f.zip
prowler: init at 3.12.1
Security tool for AWS, Azure and GCP to perform Cloud Security best practices assessments

https://github.com/prowler-cloud/prowler
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";
+  };
+}