MCPcopy Create free account

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

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

↓ 5 callersFunctionset_annotation
>>> x = {} >>> set_annotation(x, 'marker', 'a') >>> annotation(x, 'marker') ['a']
c7n/utils.py:353
↓ 5 callersMethodsnake_to_camel
(string)
tools/c7n_azure/c7n_azure/utils.py:92
↓ 5 callersFunctionuniversal_retry
Retry support for resourcegroup tagging apis. The resource group tagging api typically returns a 200 status code with embedded resource speci
c7n/tags.py:1260
↓ 5 callersMethodvalidate
validate
tools/c7n_tencentcloud/c7n_tencentcloud/actions/tags.py:87
↓ 5 callersMethodvalidate
validate
tools/c7n_tencentcloud/c7n_tencentcloud/filters/metrics.py:127
↓ 5 callersMethodvalidate_function_name
(function_name)
tools/c7n_azure/c7n_azure/functionapp_utils.py:88
↓ 4 callersMethod__init__
(self, policy_name, policy_fields=(), conditions=(), mode=(), resource=(), filters=(), action
c7n/deprecated.py:229
↓ 4 callersMethod__init__
(self, ctx, config=None)
c7n/resources/aws.py:664
↓ 4 callersMethod__init__
(self, data, manager=None)
c7n/resources/s3.py:2182
↓ 4 callersMethod_add_host_config
(self, mode)
tools/c7n_azure/c7n_azure/function_package.py:105
↓ 4 callersMethod_build_request
Builds HttpRequest object. Args: verb (str): Request verb (ex. insert, update, delete). verb_arguments (dict): Argume
tools/c7n_gcp/c7n_gcp/client.py:375
↓ 4 callersMethod_build_vnet_rules
(self, existing_vnet, new_rules)
tools/c7n_azure/c7n_azure/actions/firewall.py:44
↓ 4 callersMethod_calculate_cidr_plus_2
Calculate the base + 2 IP address for a given CIDR block.
c7n/resources/vpc.py:605
↓ 4 callersMethod_calculate_last_signin_days
Calculate days since last sign-in
tools/c7n_azure/c7n_azure/resources/entraid_user.py:126
↓ 4 callersMethod_calculate_password_age
Calculate password age in days
tools/c7n_azure/c7n_azure/resources/entraid_user.py:151
↓ 4 callersFunction_db_instance_eligible_for_backup
(resource)
c7n/resources/rds.py:144
↓ 4 callersFunction_default_options
Add basic options ot the subparser. `exclude` is a list of options to exclude from the default set. e.g.: ['region', 'log-group']
c7n/cli.py:33
↓ 4 callersMethod_execute
Run execute with retries and rate limiting. Args: request (object): The HttpRequest object to execute. Returns:
tools/c7n_gcp/c7n_gcp/client.py:512
↓ 4 callersMethod_get_account
(self)
c7n/resources/apigw.py:57
↓ 4 callersMethod_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_tag.py:15
↓ 4 callersMethod_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_tag-trim.py:17
↓ 4 callersMethod_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_autotag-date.py:35
↓ 4 callersMethod_get_cached_resources
(self, ids)
c7n/query.py:566
↓ 4 callersMethod_get_cassette_name
(self, test_class, test_case)
tools/c7n_oci/tests/oci_flight_recorder.py:123
↓ 4 callersMethod_get_effective_permissions
(self, client, snapshot_id)
tests/test_rds.py:1460
↓ 4 callersMethod_get_effective_permissions
(self, client, snapshot_id)
tests/test_rdscluster.py:689
↓ 4 callersMethod_get_filter
(self, rules, mode='equal', include_magic=False)
tools/c7n_azure/tests_azure/tests_resources/test_sqlserver.py:453
↓ 4 callersMethod_get_filter
(self, rules, mode='equal', include_magic=False)
tools/c7n_azure/tests_azure/tests_resources/test_postgresql_server.py:151
↓ 4 callersMethod_get_first_event
(self, resource)
tools/c7n_azure/c7n_azure/actions/tagging.py:174
↓ 4 callersMethod_get_identity_compartment_details
(self, identity_compartment)
tools/c7n_oci/tests/test_identity.py:31
↓ 4 callersMethod_get_resource_values
(self, data)
c7n/resolver.py:288
↓ 4 callersMethod_get_roles_to_bindings_dict
Converts a given list to a dictionary, values under the 'role' key in elements of whose become keys in the resulting dictionary while
tools/c7n_gcp/c7n_gcp/actions/iampolicy.py:268
↓ 4 callersMethod_process_with_futures
(self, helper, buckets, max_workers=3)
c7n/resources/s3.py:2210
↓ 4 callersMethod_prune_log_message
If the "splunk_remove_paths" config item is not set or empty, return ``msg`` unaltered. Otherwise, for each RFC6901 JSON Pointer in
tools/c7n_mailer/c7n_mailer/splunk_delivery.py:106
↓ 4 callersMethod_replace_subscription_id
(s)
tools/c7n_azure/tests_azure/azure_common.py:303
↓ 4 callersFunction_update
(old, new)
tools/c7n_org/c7n_org/cli.py:1188
↓ 4 callersMethod_verb_arguments
(self, resource)
tools/c7n_gcp/c7n_gcp/resources/resourcemanager.py:216
↓ 4 callersMethodack
(self, m)
c7n/sqsexec.py:122
↓ 4 callersMethodadd
(self, p)
tools/c7n_policystream/policystream.py:212
↓ 4 callersMethodadd
(self, resource)
c7n/actions/notify.py:42
↓ 4 callersMethodaddCleanup
(self, func, *args, **kw)
tools/c7n_oci/tests/oci_flight_recorder.py:120
↓ 4 callersMethodadd_py_file
This is a special case of :py:meth:`add_file` that helps for adding a ``py`` when a ``pyc`` may be present as well. So for example, if
c7n/mu.py:196
↓ 4 callersMethodassertDeprecation
Fail if the deprecations aren't found, or doesn't match. The expected string is multiline and processed with dedent so the report exp
c7n/testing.py:209
↓ 4 callersMethodassertStatementIds
(self, client, key_id, *expected)
tests/test_kms.py:338
↓ 4 callersFunctionassert_instance_states
(policy, instance, states)
tools/c7n_tencentcloud/tests/test_tc_cvm.py:14
↓ 4 callersMethodattach_policy
(self, client, resource, policy_arn)
c7n/resources/iam.py:1176
↓ 4 callersMethodaugment
(self, resources)
tools/c7n_azure/c7n_azure/resources/arm.py:44
↓ 4 callersMethodaugment
(self, resources)
c7n/resources/code.py:20
↓ 4 callersFunctionazure_decrypt
(config, logger, session, encrypted_field)
tools/c7n_mailer/c7n_mailer/azure_mailer/utils.py:7
↓ 4 callersMethodcheck_deprecations
(source)
tests/test_policy.py:1121
↓ 4 callersMethodcheck_resource_limits
(self)
c7n/query.py:682
↓ 4 callersFunctioncommit_date
(commit)
tools/c7n_policystream/policystream.py:240
↓ 4 callersMethodconsume
(self)
c7n/actions/notify.py:82
↓ 4 callersMethodcreate_queue_from_storage_account
(storage_account, name, session)
tools/c7n_azure/c7n_azure/storage_utils.py:140
↓ 4 callersMethodcreate_repository
Create the named repository. Delete existing one first if applicable.
tests/test_ecr.py:37
↓ 4 callersFunctiondecrypt
(config, logger, session, encrypted_field)
tools/c7n_mailer/c7n_mailer/utils.py:431
↓ 4 callersMethoddelete_bucket
(self, b)
c7n/resources/s3.py:3370
↓ 4 callersMethoddelete_queue_message
(queue_service, queue_name, message)
tools/c7n_azure/c7n_azure/storage_utils.py:165
↓ 4 callersMethoddeploy_function_app
(parameters)
tools/c7n_azure/c7n_azure/functionapp_utils.py:46
↓ 4 callersMethoddiff
(self, resources)
tools/c7n_gcp/tests/test_resourcemanager.py:386
↓ 4 callersFunctiondispatch_render
(p, sam)
tools/ops/policylambda.py:130
↓ 4 callersFunctionecs_taggable
(model, r)
c7n/resources/ecs.py:31
↓ 4 callersMethodend_subsegment
(self, end_time)
c7n/resources/aws.py:563
↓ 4 callersMethodextract_bad_snapshot
Handle various client side errors when describing snapshots
c7n/resources/ebs.py:108
↓ 4 callersMethodextract_bad_volume
Handle various client side errors when describing volumes
c7n/resources/ebs.py:122
↓ 4 callersFunctiongcp_decrypt
(config, logger, encrypted_field, client=None)
tools/c7n_mailer/c7n_mailer/gcp_mailer/utils.py:9
↓ 4 callersFunctiongenerate_arn
Generate an Amazon Resource Name. See http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html.
c7n/utils.py:400
↓ 4 callersMethodget
(client, resource_info)
tools/c7n_gcp/c7n_gcp/resources/storage.py:32
↓ 4 callersMethodget
(self, schedule_name, group_name='default')
c7n/mu.py:1291
↓ 4 callersMethodget_arns
(self, resources)
c7n/resources/fis.py:112
↓ 4 callersMethodget_arns
(self, resources)
c7n/resources/shield.py:201
↓ 4 callersMethodget_auth_endpoint
(self, endpoint)
tools/c7n_azure/c7n_azure/session.py:391
↓ 4 callersMethodget_bucket_style
(self, b)
c7n/resources/s3.py:2186
↓ 4 callersMethodget_checksum
Return the b64 encoded sha256 checksum of the archive.
c7n/mu.py:241
↓ 4 callersMethodget_context
(self, config=None, session_factory=None, policy=None)
c7n/testing.py:70
↓ 4 callersMethodget_function_config
(self, policy, queue_name=None)
tools/c7n_azure/c7n_azure/function_package.py:111
↓ 4 callersMethodget_function_target_subscription_ids
(self)
tools/c7n_azure/c7n_azure/session.py:316
↓ 4 callersMethodget_function_target_subscription_name
(self)
tools/c7n_azure/c7n_azure/session.py:309
↓ 4 callersMethodget_functions_auth_string
Build auth json string for deploying Azure Functions. Look for dedicated Functions environment variables or fall back to normal Servi
tools/c7n_azure/c7n_azure/session.py:356
↓ 4 callersFunctionget_human_size
(size, precision=2)
c7n/utils.py:1050
↓ 4 callersMethodget_image_map
(self)
c7n/resources/asg.py:149
↓ 4 callersMethodget_instrumentation_key
(url)
tools/c7n_azure/c7n_azure/utils.py:460
↓ 4 callersMethodget_method
(self, client, state, policy, resource)
c7n/resources/iam.py:204
↓ 4 callersMethodget_metric_window
get_metric_window
tools/c7n_tencentcloud/c7n_tencentcloud/filters/metrics.py:93
↓ 4 callersFunctionget_mimetext_message
(config, logger, message, resources, to_addrs)
tools/c7n_mailer/c7n_mailer/utils_email.py:106
↓ 4 callersMethodget_model
(self)
tools/c7n_tencentcloud/c7n_tencentcloud/query.py:271
↓ 4 callersMethodget_oci_log_output
(self)
tools/c7n_oci/tests/test_output.py:314
↓ 4 callersMethodget_permissions
(self)
c7n/resources/ec2.py:1648
↓ 4 callersMethodget_pg_name
(self, pg)
c7n/resources/rdsparamgroup.py:75
↓ 4 callersFunctionget_portal_ips
()
tools/c7n_azure/tests_azure/tests_resources/test_cosmos_db.py:22
↓ 4 callersMethodget_ports_set_from_rule
Extract port ranges from NSG rule and convert it to the set of integers
tools/c7n_azure/c7n_azure/utils.py:350
↓ 4 callersMethodget_provider
(self)
tools/c7n_left/c7n_left/core.py:284
↓ 4 callersMethodget_reader
Return a read-only :py:class:`~zipfile.ZipFile`.
c7n/mu.py:257
↓ 4 callersMethodget_related_ids
(self, resources)
c7n/filters/kms.py:67
↓ 4 callersMethodget_resource_id
Override to append storage service path to resource ID.
tools/c7n_azure/c7n_azure/resources/storage.py:544
↓ 4 callersMethodget_resource_manager
get a resource manager or a given resource type. assumes the query is for the same underlying cloud provider.
c7n/manager.py:79
↓ 4 callersMethodget_resources
(cls, cmdb, start, end, app, env)
tools/sandbox/zerodark/zerodark/metrics.py:42
↓ 4 callersMethodget_resources
(self, ids, cache=True)
c7n/resources/ec2.py:67
↓ 4 callersMethodget_resources
(self, ids, cache=True)
c7n/resources/vpc.py:123
↓ 4 callersFunctionget_service_tag_ip_space
Gets service tags, optionally filtered by resource name and region. Note that the region passed to the API doesn't seem to do anything, but y
tools/c7n_azure/c7n_azure/utils.py:566
← previousnext →601–700 of 11,956, ranked by callers