MCPcopy Create free account

hub / github.com/nccgroup/ScoutSuite / functions

Functions1,562 in github.com/nccgroup/ScoutSuite

↓ 876 callersMethodget
(self, url)
ScoutSuite/providers/gcp/facade/basefacade.py:53
↓ 347 callersFunctionprint_exception
(exception, additional_details=None)
ScoutSuite/core/console.py:80
↓ 189 callersFunctionrun_concurrently
(function, backoff_seconds=15)
ScoutSuite/providers/utils.py:24
↓ 157 callersFunctionpass_condition
Generic test function used by Scout . :param b: Value to be tested against
ScoutSuite/core/conditions.py:60
↓ 91 callersFunctionget_non_provider_id
Not all resources have an ID and some services allow the use of "." in names, which breaks Scout's recursion scheme if name is used as an ID.
ScoutSuite/providers/utils.py:11
↓ 76 callersMethodget_client
Instantiates an AWS API client :param service: Service targeted, e.g. ec2 :param session: The aws session :param reg
ScoutSuite/providers/aws/facade/utils.py:80
↓ 72 callersMethodget
(self, path)
ScoutSuite/providers/kubernetes/facade/base.py:46
↓ 53 callersMethodget_all_pages
Gets all the entities from a paginator given an entity key :param service:str: Name of the AWS service (ec2, iam, etc.) :par
ScoutSuite/providers/aws/facade/utils.py:12
↓ 44 callersFunctionprint_warning
(msg)
ScoutSuite/core/console.py:76
↓ 39 callersFunctionmanage_dictionary
:param dictionary: :param key: :param init: :param callback: :return:
ScoutSuite/utils.py:74
↓ 34 callersFunctionget_and_set_concurrently
Given a list of get_and_set_* functions (ex: get_and_set_description, get_and_set_attributes, get_and_set_policy, etc.) and a list of entitie
ScoutSuite/providers/utils.py:56
↓ 31 callersFunctionprint_info
(msg)
ScoutSuite/core/console.py:64
↓ 30 callersMethod_get_client
(self)
ScoutSuite/providers/gcp/facade/basefacade.py:43
↓ 28 callersFunctionprint_error
(msg)
ScoutSuite/core/console.py:72
↓ 25 callersFunctionformat_arn
Formats a resource ARN based on the parameters :param partition: The partition where the resource is located :param se
ScoutSuite/providers/aws/utils.py:135
↓ 22 callersMethod_fetch_children_of_all_resources
This method iterates through a collection of resources and fetches all children of each resource, in a concurrent way. :param resour
ScoutSuite/providers/base/resources/base.py:57
↓ 22 callersMethodget_all
(resource_key: str, request, resources_group)
ScoutSuite/providers/gcp/facade/utils.py:15
↓ 21 callersFunctionget_user_agent
()
ScoutSuite/utils.py:111
↓ 19 callersMethod_fetch_children
This method fetches all children of a given resource (the so called 'resource_parent') by calling fetch_all method on each child defined in '_
ScoutSuite/providers/base/resources/base.py:76
↓ 19 callersFunctiongetFormat
* Get the format of the results that Scout Suite is reading from
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:816
↓ 19 callersFunctionget_response
(client, request)
ScoutSuite/providers/aliyun/facade/utils.py:8
↓ 16 callersFunctionget_resource_group_name
(id)
ScoutSuite/providers/azure/utils.py:4
↓ 15 callersMethodget_credentials
(self)
ScoutSuite/providers/azure/authentication_strategy.py:46
↓ 15 callersFunctionget_filename
(file_type, file_name=None, file_dir=None, relative_path=False, file_extension=None)
ScoutSuite/output/utils.py:42
↓ 15 callersFunctionprint_debug
(msg)
ScoutSuite/core/console.py:68
↓ 14 callersMethodget_resources
(self)
ScoutSuite/providers/kubernetes/facade/core.py:19
↓ 14 callersFunctionprompt_value
Prompt for a value . . :param return_index: :param question:
ScoutSuite/core/console.py:153
↓ 12 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/sqldatabase.py:13
↓ 12 callersMethodsave
(self, data)
ScoutSuite/providers/kubernetes/resources/base.py:26
↓ 12 callersFunctionshowPopup
* Displays the popup * @param {*} content
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:808
↓ 11 callersFunctionget_object_at
Get arbitrary object given a dictionary and path (list of keys). :param object: :param path: :param attribute_name: :return:
ScoutSuite/providers/base/configs/browser.py:20
↓ 11 callersMethodload
Open a JSON file defining a ruleset and load it into a Ruleset object :param rule_type: TODO :param quiet:
ScoutSuite/core/ruleset.py:66
↓ 11 callersFunctionload_data
Load a JSON data file :param data_file: :param key_name: :param local_file: :return:
ScoutSuite/core/fs.py:21
↓ 11 callersMethodparse_args
(self, args=None)
ScoutSuite/core/cli_parser.py:434
↓ 11 callersFunctionprompt_yes_no
Prompt for a yes/no or y/n answer . :param question: Question to be asked :par
ScoutSuite/core/console.py:245
↓ 10 callersFunctionformat_service_name
:param service: :return:
ScoutSuite/utils.py:103
↓ 10 callersFunctiongetValueAt
* Get value at given path * @param {string} path * @returns {string}
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:1025
↓ 10 callersFunctionmap_concurrently
Given a list of entities, executes coroutine `coroutine` concurrently on each entity and returns a list of the obtained results ([await corou
ScoutSuite/providers/utils.py:82
↓ 9 callersFunctionprompt
Prompt function that works for Python2 and Python3 :param test_input: Value to be returned when testing :return:
ScoutSuite/core/console.py:117
↓ 9 callersFunctionset_logger_configuration
Configure whether full stacktraces should be dumped in the console output
ScoutSuite/core/console.py:19
↓ 8 callersMethod_specific_alert_policy_present
(self, alert_policies)
ScoutSuite/providers/gcp/resources/stackdrivermonitoring/monitoring_alert_policies.py:29
↓ 8 callersMethod_specific_filter_present
(self, raw_metrics, filter_value: str)
ScoutSuite/providers/gcp/resources/stackdriverlogging/logging_metrics.py:59
↓ 8 callersMethodensure_alert_exist
(self, log_alerts, equals_value: str)
ScoutSuite/providers/azure/resources/loggingmonitoring/activity_log_alerts.py:44
↓ 8 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/securitycenter.py:13
↓ 8 callersMethodget_scope
(self)
ScoutSuite/providers/oci/authentication_strategy.py:14
↓ 8 callersFunctionloadConfig
* Generic load JSON function * @param {string} scriptId * @param {number} cols * @param {boolean} force * @returns {number}
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:147
↓ 8 callersFunctionrequestDb
* Requests a list corresponding to the resource * @param {string} query The suffix of the url * @param {number} pageSize The amou
ScoutSuite/output/data/inc-scoutsuite/sqlite.js:13
↓ 8 callersFunctionrun_from_cli
()
ScoutSuite/__main__.py:25
↓ 7 callersMethod_check_database_type
(self, raw_instance)
ScoutSuite/providers/gcp/resources/cloudsql/database_instances.py:118
↓ 7 callersMethod_get_microsoft_graph_response
(self, api_resource, api_version='v1.0')
ScoutSuite/providers/azure/facade/aad.py:12
↓ 7 callersMethodauthenticate
Given parameters, this authenticates the user to a provider and returns a credentials object.
ScoutSuite/providers/base/authentication_strategy.py:10
↓ 7 callersFunctioncreateQuery
* Creates a query using the query separator to request information from the server * Scales with the number of params given * @returns {string}
ScoutSuite/output/data/inc-scoutsuite/sqlite.js:97
↓ 7 callersMethodfilter
(self, record)
ScoutSuite/core/console.py:40
↓ 7 callersFunctionget_client
(credentials, region=None)
ScoutSuite/providers/aliyun/utils.py:7
↓ 7 callersFunctionget_name
:param src: Source object :param dst: Destination object :param default_attribute:
ScoutSuite/providers/aws/utils.py:77
↓ 6 callersMethod_build_arbitrary_client
:param client_name: name of the service :param client_version: version of the client to create :param force_new: whether to
ScoutSuite/providers/gcp/facade/basefacade.py:24
↓ 6 callersMethod_go_to_and_do
Recursively go to a target and execute a callback
ScoutSuite/providers/base/provider.py:295
↓ 6 callersMethod_sanitize_date
Returns the date if it is not equal to 'N/A' or 'no_information', else returns None
ScoutSuite/providers/aws/resources/iam/credentialreports.py:75
↓ 6 callersMethodget_config
(self, resource_group_name, server_name, subscription_id: str, configuration_name: st
ScoutSuite/providers/azure/facade/postgresqldatabse.py:28
↓ 6 callersFunctionread_ip_ranges
Returns the list of IP prefixes from an ip-ranges file :param filename: :param local_file: :param conditions: :param ip_only:
ScoutSuite/core/fs.py:46
↓ 5 callersMethod_get_projects_recursively
Returns all the projects in a given organization or folder. For a project_id it only returns the project details. # FIXME ca
ScoutSuite/providers/gcp/facade/base.py:89
↓ 5 callersMethod_security_group_to_attack_surface
(self, attack_surface_config, public_ip, current_path, security_grou
ScoutSuite/providers/aws/provider.py:779
↓ 5 callersFunctioncombine_paths
(path1, path2)
ScoutSuite/providers/base/configs/browser.py:10
↓ 5 callersFunctionformat_resource_kind
(kind: str)
ScoutSuite/providers/kubernetes/utils.py:4
↓ 5 callersMethodget_all_from_pagination
( list_client, current_page, per_page, object_name, filters=None )
ScoutSuite/providers/do/facade/utils.py:9
↓ 5 callersMethodget_attribute
(name, rule, default_value)
ScoutSuite/core/rule.py:48
↓ 5 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/network.py:13
↓ 5 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/virtualmachines.py:13
↓ 5 callersMethodget_client
Instantiates an AWS API client :param service: Service targeted, e.g. ec2 :param session: The aws session :param reg
ScoutSuite/providers/do/facade/spaces.py:151
↓ 5 callersMethodget_content_from_folder
(self, templates_type)
ScoutSuite/output/html.py:40
↓ 5 callersFunctionget_keys
Copies the value of keys from source object to dest object :param src: Source object :param dst:
ScoutSuite/providers/aws/utils.py:64
↓ 5 callersMethodget_member_bindings
(self, project_id: str)
ScoutSuite/providers/gcp/facade/cloudresourcemanager.py:9
↓ 5 callersFunctionget_partition_name
(session)
ScoutSuite/providers/aws/utils.py:20
↓ 5 callersFunctionget_value_at
Get value located at a given path. :param all_info: All of the services' data :param current_path: The value of the `path` var
ScoutSuite/providers/base/configs/browser.py:45
↓ 4 callersMethod_get_resource_versions
(self, service: dict)
ScoutSuite/providers/kubernetes/provider.py:140
↓ 4 callersMethod_merge_prefixes_or_ports
(self, port_range, port_ranges)
ScoutSuite/providers/azure/resources/network/security_groups.py:100
↓ 4 callersMethod_postgres_flags_on
(self, raw_instance, flag_name: str)
ScoutSuite/providers/gcp/resources/cloudsql/database_instances.py:123
↓ 4 callersFunctioncamel_to_snake
(name, upper=False)
tools/process_raw_response.py:37
↓ 4 callersFunctionformat_resource_name
(name: str)
ScoutSuite/providers/kubernetes/utils.py:14
↓ 4 callersFunctionget_authentication_strategy
Returns an authentication strategy implementation for a provider. :param provider: The authentication strategy
ScoutSuite/providers/base/authentication_strategy_factory.py:19
↓ 4 callersFunctionget_aws_account_id
(session)
ScoutSuite/providers/aws/utils.py:14
↓ 4 callersFunctionget_caller_identity
(session)
ScoutSuite/providers/aws/utils.py:8
↓ 4 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/loggingmonitoring.py:12
↓ 4 callersFunctionget_provider
Returns an instance of the requested provider. :param profile: The name of the profile desired :param project_id: T
ScoutSuite/providers/__init__.py:17
↓ 4 callersMethodget_report_name
Returns the name of the report using the provider's configuration
ScoutSuite/providers/gcp/provider.py:42
↓ 4 callersFunctionhideAll
* Hide all lists and details
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:241
↓ 4 callersFunctionhideItems
* Hide resource views for a given path * @param resourcePath
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:310
↓ 4 callersFunctionloadPage
* Loads a page based on which page we want to move to * @param {array} pathArray The path of where the data is stored * @param {number} inde
ScoutSuite/output/data/inc-scoutsuite/pagination.js:9
↓ 4 callersFunctionprocessTemplate
* Compile Handlebars templates and update the DOM * @param {string} id1 * @param {string} containerId * @param {object} list * @param {boolean} re
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:224
↓ 4 callersFunctionshowRowWithItems
* Show list, details' container, links, and view for a given path * @param path
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:342
↓ 3 callersMethod_parse_inline_policies_permissions
(self, resource_type)
ScoutSuite/providers/aws/resources/iam/base.py:64
↓ 3 callersMethod_parse_permissions
(self, policy_name, policy_document, policy_type, iam_resource_type, resource_name)
ScoutSuite/providers/aws/resources/iam/base.py:80
↓ 3 callersFunctiondownloadAsCsv
* Returns a csv file to download * example input: * exportToCsv('export.csv', [ * ['name','description'], * ['david','123'], * ['jona',
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:1474
↓ 3 callersMethodfind_file
:param filename: :param filetype: :return:
ScoutSuite/core/ruleset.py:186
↓ 3 callersFunctionfix_path_string
(all_info, current_path, path_to_value)
ScoutSuite/core/conditions.py:325
↓ 3 callersFunctionformat_resource_id
(name: str, namespace: str = '')
ScoutSuite/providers/kubernetes/utils.py:18
↓ 3 callersFunctiongetResourcePath
* Get the resource path based on a given path * @param path * @returns {string}
ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js:1204
↓ 3 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/storageaccounts.py:15
↓ 3 callersMethodget_client
(self, subscription_id: str)
ScoutSuite/providers/azure/facade/postgresqldatabse.py:12
↓ 3 callersMethodget_cluster
(self, **kwargs)
ScoutSuite/providers/kubernetes/facade/eks.py:16
next →1–100 of 1,562, ranked by callers