depot/third_party/nixpkgs/pkgs/by-name/pr/prowler/package.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

79 lines
1.7 KiB
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "prowler";
version = "4.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "prowler-cloud";
repo = "prowler";
rev = "refs/tags/${version}";
hash = "sha256-9pqp9DJKvzOzApWuSXNn7uQ4bxdPmQ9QtOEAlbrT9Eg=";
};
pythonRelaxDeps = true;
build-system = with python3.pkgs; [ poetry-core ];
dependencies = with python3.pkgs; [
alive-progress
awsipranges
azure-identity
azure-keyvault-keys
azure-mgmt-applicationinsights
azure-mgmt-authorization
azure-mgmt-compute
azure-mgmt-containerregistry
azure-mgmt-containerservice
azure-mgmt-cosmosdb
azure-mgmt-keyvault
azure-mgmt-monitor
azure-mgmt-network
azure-mgmt-rdbms
azure-mgmt-resource
azure-mgmt-security
azure-mgmt-sql
azure-mgmt-storage
azure-mgmt-subscription
azure-mgmt-web
azure-storage-blob
boto3
botocore
colorama
dash
dash-bootstrap-components
detect-secrets
google-api-python-client
google-auth-httplib2
jsonschema
kubernetes
msgraph-sdk
msrestazure
numpy
pandas
py-ocsf-models
pydantic
pytz
schema
shodan
slack-sdk
tabulate
tzlocal
];
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";
};
}