prowler: 5.12.3 -> 5.31.1 (#535645)
This commit is contained in:
@@ -1,43 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
|
||||
# Doesn't work with latest pydantic
|
||||
py-ocsf-models = super.py-ocsf-models.overridePythonAttrs (oldAttrs: {
|
||||
dependencies = [
|
||||
python3.pkgs.pydantic_1
|
||||
python3.pkgs.cryptography
|
||||
python3.pkgs.email-validator
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
py.pkgs.buildPythonApplication (finalAttrs: {
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "prowler";
|
||||
version = "5.12.3";
|
||||
version = "5.31.1";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prowler-cloud";
|
||||
repo = "prowler";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-6RPtld95MauhCmSLrgncr4+s16z0PfmiiC6eAph8ZmI=";
|
||||
hash = "sha256-V3kPj3gtS8ZkeU/rBaTPaOdfWvYI70jAi52kCX0m/jg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
build-system = with py.pkgs; [ poetry-core ];
|
||||
build-system = with python3Packages; [ hatchling ];
|
||||
|
||||
dependencies = with py.pkgs; [
|
||||
dependencies = with python3Packages; [
|
||||
alibabacloud-actiontrail20200706
|
||||
alibabacloud-credentials
|
||||
alibabacloud-cs20151215
|
||||
alibabacloud-ecs20140526
|
||||
alibabacloud-oss20190517
|
||||
alibabacloud-ram20150501
|
||||
alibabacloud-sas20181203
|
||||
alibabacloud-sts20150401
|
||||
alibabacloud-tea-openapi
|
||||
alibabacloud-vpc20160428
|
||||
alibabacloud-gateway-oss-util
|
||||
alibabacloud-rds20140815
|
||||
alibabacloud-sls20201230
|
||||
alive-progress
|
||||
awsipranges
|
||||
azure-identity
|
||||
azure-keyvault-keys
|
||||
azure-mgmt-apimanagement
|
||||
@@ -52,6 +51,7 @@ py.pkgs.buildPythonApplication (finalAttrs: {
|
||||
azure-mgmt-loganalytics
|
||||
azure-mgmt-monitor
|
||||
azure-mgmt-network
|
||||
azure-mgmt-postgresqlflexibleservers
|
||||
azure-mgmt-rdbms
|
||||
azure-mgmt-recoveryservices
|
||||
azure-mgmt-recoveryservicesbackup
|
||||
@@ -66,37 +66,51 @@ py.pkgs.buildPythonApplication (finalAttrs: {
|
||||
azure-storage-blob
|
||||
boto3
|
||||
botocore
|
||||
cloudflare
|
||||
colorama
|
||||
cryptography
|
||||
dash
|
||||
dash-bootstrap-components
|
||||
defusedxml
|
||||
detect-secrets
|
||||
dulwich
|
||||
google-api-python-client
|
||||
google-auth-httplib2
|
||||
h2
|
||||
jsonschema
|
||||
kubernetes
|
||||
linode-api4
|
||||
markdown
|
||||
microsoft-kiota-abstractions
|
||||
msgraph-sdk
|
||||
numpy
|
||||
oci
|
||||
okta
|
||||
openstacksdk
|
||||
pandas
|
||||
py-iam-expand
|
||||
py-ocsf-models
|
||||
pydantic_1
|
||||
pydantic
|
||||
pygithub
|
||||
python-dateutil
|
||||
pytz
|
||||
scaleway
|
||||
schema
|
||||
shodan
|
||||
slack-sdk
|
||||
stackit-core
|
||||
stackit-iaas
|
||||
stackit-objectstorage
|
||||
stackit-resourcemanager
|
||||
tabulate
|
||||
tzlocal
|
||||
uuid6
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "prowler" ];
|
||||
|
||||
meta = {
|
||||
description = "Security tool for AWS, Azure and GCP to perform Cloud Security best practices assessments";
|
||||
description = "Security tool to perform Cloud Security best practices assessments";
|
||||
homepage = "https://github.com/prowler-cloud/prowler";
|
||||
changelog = "https://github.com/prowler-cloud/prowler/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
nix-update-script,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
pyjwt,
|
||||
requests,
|
||||
setuptools,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stackit-core";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "stackit_core";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-uK+Rh3zbBg1paaMD2M8gvAszs0Wv2R9nnESphzgeLUc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
pydantic
|
||||
pyjwt
|
||||
requests
|
||||
urllib3
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stackit.core" ];
|
||||
|
||||
# Tests are not included in PyPI release
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Core functionality for the STACKIT SDK";
|
||||
homepage = "https://github.com/stackitcloud/stackit-sdk-python";
|
||||
changelog = "https://github.com/stackitcloud/stackit-sdk-python/releases/tag/core/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
nix-update-script,
|
||||
pydantic,
|
||||
python-dateutil,
|
||||
requests,
|
||||
stackit-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stackit-iaas";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "stackit_iaas";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-k1I7I0QjUMfr79kSlIXEwqU59pSpw2oPjt+rqYYgV+o=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
python-dateutil
|
||||
requests
|
||||
stackit-core
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stackit.iaas" ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "STACKIT IaaS API client for Python";
|
||||
homepage = "https://github.com/stackitcloud/stackit-sdk-python";
|
||||
changelog = "https://github.com/stackitcloud/stackit-sdk-python/blob/services/iaas/v${finalAttrs.version}/services/iaas/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
nix-update-script,
|
||||
pydantic,
|
||||
python-dateutil,
|
||||
requests,
|
||||
stackit-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stackit-objectstorage";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "stackit_objectstorage";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-SjgStN4QKxmfBhcGqAKQn55TrpsIWHadW9cg+BTIvb4=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
python-dateutil
|
||||
requests
|
||||
stackit-core
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stackit.objectstorage" ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "STACKIT Object Storage API client for Python";
|
||||
homepage = "https://github.com/stackitcloud/stackit-sdk-python";
|
||||
changelog = "https://github.com/stackitcloud/stackit-sdk-python/blob/services/objectstorage/v${finalAttrs.version}/services/objectstorage/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
nix-update-script,
|
||||
pydantic,
|
||||
python-dateutil,
|
||||
requests,
|
||||
stackit-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stackit-resourcemanager";
|
||||
version = "0.8.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "stackit_resourcemanager";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-9EVCvqtBMIV/Wn9GXPAt7+72V732PBvusxAvC6PAA/4=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
python-dateutil
|
||||
requests
|
||||
stackit-core
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stackit.resourcemanager" ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "STACKIT Resource Manager API client for Python";
|
||||
homepage = "https://github.com/stackitcloud/stackit-sdk-python";
|
||||
changelog = "https://github.com/stackitcloud/stackit-sdk-python/blob/services/resourcemanager/v${finalAttrs.version}/services/resourcemanager/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -19063,6 +19063,14 @@ self: super: with self; {
|
||||
|
||||
stack-data = callPackage ../development/python-modules/stack-data { };
|
||||
|
||||
stackit-core = callPackage ../development/python-modules/stackit-core { };
|
||||
|
||||
stackit-iaas = callPackage ../development/python-modules/stackit-iaas { };
|
||||
|
||||
stackit-objectstorage = callPackage ../development/python-modules/stackit-objectstorage { };
|
||||
|
||||
stackit-resourcemanager = callPackage ../development/python-modules/stackit-resourcemanager { };
|
||||
|
||||
stackprinter = callPackage ../development/python-modules/stackprinter { };
|
||||
|
||||
stamina = callPackage ../development/python-modules/stamina { };
|
||||
|
||||
Reference in New Issue
Block a user