MCPcopy Create free account

hub / github.com/cloud-custodian/cloud-custodian / functions

Functions11,956 in github.com/cloud-custodian/cloud-custodian

↓ 4 callersMethodget_session
(self)
tools/c7n_oci/c7n_oci/query.py:215
↓ 4 callersMethodget_storage_account_connection_string
(id)
tools/c7n_azure/c7n_azure/functionapp_utils.py:28
↓ 4 callersFunctionget_support_region
(manager)
c7n/utils.py:1062
↓ 4 callersFunctionget_test_model_id
Get full model resource name for testing. Uses the model ID from environment variable and constructs the full resource path for the specified
tools/c7n_gcp/tests/test_vertexai.py:15
↓ 4 callersMethodget_user_auth_methods
Get user's authentication methods from Graph API. Returns the full list of authentication methods for the user. Required permission:
tools/c7n_azure/c7n_azure/resources/entraid_user.py:166
↓ 4 callersMethodget_value_from_resource
(source, resource)
c7n/lookup.py:56
↓ 4 callersMethodget_value_or_schema_default
(self, k)
c7n/resources/iam.py:1849
↓ 4 callersMethodget_web_acl_by_arn
(self, arn, scope='REGIONAL')
c7n/filters/waf.py:285
↓ 4 callersFunctionguardian_init
(config, debug, master, accounts, tags)
tools/c7n_guardian/c7n_guardian/cli.py:469
↓ 4 callersMethodhandle_action
(self, s)
c7n/filters/iamaccess.py:120
↓ 4 callersFunctionhandler
(event, context)
tools/c7n_logexporter/c7n_logexporter/stream.py:29
↓ 4 callersMethodhas_resource_schedule
(tag_value, time_type)
c7n/filters/offhours.py:672
↓ 4 callersFunctioninit
(config, use, debug, verbose, accounts, tags, policies, resource=None, policy_tags=(), not_accounts=No
tools/c7n_org/c7n_org/cli.py:182
↓ 4 callersMethodinvoke_api
(self, client, op_name, params)
tools/c7n_gcp/c7n_gcp/actions/core.py:85
↓ 4 callersMethodkeys_are_valid
test that provided tag keys are valid
c7n/filters/offhours.py:633
↓ 4 callersFunctionlink
(provider='aws', resource=None, category=None, element=None)
tools/dev/changelog.py:90
↓ 4 callersMethodlist_functions
List extant cloud functions.
tools/c7n_gcp/c7n_gcp/mu.py:63
↓ 4 callersFunctionlistify
(items, bt=True)
tools/dev/changelog.py:121
↓ 4 callersMethodmatch_patterns_to_value
(self, patterns, value)
c7n/resources/account.py:890
↓ 4 callersFunctionmerge_dict
Perform a merge of dictionaries A and B Any subdictionaries will be recursively merged. Any leaf elements in the form of scalar will use the
c7n/utils.py:945
↓ 4 callersMethodmerge_dict
(self, d1, d2)
c7n/resources/elasticsearch.py:898
↓ 4 callersMethodnormalize_statement_value
(self, key, value)
c7n/filters/policystatement.py:144
↓ 4 callersMethodnotification_name
(self)
tools/c7n_gcp/c7n_gcp/mu.py:538
↓ 4 callersMethodon_results
(self, policy, results)
tools/c7n_left/c7n_left/output.py:412
↓ 4 callersMethodparse_params
Takes resourceName (from a log) or selfLink (from a resource) and parses from it the parameters needed to make a request (project and inte
tools/c7n_gcp/c7n_gcp/resources/network.py:350
↓ 4 callersMethodpause
(self, func)
c7n/mu.py:1252
↓ 4 callersMethodplayback
(self)
tests/zpill.py:116
↓ 4 callersMethodprocess
(self, resources, event=None)
tools/c7n_gcp/c7n_gcp/actions/notify.py:66
↓ 4 callersMethodprocess_account_set
(self, resources)
c7n/resources/org.py:510
↓ 4 callersMethodprocess_resource_set
(self, client, resources)
tools/c7n_kube/c7n_kube/actions/core.py:190
↓ 4 callersMethodreceive_messages
Receive messsage(s) from subscribed topic
tools/c7n_mailer/c7n_mailer/gcp_mailer/gcp_queue_processor.py:66
↓ 4 callersMethodrecord
(self)
tests/zpill.py:154
↓ 4 callersMethodresolve_refs
(self, target_type, working_set, graph)
tools/c7n_left/c7n_left/filters.py:132
↓ 4 callersFunctionresolve_regions
(regions, account)
tools/c7n_org/c7n_org/cli.py:226
↓ 4 callersMethodresolve_regions
(self, account, session)
c7n/resources/org.py:481
↓ 4 callersMethodresolve_type
(arn)
c7n/resources/aws.py:364
↓ 4 callersMethodresources
(self, query=None)
c7n/resources/iam.py:382
↓ 4 callersMethodresume
(self, func)
c7n/mu.py:1258
↓ 4 callersFunctionretry_exception
(exception)
tools/c7n_tencentcloud/c7n_tencentcloud/client.py:22
↓ 4 callersFunctionretry_result
(resp)
tools/c7n_tencentcloud/c7n_tencentcloud/client.py:26
↓ 4 callersMethodrm
(self, path)
tools/c7n_policystream/tests/test_policystream.py:64
↓ 4 callersMethodrun
(self)
tools/c7n_mailer/c7n_mailer/gcp_mailer/gcp_queue_processor.py:34
↓ 4 callersMethodsave
(self, key, data, timestamp=None)
c7n/cache.py:158
↓ 4 callersMethodseek
(self, offset, whence=0)
tests/test_s3.py:1512
↓ 4 callersMethodsendgrid_handler
(self, queue_message, emails_to_mimetext_map)
tools/c7n_mailer/c7n_mailer/azure_mailer/sendgrid_delivery.py:63
↓ 4 callersMethodsetupLambdaEnv
( self, policy_data, environment=None, err_execs=(), log_level=logging.INFO)
tests/test_handler.py:61
↓ 4 callersFunctionstatm
(prefix)
tools/c7n_salactus/c7n_salactus/worker.py:631
↓ 4 callersMethodsweep
(self, resources)
c7n/filters/core.py:563
↓ 4 callersMethodtags_for_resource
Return the tags for a given resource, or an empty dict if they can't be found. :param res: c7n resource info :type r
tools/c7n_mailer/c7n_mailer/splunk_delivery.py:230
↓ 4 callersMethodtarget_is_sns
(self, target)
tools/c7n_mailer/c7n_mailer/sns_delivery.py:76
↓ 4 callersMethodupdate_disk_sku_with_retries
Update the SKU of a disk with retry logic, breaking out if the error indicates VM size/throughput constraints.
tools/c7n_azure/c7n_azure/resources/disk.py:455
↓ 4 callersFunctionupdate_headers
Main.
tools/dev/license-headers.py:96
↓ 4 callersMethodupdate_logging
(storage_type, storage_account, logging_settings, session=None)
tools/c7n_azure/c7n_azure/resources/storage.py:697
↓ 4 callersMethodupdate_resource_tags
(tag_action, resource, tags)
tools/c7n_azure/c7n_azure/tags.py:13
↓ 4 callersFunctionutcnow
The datetime object for the current time in UTC
tools/c7n_azure/c7n_azure/utils.py:103
↓ 4 callersMethodvalidate
(self)
tools/c7n_openstack/c7n_openstack/resources/server.py:294
↓ 4 callersMethodvalidate
(self, policy_data, resource_types=None)
c7n/loader.py:35
↓ 4 callersMethodvalidate
(self)
c7n/tags.py:381
↓ 4 callersMethodwait_on_resource
(self, *args, **kw)
c7n/resources/ebs.py:1409
↓ 3 callersMethod__init__
(self, data=None, manager=None, log_dir=None)
tools/c7n_tencentcloud/c7n_tencentcloud/actions/tags.py:40
↓ 3 callersMethod__init__
(self, data, options, file_path)
tools/c7n_policystream/policystream.py:185
↓ 3 callersMethod__init__
(self, data, manager=None)
tools/c7n_azure/c7n_azure/resources/sqlserver.py:440
↓ 3 callersMethod__init__
(self, data, manager=None)
c7n/resources/appmesh.py:468
↓ 3 callersMethod__tag_interpolation_helper
(self, resource_name, resources)
tests/test_tags.py:58
↓ 3 callersMethod_assert_offer_throughput_equals
(self, throughput, resource_self)
tools/c7n_azure/tests_azure/tests_resources/test_cosmos_db.py:669
↓ 3 callersMethod_assert_only_route_table_in_resources
(self, resources)
tools/c7n_azure/tests_azure/tests_resources/test_route_table.py:129
↓ 3 callersMethod_assert_retention_period_equal
(self, retention_property, period)
tools/c7n_azure/tests_azure/tests_resources/test_sqldatabase.py:571
↓ 3 callersMethod_build_bypass_rules
(self, existing_bypass, new_rules)
tools/c7n_azure/c7n_azure/actions/firewall.py:38
↓ 3 callersFunction_build_http
Construct an http client suitable for googleapiclient usage w/ user agent.
tools/c7n_gcp/c7n_gcp/client.py:146
↓ 3 callersMethod_create_event_subscription
(self, storage_account, queue_name, session)
tools/c7n_azure/c7n_azure/policy.py:481
↓ 3 callersMethod_fetch_disk
Fetch disk details using Azure SDK. :param disk_id: The full resource ID of the disk. :return: Disk resource object.
tools/c7n_azure/tests_azure/tests_resources/test_disk.py:66
↓ 3 callersMethod_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_untag.py:15
↓ 3 callersMethod_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_autotag-user.py:39
↓ 3 callersMethod_get_amazon_dns_servers
Get list of valid Amazon DNS server addresses for this VPC.
c7n/resources/vpc.py:586
↓ 3 callersMethod_get_cassette_name
(self)
tools/c7n_openstack/tests/common_openstack.py:81
↓ 3 callersMethod_get_cassette_name
(self)
tools/c7n_kube/tests/common_kube.py:97
↓ 3 callersMethod_get_default_config
(self, regions)
tools/c7n_oci/tests/test_multi_region.py:13
↓ 3 callersFunction_get_descendant_info
(**kwargs)
tools/c7n_azure/tests_azure/test_azure_utils.py:39
↓ 3 callersFunction_get_env_creds
(account, session, region, env=None)
tools/c7n_org/c7n_org/cli.py:1044
↓ 3 callersMethod_get_filter
(self, data, resources)
tools/c7n_azure/tests_azure/test_filters_cost.py:108
↓ 3 callersMethod_get_filter
(self, mode='equal')
tools/c7n_azure/tests_azure/tests_resources/test_keyvault.py:387
↓ 3 callersMethod_get_identity
(self, session)
tools/c7n_azure/c7n_azure/policy.py:199
↓ 3 callersMethod_get_policy_data
(self)
tools/c7n_oci/tests/test_multi_region.py:16
↓ 3 callersMethod_get_port_range
Given a string with a port or port range: '80', '80-120' Returns tuple with range start and end ports: (80, 80), (80, 120)
tools/c7n_azure/c7n_azure/utils.py:286
↓ 3 callersMethod_get_resource_group
(self, name, cost)
tools/c7n_azure/tests_azure/test_filters_cost.py:126
↓ 3 callersMethod_invoke_client_enum
(self, client, enum_op, params, path, retry=None)
c7n/query.py:47
↓ 3 callersFunction_napi
(op_name)
c7n/query.py:210
↓ 3 callersMethod_render
(cls, template_name, variables)
tools/c7n_sphinxext/c7n_sphinxext/docgen.py:159
↓ 3 callersMethod_replace_ocid_in_uri
(self, uri)
tools/c7n_oci/tests/oci_flight_recorder.py:149
↓ 3 callersFunction_repr
(a)
tools/c7n_salactus/c7n_salactus/cli.py:289
↓ 3 callersMethod_run_instances_op
(self, client, op, instances, **kwargs)
c7n/resources/ec2.py:1715
↓ 3 callersMethod_subnet_id_suffix
(subnet)
tools/c7n_azure/tests_azure/tests_resources/test_route_table.py:15
↓ 3 callersMethod_validate_value_regex
Specific validation for `value_regex` type The `value_regex` type works a little differently. In particular it doesn't support OPERA
c7n/filters/core.py:282
↓ 3 callersMethod_verify_expected_call
(self, mock, timeframe, resource_group)
tools/c7n_azure/tests_azure/test_filters_cost.py:78
↓ 3 callersMethod_wait_on_resource
( self, client, snapshot_id=None, volume_id=None, instance_id=None)
c7n/resources/ebs.py:1426
↓ 3 callersMethodadd_statements
(self, policy_statements)
c7n/actions/policy.py:105
↓ 3 callersMethodassert_policy_released
(self, factory, ec2, network_addr, force=False)
tests/test_vpc.py:1813
↓ 3 callersMethodassume_member
(self, event)
c7n/policy.py:451
↓ 3 callersMethodaugment
(self, resources)
c7n/resources/bedrock.py:395
↓ 3 callersMethodbuild
(self)
tools/c7n_left/c7n_left/providers/terraform/graph.py:63
← previousnext →701–800 of 11,956, ranked by callers