Skip to content

Commit

Permalink
feat: delete all service comment headers
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPBrito committed Jan 17, 2025
1 parent d450746 commit c421db4
Show file tree
Hide file tree
Showing 62 changed files with 0 additions and 66 deletions.
1 change: 0 additions & 1 deletion docs/developer-guide/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ from prowler.providers.<provider>.lib.service.service import ServiceParentClass


# Create a class for the Service
################## <Service>
class <Service>(ServiceParentClass):
def __init__(self, provider):
# Call Service Parent Class __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## AccessAnalyzer
class AccessAnalyzer(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/account/account_service.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
################## Account
from typing import Optional
from venv import logger

Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/acm/acm_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## ACM
class ACM(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## APIGateway
class APIGateway(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## ApiGatewayV2
class ApiGatewayV2(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## AppStream
class AppStream(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## CloudFormation
class CloudFormation(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################### CLOUDTRAIL
class Cloudtrail(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## CodeArtifact
class CodeArtifact(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/cognito/cognito_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## CognitoIDP
class CognitoIDP(AWSService):
def __init__(self, provider):
super().__init__("cognito-idp", provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## DirectoryService
class DirectoryService(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/dlm/dlm_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## Data Lifecycle Manager
class DLM(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## DocumentDB
class DocumentDB(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/drs/drs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## DRS (Elastic Disaster Recovery Service)
class DRS(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/ec2/lib/security_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from typing import Any


################## Security Groups
def check_security_group(
ingress_rule: Any, protocol: str, ports: list = [], any_address: bool = False
) -> bool:
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/ecr/ecr_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ ECR
class ECR(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/efs/efs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################### EFS
class EFS(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/eks/eks_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ EKS
class EKS(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ EventBridge
class EventBridge(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down Expand Up @@ -123,7 +122,6 @@ class Endpoint(BaseModel):
tags: Optional[list] = []


################################ Schema
class Schema(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/fms/fms_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## FMS
class FMS(AWSService):
def __init__(self, provider):
# # Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/glacier/glacier_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## Glacier
class Glacier(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ Inspector2
class Inspector2(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/kms/kms_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## KMS
class KMS(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/macie/macie_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## Macie
class Macie(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/neptune/neptune_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## Neptune
class Neptune(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/rds/rds_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## RDS
class RDS(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ ResourceExplorer2
class ResourceExplorer2(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
2 changes: 0 additions & 2 deletions prowler/providers/aws/services/route53/route53_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## Route53
class Route53(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down Expand Up @@ -137,7 +136,6 @@ class RecordSet(BaseModel):
region: str


################## Route53Domains
class Route53Domains(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ SageMaker
class SageMaker(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/shield/shield_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################### Shield
class Shield(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/sqs/sqs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ SQS
class SQS(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/ssm/ssm_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## SSM
class SSM(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# Because we need to do a get_replication_set to describe it and we don't know the region, we iterate across all regions until we find it, once we find it, we stop iterating.


################## SSMIncidents
class SSMIncidents(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ StorageGateway
class StorageGateway(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ TrustedAdvisor
class TrustedAdvisor(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/aws/services/vpc/vpc_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################## VPC
class VPC(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ WellArchitected
class WellArchitected(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.aws.lib.service.service import AWSService


################################ WorkSpaces
class WorkSpaces(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from prowler.providers.azure.lib.service.service import AzureService


########################## AppInsights
class AppInsights(AzureService):
def __init__(self, provider: AzureProvider):
super().__init__(ApplicationInsightsManagementClient, provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from prowler.providers.azure.lib.service.service import AzureService


########################## Storage
class Storage(AzureService):
def __init__(self, provider: AzureProvider):
super().__init__(StorageManagementClient, provider)
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/gcp/services/apikeys/apikeys_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from prowler.providers.gcp.lib.service.service import GCPService


################## API Keys
class APIKeys(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__(__class__.__name__, provider, api_version="v2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from prowler.providers.gcp.lib.service.service import GCPService


################## BigQuery
class BigQuery(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__(__class__.__name__, provider, api_version="v2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from prowler.providers.gcp.lib.service.service import GCPService


################## CloudResourceManager
class CloudResourceManager(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__(__class__.__name__, provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from prowler.providers.gcp.lib.service.service import GCPService


################## CloudSQL
class CloudSQL(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__("sqladmin", provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from prowler.providers.gcp.lib.service.service import GCPService


################## CloudStorage
class CloudStorage(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__("storage", provider)
Expand Down
1 change: 0 additions & 1 deletion prowler/providers/gcp/services/compute/compute_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from prowler.providers.gcp.lib.service.service import GCPService


################## Compute
class Compute(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__(__class__.__name__, provider)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from prowler.providers.gcp.services.compute.compute_client import compute_client


################## Dataproc
class Dataproc(GCPService):
def __init__(self, provider: GcpProvider):
super().__init__(__class__.__name__, provider)
Expand Down
Loading

0 comments on commit c421db4

Please sign in to comment.