forked from bridgecrewio/checkov
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix flake8 issue F401,F403 (bridgecrewio#2882)
* fix flake8 issue F401,F403 * adjust new changes
- Loading branch information
Showing
44 changed files
with
72 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
checkov/cloudformation/checks/resource/aws/RDSMultiAZEnabled.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
checkov/cloudformation/checks/resource/aws/WorkspaceRootVolumeEncrypted.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
checkov/cloudformation/checks/resource/aws/WorkspaceUserVolumeEncrypted.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from checkov.common.bridgecrew.integration_features.features import * | ||
from checkov.common.bridgecrew.integration_features.features import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from checkov.common.checks_infra.solvers.filter_solvers.within_filter_solver import WithinFilterSolver | ||
from checkov.common.checks_infra.solvers.filter_solvers.within_filter_solver import WithinFilterSolver # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from checkov.dockerfile.checks import * | ||
from checkov.dockerfile.checks import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from checkov.github.checks import * | ||
from checkov.github.checks import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from checkov.github_actions.checks import * | ||
from checkov.github_actions.checks import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from checkov.github_actions.checks.job import * | ||
from checkov.github_actions.checks.job import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from checkov.serverless.checks.complete import * | ||
from checkov.serverless.checks.custom import * | ||
from checkov.serverless.checks.function import * | ||
from checkov.serverless.checks.layer import * | ||
from checkov.serverless.checks.package import * | ||
from checkov.serverless.checks.provider import * | ||
from checkov.serverless.checks.service import * | ||
from checkov.serverless.checks.complete import * # noqa | ||
from checkov.serverless.checks.custom import * # noqa | ||
from checkov.serverless.checks.function import * # noqa | ||
from checkov.serverless.checks.layer import * # noqa | ||
from checkov.serverless.checks.package import * # noqa | ||
from checkov.serverless.checks.provider import * # noqa | ||
from checkov.serverless.checks.service import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# NOTE: Leaving this around for backwards compatibility. Usage of the checks/function/base_function_check.py | ||
# version is preferred | ||
# noinspection PyUnresolvedReferences | ||
from checkov.serverless.checks.function.base_function_check import BaseFunctionCheck | ||
from checkov.serverless.checks.function.base_function_check import BaseFunctionCheck # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from checkov.terraform.checks.resource.aws import * | ||
from checkov.terraform.checks.resource.gcp import * | ||
from checkov.terraform.checks.resource.azure import * | ||
from checkov.terraform.checks.resource.github import * | ||
from checkov.terraform.checks.resource.linode import * | ||
from checkov.terraform.checks.resource.oci import * | ||
from checkov.terraform.checks.resource.openstack import * | ||
from checkov.terraform.checks.resource.panos import * | ||
from checkov.terraform.checks.resource.digitalocean import * | ||
from checkov.terraform.checks.resource.alicloud import * | ||
from checkov.terraform.checks.resource.kubernetes import * | ||
from checkov.terraform.checks.resource.yandexcloud import * | ||
from checkov.terraform.checks.resource.aws import * # noqa | ||
from checkov.terraform.checks.resource.gcp import * # noqa | ||
from checkov.terraform.checks.resource.azure import * # noqa | ||
from checkov.terraform.checks.resource.github import * # noqa | ||
from checkov.terraform.checks.resource.linode import * # noqa | ||
from checkov.terraform.checks.resource.oci import * # noqa | ||
from checkov.terraform.checks.resource.openstack import * # noqa | ||
from checkov.terraform.checks.resource.panos import * # noqa | ||
from checkov.terraform.checks.resource.digitalocean import * # noqa | ||
from checkov.terraform.checks.resource.alicloud import * # noqa | ||
from checkov.terraform.checks.resource.kubernetes import * # noqa | ||
from checkov.terraform.checks.resource.yandexcloud import * # noqa |
2 changes: 0 additions & 2 deletions
2
checkov/terraform/checks/resource/aws/AbsNACLUnrestrictedIngress.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
checkov/terraform/checks/resource/aws/CloudfrontDistributionEnabled.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
checkov/terraform/checks/resource/aws/DMSReplicationInstancePubliclyAccessible.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
checkov/terraform/checks/resource/aws/ElasticsearchNodeToNodeEncryption.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
checkov/terraform/checks/resource/azure/AzureScaleSetPassword.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
checkov/terraform/checks/resource/azure/MySQLPublicAccessDisabled.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
checkov/terraform/checks/resource/azure/PostgreSQLServerSSLEnforcementEnabled.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
checkov/terraform/checks/resource/azure/PostgressSQLGeoBackupEnabled.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
checkov/terraform/checks/resource/azure/SecretExpirationDate.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
checkov/terraform/checks/resource/gcp/GoogleComputeDiskEncryption.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
checkov/terraform/checks/resource/kubernetes/AllowPrivilegeEscalationPSP.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.