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
↓ 38 callers
Method
copy
(self, **kw)
c7n/config.py:22
↓ 38 callers
Method
iter_filters
(self, block_end=False)
c7n/policy.py:1136
↓ 37 callers
Method
get_values
(self)
c7n/resolver.py:210
↓ 36 callers
Method
equal
(a, b, case_insensitive=True)
tools/c7n_azure/c7n_azure/utils.py:82
↓ 36 callers
Method
execute
(cls, *args, **kw)
tests/test_executor.py:21
↓ 36 callers
Method
get_model
(self)
c7n/resources/apigw.py:54
↓ 36 callers
Method
get_resource
(self, resource_info)
tools/c7n_gcp/c7n_gcp/query.py:183
↓ 36 callers
Method
validate
(self)
tests/test_handler.py:84
↓ 34 callers
Function
get_default_project
()
tools/c7n_gcp/c7n_gcp/client.py:74
↓ 34 callers
Method
get_resource
(self, resource_info)
tools/c7n_oci/c7n_oci/query.py:221
↓ 33 callers
Method
get_credentials
(self)
tools/c7n_azure/c7n_azure/session.py:301
↓ 33 callers
Method
process
(self, resources)
tests/test_policy.py:46
↓ 33 callers
Function
shape_validate
(params, shape_name, service)
c7n/resources/aws.py:160
↓ 32 callers
Method
get_policy
(resource, filters=None, actions=None)
tools/c7n_oci/tests/test_identity.py:467
↓ 32 callers
Method
record_flight_data
(self, test_case, project_id=None)
tools/c7n_gcp/tests/gcp_common.py:99
↓ 32 callers
Method
subscribe
(self, func)
c7n/registry.py:45
↓ 31 callers
Method
parse
(cls, arn)
c7n/resources/aws.py:309
↓ 31 callers
Method
publish
(self, func, alias=None, role=None, s3_uri=None)
c7n/mu.py:400
↓ 29 callers
Method
find
Find returns the file and line number for the policy.
c7n/loader.py:155
↓ 29 callers
Function
parse_date
(datetime_text)
tools/sandbox/c7n_sphere11/c7n_sphere11/admin.py:178
↓ 29 callers
Method
put_metric
(self, key, value, unit, buffer=True, **dimensions)
c7n/output.py:264
↓ 28 callers
Method
execute_query
Call the client method and get the resources. :param action: The name of the action to be performed :param params: dict, que
tools/c7n_tencentcloud/c7n_tencentcloud/client.py:56
↓ 28 callers
Method
is_runnable
(self, event=None)
c7n/policy.py:1209
↓ 27 callers
Method
add_contents
Add file contents to the archive under ``dest``. If ``dest`` is a path, it will be added compressed and world-readable (user-writeabl
c7n/mu.py:212
↓ 27 callers
Method
get_permissions
(self)
tools/c7n_gcp/c7n_gcp/region.py:39
↓ 26 callers
Function
bucket_client
(session, b, kms=False)
c7n/resources/s3.py:655
↓ 26 callers
Method
group
(self, resources)
c7n/filters/core.py:1067
↓ 26 callers
Method
session_factory
(cls)
c7n/policy.py:214
↓ 26 callers
Method
to_dict
(self)
tools/sandbox/zerodark/zerodark/flowrecord.py:128
↓ 26 callers
Method
write_policy
(self, policy, path="policy.json")
tools/c7n_left/tests/test_left.py:107
↓ 25 callers
Method
datetime
(self)
c7n/utils.py:712
↓ 25 callers
Method
get_graph_resources
Get resources from Microsoft Graph API for use with GraphSource.
tools/c7n_azure/c7n_azure/resources/entraid_user.py:81
↓ 25 callers
Method
load_resource_manager
(self)
c7n/policy.py:1401
↓ 25 callers
Method
make_graph_request
Make a request to Microsoft Graph API with minimum required permissions.
tools/c7n_azure/c7n_azure/graph_utils.py:140
↓ 24 callers
Method
get_parent_annotation_key
(cls)
tools/c7n_gcp/c7n_gcp/query.py:488
↓ 24 callers
Method
get_resource_name
(resource_id)
tools/c7n_azure/c7n_azure/utils.py:62
↓ 24 callers
Method
replay_flight_data
(self, name=None)
tools/c7n_kube/tests/common_kube.py:56
↓ 24 callers
Method
run_and_expect_failure
Run cli.main() with supplied argv and expect exit_code.
tests/test_cli.py:59
↓ 23 callers
Method
get_function
(self, events=(), factory=None, **kw)
tools/c7n_gcp/tests/test_mu_gcp.py:27
↓ 23 callers
Function
load_data
(file_name, state=None, **kw)
tests/common.py:140
↓ 23 callers
Method
write_policy_file
Write a policy file to disk in the specified format. Input a dictionary and a format. Valid formats are `yaml` and `json` Returns th
c7n/testing.py:47
↓ 23 callers
Method
write_tf
(self, content, path="main.tf")
tools/c7n_left/tests/test_left.py:103
↓ 22 callers
Method
filter
(self, r)
tools/c7n_org/c7n_org/cli.py:174
↓ 22 callers
Method
get_resource_manager
(self, resource_type, data=None)
tools/c7n_left/c7n_left/core.py:369
↓ 22 callers
Method
instances
(self)
tests/test_filters.py:1335
↓ 21 callers
Method
get
Get resources by identities
c7n/query.py:79
↓ 21 callers
Method
get_resources_by_type
(self, types=())
tools/c7n_left/c7n_left/core.py:421
↓ 21 callers
Method
load_resource
(self, item)
c7n/query.py:361
↓ 21 callers
Function
parse_date
Handle various permutations of a datetime serialization to a datetime with the given timezone. Handles strings, seconds since epoch, and mill
c7n/utils.py:121
↓ 21 callers
Method
validate
(self, data)
c7n/structure.py:24
↓ 20 callers
Method
_query_rules
(self, resource)
tools/c7n_azure/tests_azure/test_firewall_rules_filter.py:167
↓ 20 callers
Function
dumps
(data, fh=None, indent=0)
c7n/utils.py:97
↓ 20 callers
Method
execute_in_parallel
(resources, event, execution_method, executor_factory, log, max_workers=constants.
tools/c7n_azure/c7n_azure/utils.py:167
↓ 20 callers
Method
expand_variables
Expand variables in policy data. Updates the policy data in-place.
c7n/policy.py:1313
↓ 20 callers
Method
flush
(self)
tools/c7n_oci/c7n_oci/log.py:126
↓ 20 callers
Method
get_resource_group
(resource_id)
tools/c7n_azure/c7n_azure/utils.py:44
↓ 20 callers
Method
get_resource_value
(self, resource)
c7n/filters/core.py:953
↓ 20 callers
Method
get_source
(self, source_type)
tools/c7n_oci/c7n_oci/query.py:198
↓ 20 callers
Method
insert
(self, records)
tools/c7n_traildb/c7n_traildb/traildb.py:99
↓ 19 callers
Method
assertJmes
(self, expr, instance, expected)
c7n/testing.py:205
↓ 19 callers
Method
get_defined_tag_value
(self, tag_details)
tools/c7n_oci/tests/oci_common.py:25
↓ 19 callers
Method
get_event
(self, name)
tools/c7n_kube/tests/common_kube.py:50
↓ 19 callers
Method
is_scope
(self, scope, scope_type)
tools/c7n_azure/c7n_azure/resources/access_control.py:372
↓ 19 callers
Method
load_policy
Helper method to load a policy
tools/c7n_azure/tests_azure/tests_resources/test_entraid_simple.py:298
↓ 19 callers
Method
run_and_expect_success
Run cli.main() with supplied argv and expect normal execution.
tests/test_cli.py:44
↓ 19 callers
Method
validate
(self)
tools/c7n_gcp/c7n_gcp/policy.py:83
↓ 18 callers
Method
add
(self, func, existing)
c7n/mu.py:1894
↓ 18 callers
Method
assert_items
(self, result, expected)
tests/test_mu.py:112
↓ 18 callers
Method
filter
Query a set of resources, using us-east-1 for CLOUDFRONT scope.
c7n/resources/waf.py:27
↓ 18 callers
Method
get_resources
(self, ids, cache=True)
c7n/resources/sqs.py:116
↓ 18 callers
Method
setup_run_dir
(self, accounts=None, policies=None)
tools/c7n_org/tests/test_org.py:74
↓ 18 callers
Method
tag_count
(self, resource)
tools/c7n_oci/c7n_oci/actions/base.py:136
↓ 18 callers
Method
wait
(self, duration=15)
tools/c7n_oci/tests/oci_common.py:32
↓ 17 callers
Method
client
client
tools/c7n_tencentcloud/c7n_tencentcloud/client.py:218
↓ 17 callers
Method
create_queue
(self, queue_name)
tools/c7n_azure/c7n_azure/storage_utils.py:49
↓ 17 callers
Function
format_string_values
Format all string values in an object. Return the updated object
c7n/utils.py:592
↓ 17 callers
Method
get_tag_value
Get the resource's tag value.
tools/c7n_azure/c7n_azure/tags.py:71
↓ 17 callers
Method
load_data
(self, policy_data, file_uri, validate=None, session_factory=None, config=None)
c7n/loader.py:112
↓ 17 callers
Function
run_policy
(policy, terraform_dir, tmp_path)
tools/c7n_left/tests/test_left.py:72
↓ 17 callers
Method
start
(self, flight_data)
tests/test_rds.py:2021
↓ 17 callers
Method
title
(self)
tools/c7n_left/c7n_left/core.py:96
↓ 16 callers
Method
_get_instance_details
(self, instance)
tools/c7n_oci/tests/test_instance.py:14
↓ 16 callers
Method
_process_resource
(self, resource)
tools/c7n_azure/tests_azure/test_base_action.py:108
↓ 16 callers
Function
assumed_session
STS Role assume a boto3.Session With automatic credential renewal. Args: role_arn: iam role arn to assume session_name: client s
c7n/credentials.py:113
↓ 16 callers
Function
filter_empty
(d)
c7n/utils.py:108
↓ 16 callers
Method
format_resource
(self, r)
c7n/resources/iam.py:2458
↓ 16 callers
Method
get_events
(self, session_factory)
c7n/mu.py:962
↓ 16 callers
Function
get_ip_rules
(ip_str)
tools/c7n_azure/tests_azure/tests_resources/test_cosmos_db.py:32
↓ 16 callers
Method
replay_flight_data
(self, name=None)
tools/c7n_openstack/tests/common_openstack.py:41
↓ 16 callers
Method
subsegment
Create a named subsegment as a context manager
c7n/output.py:98
↓ 15 callers
Method
add_tags
(tag_action, resource, tags_to_add)
tools/c7n_azure/c7n_azure/tags.py:47
↓ 15 callers
Method
augment
(self, jobs)
c7n/resources/sagemaker.py:80
↓ 15 callers
Method
close
(self)
tools/c7n_oci/c7n_oci/log.py:129
↓ 15 callers
Method
commit
(self, msg, author=None, email=None)
tools/c7n_policystream/tests/test_policystream.py:73
↓ 15 callers
Method
execute_paged_query
Call the client method and get the resource, the paging query is automatically filled.
tools/c7n_tencentcloud/c7n_tencentcloud/client.py:69
↓ 15 callers
Method
fetch_validation_data
(self, resource_manager, operation, resource_id)
tools/c7n_oci/tests/oci_common.py:36
↓ 15 callers
Method
get_mock_blob
(name, md5)
tools/c7n_azure/tests_azure/tests_resources/test_container_host.py:630
↓ 15 callers
Method
get_model
(self)
tools/c7n_kube/c7n_kube/query.py:86
↓ 15 callers
Function
get_policy
(actions=None, filters=None)
tools/c7n_gcp/tests/test_gcp_labels.py:8
↓ 15 callers
Function
get_region
Tries to get the bucket region from Location.LocationConstraint Special cases: LocationConstraint EU defaults to eu-west-1 Locati
c7n/resources/s3.py:710
← previous
next →
101–200 of 11,956, ranked by callers