2024-04-03 18:05:57 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
python3,
|
|
|
|
fetchFromGitHub,
|
2024-01-28 16:16:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "prowler";
|
2024-10-17 21:16:05 +00:00
|
|
|
version = "4.4.1";
|
2024-01-28 16:16:52 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "prowler-cloud";
|
|
|
|
repo = "prowler";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-10-17 21:16:05 +00:00
|
|
|
hash = "sha256-9pqp9DJKvzOzApWuSXNn7uQ4bxdPmQ9QtOEAlbrT9Eg=";
|
2024-01-28 16:16:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-14 11:21:24 +00:00
|
|
|
pythonRelaxDeps = true;
|
2024-01-28 16:16:52 +00:00
|
|
|
|
2024-07-14 13:44:20 +00:00
|
|
|
build-system = with python3.pkgs; [ poetry-core ];
|
2024-04-03 18:07:21 +00:00
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2024-01-28 16:16:52 +00:00
|
|
|
alive-progress
|
|
|
|
awsipranges
|
|
|
|
azure-identity
|
2024-04-06 15:16:16 +00:00
|
|
|
azure-keyvault-keys
|
2024-02-16 09:57:10 +00:00
|
|
|
azure-mgmt-applicationinsights
|
2024-01-28 16:16:52 +00:00
|
|
|
azure-mgmt-authorization
|
2024-04-04 20:19:13 +00:00
|
|
|
azure-mgmt-compute
|
2024-10-17 21:16:05 +00:00
|
|
|
azure-mgmt-containerregistry
|
2024-04-06 15:16:16 +00:00
|
|
|
azure-mgmt-containerservice
|
2024-02-16 09:57:10 +00:00
|
|
|
azure-mgmt-cosmosdb
|
2024-04-06 15:16:16 +00:00
|
|
|
azure-mgmt-keyvault
|
|
|
|
azure-mgmt-monitor
|
2024-04-04 20:19:13 +00:00
|
|
|
azure-mgmt-network
|
2024-02-16 09:57:10 +00:00
|
|
|
azure-mgmt-rdbms
|
2024-04-06 15:16:16 +00:00
|
|
|
azure-mgmt-resource
|
2024-01-28 16:16:52 +00:00
|
|
|
azure-mgmt-security
|
|
|
|
azure-mgmt-sql
|
|
|
|
azure-mgmt-storage
|
|
|
|
azure-mgmt-subscription
|
2024-04-06 15:16:16 +00:00
|
|
|
azure-mgmt-web
|
2024-01-28 16:16:52 +00:00
|
|
|
azure-storage-blob
|
|
|
|
boto3
|
|
|
|
botocore
|
|
|
|
colorama
|
2024-10-27 07:36:21 +00:00
|
|
|
cryptography
|
2024-09-24 20:09:17 +00:00
|
|
|
dash
|
|
|
|
dash-bootstrap-components
|
2024-01-28 16:16:52 +00:00
|
|
|
detect-secrets
|
|
|
|
google-api-python-client
|
|
|
|
google-auth-httplib2
|
|
|
|
jsonschema
|
2024-09-24 20:09:17 +00:00
|
|
|
kubernetes
|
2024-10-27 07:36:21 +00:00
|
|
|
microsoft-kiota-abstractions
|
2024-02-16 09:57:10 +00:00
|
|
|
msgraph-sdk
|
2024-09-24 20:09:17 +00:00
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
py-ocsf-models
|
|
|
|
pydantic
|
2024-10-27 07:36:21 +00:00
|
|
|
python-dateutil
|
2024-07-14 13:44:20 +00:00
|
|
|
pytz
|
2024-01-28 16:16:52 +00:00
|
|
|
schema
|
|
|
|
shodan
|
|
|
|
slack-sdk
|
|
|
|
tabulate
|
2024-07-14 13:44:20 +00:00
|
|
|
tzlocal
|
2024-01-28 16:16:52 +00:00
|
|
|
];
|
|
|
|
|
2024-04-03 18:05:57 +00:00
|
|
|
pythonImportsCheck = [ "prowler" ];
|
2024-01-28 16:16:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|