Index _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | U | V _ __call__() (mainframe.dependencies.PermissionsValidator method) __class_vars__ (mainframe.models.schemas.GetRules attribute) __private_attributes__ (mainframe.models.schemas.GetRules attribute) __pydantic_complete__ (mainframe.models.schemas.GetRules attribute) __pydantic_core_schema__ (mainframe.models.schemas.GetRules attribute) __pydantic_custom_init__ (mainframe.models.schemas.GetRules attribute) __pydantic_decorators__ (mainframe.models.schemas.GetRules attribute) __pydantic_extra__ (mainframe.models.schemas.GetRules attribute) __pydantic_fields_set__ (mainframe.models.schemas.GetRules attribute) __pydantic_generic_metadata__ (mainframe.models.schemas.GetRules attribute) __pydantic_parent_namespace__ (mainframe.models.schemas.GetRules attribute) __pydantic_post_init__ (mainframe.models.schemas.GetRules attribute) __pydantic_private__ (mainframe.models.schemas.GetRules attribute) __pydantic_root_model__ (mainframe.models.schemas.GetRules attribute) __pydantic_serializer__ (mainframe.models.schemas.GetRules attribute) __pydantic_validator__ (mainframe.models.schemas.GetRules attribute) __signature__ (mainframe.models.schemas.GetRules attribute) __table_args__ (mainframe.models.orm.Scan attribute) __tablename__ (mainframe.models.orm.DownloadURL attribute) (mainframe.models.orm.Rule attribute) (mainframe.models.orm.Scan attribute) __version__ (in module mainframe) _deduplicate_packages() (in module mainframe.endpoints.package) _get_packages_metadata() (in module mainframe.endpoints.package) _lookup_package() (in module mainframe.endpoints.report) _Sentry (class in mainframe.constants) _validate_inspector_url() (in module mainframe.endpoints.report) _validate_pypi() (in module mainframe.endpoints.report) A add_correlation() (in module mainframe.server) additional_information (mainframe.models.schemas.ReportPackageBody attribute) algorithm (mainframe.json_web_token.JsonWebToken attribute) app (in module mainframe.server) are_valid (mainframe.authorization_header_elements.AuthorizationHeaderElements attribute) audience (mainframe.json_web_token.AuthenticationData attribute) auth0_audience (mainframe.constants.Mainframe attribute) (mainframe.json_web_token.JsonWebToken attribute) auth0_domain (mainframe.constants.Mainframe attribute) auth0_issuer_url (mainframe.json_web_token.JsonWebToken attribute) AuthenticationData (class in mainframe.json_web_token) authorization_scheme (mainframe.authorization_header_elements.AuthorizationHeaderElements attribute) AuthorizationHeaderElements (class in mainframe.authorization_header_elements) average_scan_time (mainframe.models.schemas.StatsResponse attribute) B BadCredentialsException Base (class in mainframe.models.orm) batch_queue_package() (in module mainframe.endpoints.package) bearer_token (mainframe.authorization_header_elements.AuthorizationHeaderElements attribute) build_auth_header() (in module mainframe.rules) C client_origin_url (mainframe.constants.Mainframe attribute) commit (mainframe.models.schemas.PackageScanResult attribute) commit_hash (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) D db_connection_pool_max_size (mainframe.constants.Mainframe attribute) db_connection_pool_persistent_size (mainframe.constants.Mainframe attribute) db_url (mainframe.constants.Mainframe attribute) DependencyConfusion (mainframe.models.schemas.ObservationKind attribute) detail (mainframe.models.schemas.Error attribute) (mainframe.models.schemas.NoJob attribute) distributions (mainframe.models.schemas.JobResult attribute) download_urls (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) DownloadURL (class in mainframe.models.orm) dragonfly_github_token (mainframe.constants.Mainframe attribute) dsn (mainframe.constants._Sentry attribute) E engine (in module mainframe.database) EnvConfig (class in mainframe.constants) environment (mainframe.constants._Sentry attribute) Error (class in mainframe.models.schemas) expires_at (mainframe.json_web_token.AuthenticationData attribute) extra (mainframe.models.schemas.ObservationReport attribute) F fail_reason (mainframe.models.orm.Scan attribute) FAILED (mainframe.models.orm.Status attribute) failed (mainframe.models.schemas.StatsResponse attribute) fetch_commit_hash() (in module mainframe.rules) fetch_rules() (in module mainframe.rules) fetch_zipfile() (in module mainframe.rules) file_path_from_inspector_url() (in module mainframe.utils.pypi) FINISHED (mainframe.models.orm.Status attribute) finished_at (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) finished_by (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) from_db() (mainframe.models.schemas.Package class method) from_dict() (mainframe.json_web_token.AuthenticationData class method) G get_authorization_header_elements() (in module mainframe.authorization_header_elements) get_bearer_token() (in module mainframe.authorization_header_elements) get_db() (in module mainframe.database) get_httpx_client() (in module mainframe.dependencies) get_jobs() (in module mainframe.endpoints.job) get_pypi_client() (in module mainframe.dependencies) get_rules() (in module mainframe.dependencies) (in module mainframe.endpoints.rules) GetRules (class in mainframe.models.schemas) GIT_SHA (in module mainframe.constants) grant_type (mainframe.json_web_token.AuthenticationData attribute) H hash (mainframe.models.schemas.GetRules attribute) (mainframe.models.schemas.JobResult attribute) I id (mainframe.models.orm.DownloadURL attribute) (mainframe.models.orm.Rule attribute) (mainframe.models.schemas.QueuePackageResponse attribute) ingested (mainframe.models.schemas.StatsResponse attribute) inspector_url (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.ObservationReport attribute) (mainframe.models.schemas.Package attribute) (mainframe.models.schemas.PackageScanResult attribute) (mainframe.models.schemas.ReportPackageBody attribute) issued_at (mainframe.json_web_token.AuthenticationData attribute) issuer (mainframe.json_web_token.AuthenticationData attribute) J job_timeout (mainframe.constants.Mainframe attribute) JobResult (class in mainframe.models.schemas) JsonWebToken (class in mainframe.json_web_token) jwks_uri (mainframe.json_web_token.JsonWebToken attribute) jwt_access_token (mainframe.json_web_token.JsonWebToken attribute) K kind (mainframe.models.schemas.ObservationReport attribute) L lifespan() (in module mainframe.server) log_config_file (mainframe.constants.Mainframe attribute) logger (in module mainframe.endpoints.job) (in module mainframe.endpoints.package) (in module mainframe.endpoints.report) lookup_package_info() (in module mainframe.endpoints.package) M mainframe module Mainframe (class in mainframe.constants) mainframe.authorization_header_elements module mainframe.constants module mainframe.custom_exceptions module mainframe.database module mainframe.dependencies module mainframe.endpoints module mainframe.endpoints.job module mainframe.endpoints.package module mainframe.endpoints.report module mainframe.endpoints.rules module mainframe.json_web_token module mainframe.metrics module mainframe.models module mainframe.models.orm module mainframe.models.schemas module mainframe.rules module mainframe.server module mainframe.utils module mainframe.utils.pypi module mainframe_settings (in module mainframe.constants) Malware (mainframe.models.schemas.ObservationKind attribute) metadata() (in module mainframe.server) model_config (mainframe.constants.EnvConfig attribute) (mainframe.models.schemas.PackageSpecifier attribute) module mainframe mainframe.authorization_header_elements mainframe.constants mainframe.custom_exceptions mainframe.database mainframe.dependencies mainframe.endpoints mainframe.endpoints.job mainframe.endpoints.package mainframe.endpoints.report mainframe.endpoints.rules mainframe.json_web_token mainframe.metrics mainframe.models mainframe.models.orm mainframe.models.schemas mainframe.rules mainframe.server mainframe.utils mainframe.utils.pypi module (in module mainframe.endpoints) N name (mainframe.models.orm.Rule attribute) (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.JobResult attribute) (mainframe.models.schemas.Package attribute) (mainframe.models.schemas.PackageSpecifier attribute) NoJob (class in mainframe.models.schemas) O ObservationKind (class in mainframe.models.schemas) ObservationReport (class in mainframe.models.schemas) Other (mainframe.models.schemas.ObservationKind attribute) P Package (class in mainframe.models.schemas) package_rules (in module mainframe.models.orm) packages_fail (in module mainframe.metrics) packages_in_queue (in module mainframe.metrics) packages_ingested (in module mainframe.metrics) packages_reported (in module mainframe.metrics) packages_success (in module mainframe.metrics) PackageScanResult (class in mainframe.models.schemas) PackageScanResultFail (class in mainframe.models.schemas) PackageSpecifier (class in mainframe.models.schemas) parse_zipfile() (in module mainframe.rules) PENDING (mainframe.models.orm.Status attribute) pending_at (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) pending_by (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) PermissionDeniedException PermissionsValidator (class in mainframe.dependencies) Q queue_package() (in module mainframe.endpoints.package) QUEUED (mainframe.models.orm.Status attribute) queued_at (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) queued_by (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) QueuePackageResponse (class in mainframe.models.schemas) R reason (mainframe.models.schemas.PackageScanResultFail attribute) release_prefix (mainframe.constants._Sentry attribute) report_package() (in module mainframe.endpoints.report) reported_at (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) reported_by (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) reporter_url (mainframe.constants.Mainframe attribute) ReportPackageBody (class in mainframe.models.schemas) REPOSITORY (in module mainframe.rules) required_permissions (mainframe.dependencies.PermissionsValidator attribute) RequiresAuthenticationException router (in module mainframe.endpoints.job) (in module mainframe.endpoints.package) (in module mainframe.endpoints.report) (in module mainframe.endpoints.rules) routers (in module mainframe.endpoints) Rule (class in mainframe.models.orm) Rules (class in mainframe.rules) rules (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.GetRules attribute) (mainframe.models.schemas.Package attribute) (mainframe.rules.Rules attribute) rules_commit (mainframe.models.schemas.ServerMetadata attribute) (mainframe.rules.Rules attribute) rules_matched (mainframe.models.schemas.PackageScanResult attribute) S Scan (class in mainframe.models.orm) scan_id (mainframe.models.orm.DownloadURL attribute) (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) score (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) (mainframe.models.schemas.PackageScanResult attribute) Sentry (in module mainframe.constants) serialize_dt() (mainframe.models.schemas.Package method) server_commit (mainframe.models.schemas.ServerMetadata attribute) ServerMetadata (class in mainframe.models.schemas) sessionmaker (in module mainframe.database) setup_logging() (in module mainframe.server) Spam (mainframe.models.schemas.ObservationKind attribute) StatsResponse (class in mainframe.models.schemas) Status (class in mainframe.models.orm) status (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.Package attribute) subject (mainframe.json_web_token.AuthenticationData attribute) submit_results() (in module mainframe.endpoints.package) summary (mainframe.models.schemas.ObservationReport attribute) U UnableCredentialsException update_rules() (in module mainframe.server) url (mainframe.models.orm.DownloadURL attribute) V validate() (mainframe.json_web_token.JsonWebToken method) validate_token() (in module mainframe.dependencies) validate_token_override() (in module mainframe.dependencies) version (mainframe.models.orm.Scan attribute) (mainframe.models.schemas.JobResult attribute) (mainframe.models.schemas.Package attribute) (mainframe.models.schemas.PackageSpecifier attribute)