Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-custodian/cloud-custodian
/ functions
Functions
11,956 in github.com/cloud-custodian/cloud-custodian
⨍
Functions
11,956
◇
Types & classes
4,595
↳
Endpoints
396
↓ 5 callers
Function
set_annotation
>>> x = {} >>> set_annotation(x, 'marker', 'a') >>> annotation(x, 'marker') ['a']
c7n/utils.py:353
↓ 5 callers
Method
snake_to_camel
(string)
tools/c7n_azure/c7n_azure/utils.py:92
↓ 5 callers
Function
universal_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 callers
Method
validate
validate
tools/c7n_tencentcloud/c7n_tencentcloud/actions/tags.py:87
↓ 5 callers
Method
validate
validate
tools/c7n_tencentcloud/c7n_tencentcloud/filters/metrics.py:127
↓ 5 callers
Method
validate_function_name
(function_name)
tools/c7n_azure/c7n_azure/functionapp_utils.py:88
↓ 4 callers
Method
__init__
(self, policy_name, policy_fields=(), conditions=(), mode=(), resource=(), filters=(), action
c7n/deprecated.py:229
↓ 4 callers
Method
__init__
(self, ctx, config=None)
c7n/resources/aws.py:664
↓ 4 callers
Method
__init__
(self, data, manager=None)
c7n/resources/s3.py:2182
↓ 4 callers
Method
_add_host_config
(self, mode)
tools/c7n_azure/c7n_azure/function_package.py:105
↓ 4 callers
Method
_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 callers
Method
_build_vnet_rules
(self, existing_vnet, new_rules)
tools/c7n_azure/c7n_azure/actions/firewall.py:44
↓ 4 callers
Method
_calculate_cidr_plus_2
Calculate the base + 2 IP address for a given CIDR block.
c7n/resources/vpc.py:605
↓ 4 callers
Method
_calculate_last_signin_days
Calculate days since last sign-in
tools/c7n_azure/c7n_azure/resources/entraid_user.py:126
↓ 4 callers
Method
_calculate_password_age
Calculate password age in days
tools/c7n_azure/c7n_azure/resources/entraid_user.py:151
↓ 4 callers
Function
_db_instance_eligible_for_backup
(resource)
c7n/resources/rds.py:144
↓ 4 callers
Function
_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 callers
Method
_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 callers
Method
_get_account
(self)
c7n/resources/apigw.py:57
↓ 4 callers
Method
_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_tag.py:15
↓ 4 callers
Method
_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_tag-trim.py:17
↓ 4 callers
Method
_get_action
(self, data)
tools/c7n_azure/tests_azure/test_actions_autotag-date.py:35
↓ 4 callers
Method
_get_cached_resources
(self, ids)
c7n/query.py:566
↓ 4 callers
Method
_get_cassette_name
(self, test_class, test_case)
tools/c7n_oci/tests/oci_flight_recorder.py:123
↓ 4 callers
Method
_get_effective_permissions
(self, client, snapshot_id)
tests/test_rds.py:1460
↓ 4 callers
Method
_get_effective_permissions
(self, client, snapshot_id)
tests/test_rdscluster.py:689
↓ 4 callers
Method
_get_filter
(self, rules, mode='equal', include_magic=False)
tools/c7n_azure/tests_azure/tests_resources/test_sqlserver.py:453
↓ 4 callers
Method
_get_filter
(self, rules, mode='equal', include_magic=False)
tools/c7n_azure/tests_azure/tests_resources/test_postgresql_server.py:151
↓ 4 callers
Method
_get_first_event
(self, resource)
tools/c7n_azure/c7n_azure/actions/tagging.py:174
↓ 4 callers
Method
_get_identity_compartment_details
(self, identity_compartment)
tools/c7n_oci/tests/test_identity.py:31
↓ 4 callers
Method
_get_resource_values
(self, data)
c7n/resolver.py:288
↓ 4 callers
Method
_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 callers
Method
_process_with_futures
(self, helper, buckets, max_workers=3)
c7n/resources/s3.py:2210
↓ 4 callers
Method
_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 callers
Method
_replace_subscription_id
(s)
tools/c7n_azure/tests_azure/azure_common.py:303
↓ 4 callers
Function
_update
(old, new)
tools/c7n_org/c7n_org/cli.py:1188
↓ 4 callers
Method
_verb_arguments
(self, resource)
tools/c7n_gcp/c7n_gcp/resources/resourcemanager.py:216
↓ 4 callers
Method
ack
(self, m)
c7n/sqsexec.py:122
↓ 4 callers
Method
add
(self, p)
tools/c7n_policystream/policystream.py:212
↓ 4 callers
Method
add
(self, resource)
c7n/actions/notify.py:42
↓ 4 callers
Method
addCleanup
(self, func, *args, **kw)
tools/c7n_oci/tests/oci_flight_recorder.py:120
↓ 4 callers
Method
add_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 callers
Method
assertDeprecation
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 callers
Method
assertStatementIds
(self, client, key_id, *expected)
tests/test_kms.py:338
↓ 4 callers
Function
assert_instance_states
(policy, instance, states)
tools/c7n_tencentcloud/tests/test_tc_cvm.py:14
↓ 4 callers
Method
attach_policy
(self, client, resource, policy_arn)
c7n/resources/iam.py:1176
↓ 4 callers
Method
augment
(self, resources)
tools/c7n_azure/c7n_azure/resources/arm.py:44
↓ 4 callers
Method
augment
(self, resources)
c7n/resources/code.py:20
↓ 4 callers
Function
azure_decrypt
(config, logger, session, encrypted_field)
tools/c7n_mailer/c7n_mailer/azure_mailer/utils.py:7
↓ 4 callers
Method
check_deprecations
(source)
tests/test_policy.py:1121
↓ 4 callers
Method
check_resource_limits
(self)
c7n/query.py:682
↓ 4 callers
Function
commit_date
(commit)
tools/c7n_policystream/policystream.py:240
↓ 4 callers
Method
consume
(self)
c7n/actions/notify.py:82
↓ 4 callers
Method
create_queue_from_storage_account
(storage_account, name, session)
tools/c7n_azure/c7n_azure/storage_utils.py:140
↓ 4 callers
Method
create_repository
Create the named repository. Delete existing one first if applicable.
tests/test_ecr.py:37
↓ 4 callers
Function
decrypt
(config, logger, session, encrypted_field)
tools/c7n_mailer/c7n_mailer/utils.py:431
↓ 4 callers
Method
delete_bucket
(self, b)
c7n/resources/s3.py:3370
↓ 4 callers
Method
delete_queue_message
(queue_service, queue_name, message)
tools/c7n_azure/c7n_azure/storage_utils.py:165
↓ 4 callers
Method
deploy_function_app
(parameters)
tools/c7n_azure/c7n_azure/functionapp_utils.py:46
↓ 4 callers
Method
diff
(self, resources)
tools/c7n_gcp/tests/test_resourcemanager.py:386
↓ 4 callers
Function
dispatch_render
(p, sam)
tools/ops/policylambda.py:130
↓ 4 callers
Function
ecs_taggable
(model, r)
c7n/resources/ecs.py:31
↓ 4 callers
Method
end_subsegment
(self, end_time)
c7n/resources/aws.py:563
↓ 4 callers
Method
extract_bad_snapshot
Handle various client side errors when describing snapshots
c7n/resources/ebs.py:108
↓ 4 callers
Method
extract_bad_volume
Handle various client side errors when describing volumes
c7n/resources/ebs.py:122
↓ 4 callers
Function
gcp_decrypt
(config, logger, encrypted_field, client=None)
tools/c7n_mailer/c7n_mailer/gcp_mailer/utils.py:9
↓ 4 callers
Function
generate_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 callers
Method
get
(client, resource_info)
tools/c7n_gcp/c7n_gcp/resources/storage.py:32
↓ 4 callers
Method
get
(self, schedule_name, group_name='default')
c7n/mu.py:1291
↓ 4 callers
Method
get_arns
(self, resources)
c7n/resources/fis.py:112
↓ 4 callers
Method
get_arns
(self, resources)
c7n/resources/shield.py:201
↓ 4 callers
Method
get_auth_endpoint
(self, endpoint)
tools/c7n_azure/c7n_azure/session.py:391
↓ 4 callers
Method
get_bucket_style
(self, b)
c7n/resources/s3.py:2186
↓ 4 callers
Method
get_checksum
Return the b64 encoded sha256 checksum of the archive.
c7n/mu.py:241
↓ 4 callers
Method
get_context
(self, config=None, session_factory=None, policy=None)
c7n/testing.py:70
↓ 4 callers
Method
get_function_config
(self, policy, queue_name=None)
tools/c7n_azure/c7n_azure/function_package.py:111
↓ 4 callers
Method
get_function_target_subscription_ids
(self)
tools/c7n_azure/c7n_azure/session.py:316
↓ 4 callers
Method
get_function_target_subscription_name
(self)
tools/c7n_azure/c7n_azure/session.py:309
↓ 4 callers
Method
get_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 callers
Function
get_human_size
(size, precision=2)
c7n/utils.py:1050
↓ 4 callers
Method
get_image_map
(self)
c7n/resources/asg.py:149
↓ 4 callers
Method
get_instrumentation_key
(url)
tools/c7n_azure/c7n_azure/utils.py:460
↓ 4 callers
Method
get_method
(self, client, state, policy, resource)
c7n/resources/iam.py:204
↓ 4 callers
Method
get_metric_window
get_metric_window
tools/c7n_tencentcloud/c7n_tencentcloud/filters/metrics.py:93
↓ 4 callers
Function
get_mimetext_message
(config, logger, message, resources, to_addrs)
tools/c7n_mailer/c7n_mailer/utils_email.py:106
↓ 4 callers
Method
get_model
(self)
tools/c7n_tencentcloud/c7n_tencentcloud/query.py:271
↓ 4 callers
Method
get_oci_log_output
(self)
tools/c7n_oci/tests/test_output.py:314
↓ 4 callers
Method
get_permissions
(self)
c7n/resources/ec2.py:1648
↓ 4 callers
Method
get_pg_name
(self, pg)
c7n/resources/rdsparamgroup.py:75
↓ 4 callers
Function
get_portal_ips
()
tools/c7n_azure/tests_azure/tests_resources/test_cosmos_db.py:22
↓ 4 callers
Method
get_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 callers
Method
get_provider
(self)
tools/c7n_left/c7n_left/core.py:284
↓ 4 callers
Method
get_reader
Return a read-only :py:class:`~zipfile.ZipFile`.
c7n/mu.py:257
↓ 4 callers
Method
get_related_ids
(self, resources)
c7n/filters/kms.py:67
↓ 4 callers
Method
get_resource_id
Override to append storage service path to resource ID.
tools/c7n_azure/c7n_azure/resources/storage.py:544
↓ 4 callers
Method
get_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 callers
Method
get_resources
(cls, cmdb, start, end, app, env)
tools/sandbox/zerodark/zerodark/metrics.py:42
↓ 4 callers
Method
get_resources
(self, ids, cache=True)
c7n/resources/ec2.py:67
↓ 4 callers
Method
get_resources
(self, ids, cache=True)
c7n/resources/vpc.py:123
↓ 4 callers
Function
get_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
← previous
next →
601–700 of 11,956, ranked by callers