2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
python3,
|
|
|
|
fetchFromGitHub,
|
2024-02-07 01:22:34 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "prowler";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.15.0";
|
2024-02-07 01:22:34 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "prowler-cloud";
|
|
|
|
repo = "prowler";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-7aWWaGdHTveFwXsFNj4+tjX5g83/nD77jLAOrDOw8JE=";
|
2024-02-07 01:22:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
2024-05-15 15:35:15 +00:00
|
|
|
"azure-identity"
|
2024-04-21 15:54:59 +00:00
|
|
|
"azure-keyvault-keys"
|
|
|
|
"azure-mgmt-compute"
|
2024-05-15 15:35:15 +00:00
|
|
|
"azure-mgmt-containerservice"
|
2024-04-21 15:54:59 +00:00
|
|
|
"azure-mgmt-network"
|
2024-02-07 01:22:34 +00:00
|
|
|
"azure-mgmt-security"
|
2024-06-24 18:47:55 +00:00
|
|
|
"azure-mgmt-storage"
|
2024-04-21 15:54:59 +00:00
|
|
|
"azure-storage-blob"
|
2024-02-07 01:22:34 +00:00
|
|
|
"boto3"
|
|
|
|
"botocore"
|
|
|
|
"google-api-python-client"
|
2024-04-21 15:54:59 +00:00
|
|
|
"jsonschema"
|
|
|
|
"pydantic"
|
2024-02-29 20:09:43 +00:00
|
|
|
"pydantic"
|
2024-04-21 15:54:59 +00:00
|
|
|
"slack-sdk"
|
2024-02-07 01:22:34 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
pythonRelaxDepsHook
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = with python3.pkgs; [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2024-02-07 01:22:34 +00:00
|
|
|
alive-progress
|
|
|
|
awsipranges
|
|
|
|
azure-identity
|
2024-04-21 15:54:59 +00:00
|
|
|
azure-keyvault-keys
|
|
|
|
azure-mgmt-applicationinsights
|
2024-02-07 01:22:34 +00:00
|
|
|
azure-mgmt-authorization
|
2024-04-21 15:54:59 +00:00
|
|
|
azure-mgmt-compute
|
|
|
|
azure-mgmt-containerservice
|
|
|
|
azure-mgmt-cosmosdb
|
|
|
|
azure-mgmt-keyvault
|
|
|
|
azure-mgmt-monitor
|
|
|
|
azure-mgmt-network
|
|
|
|
azure-mgmt-rdbms
|
|
|
|
azure-mgmt-resource
|
2024-02-07 01:22:34 +00:00
|
|
|
azure-mgmt-security
|
|
|
|
azure-mgmt-sql
|
|
|
|
azure-mgmt-storage
|
|
|
|
azure-mgmt-subscription
|
2024-04-21 15:54:59 +00:00
|
|
|
azure-mgmt-web
|
2024-02-07 01:22:34 +00:00
|
|
|
azure-storage-blob
|
|
|
|
boto3
|
|
|
|
botocore
|
|
|
|
colorama
|
|
|
|
detect-secrets
|
|
|
|
google-api-python-client
|
|
|
|
google-auth-httplib2
|
|
|
|
jsonschema
|
2024-04-21 15:54:59 +00:00
|
|
|
msgraph-sdk
|
2024-02-07 01:22:34 +00:00
|
|
|
msrestazure
|
|
|
|
pydantic_1
|
|
|
|
schema
|
|
|
|
shodan
|
|
|
|
slack-sdk
|
|
|
|
tabulate
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "prowler" ];
|
2024-02-07 01:22:34 +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";
|
|
|
|
};
|
|
|
|
}
|