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
↓ 15 callers
Function
get_required_permissions_for_endpoint
Get the minimum required permissions for a Graph API endpoint.
tools/c7n_azure/c7n_azure/graph_utils.py:75
↓ 15 callers
Method
run
(self, policy_dir=None, terraform_dir=None, terraform_workspace="default")
tools/c7n_left/tests/test_left.py:115
↓ 14 callers
Method
_initialize_session
Creates a session using available authentication type.
tools/c7n_azure/c7n_azure/session.py:196
↓ 14 callers
Function
chomp
This chomp cleans up all white-space, not just at the ends
tools/dev/data_updatearnref.py:115
↓ 14 callers
Method
close
(self)
tests/test_resolver.py:39
↓ 14 callers
Function
generate
(resource_types=())
c7n/schema.py:359
↓ 14 callers
Method
get_client
get_client
tools/c7n_tencentcloud/c7n_tencentcloud/filters/metrics.py:141
↓ 14 callers
Method
get_defined_tag
(self, test_type)
tools/c7n_oci/tests/oci_common.py:18
↓ 14 callers
Method
get_filenames
(self, modules=())
tests/test_mu.py:1339
↓ 14 callers
Method
get_model
(self)
c7n/filters/core.py:1196
↓ 14 callers
Method
get_settings
(storage_type, storage_account, session=None)
tools/c7n_azure/c7n_azure/resources/storage.py:689
↓ 14 callers
Method
get_values_from
(self, data, content, cache=None)
tests/test_resolver.py:328
↓ 14 callers
Method
get_variables
(self, variables=None)
tools/c7n_left/c7n_left/policy.py:37
↓ 14 callers
Function
load_available
Load available installed providers Unlike load_resources() this will catch ImportErrors on uninstalled providers.
c7n/resources/__init__.py:43
↓ 14 callers
Method
make_graph_request
Override to use beta API for directory settings endpoints.
tools/c7n_azure/c7n_azure/resources/entraid_organization.py:71
↓ 14 callers
Method
parse_ip_ranges
Parses IP range or CIDR mask. :param data: Dictionary where to look for the value. :param key: Key for the value to be parse
tools/c7n_azure/c7n_azure/utils.py:432
↓ 14 callers
Method
process
(self, resources, event)
c7n/actions/autotag.py:138
↓ 14 callers
Method
resources
(self)
tests/test_policy.py:32
↓ 14 callers
Method
select
return the named subset of policies
tools/c7n_policystream/policystream.py:207
↓ 14 callers
Method
set
(self, key, value)
tools/c7n_mailer/c7n_mailer/ldap_lookup.py:202
↓ 14 callers
Method
validate
(self)
tools/c7n_azure/c7n_azure/actions/tagging.py:58
↓ 14 callers
Method
validate_ports_string
Validate that provided string has proper port numbers: 1. port number < 65535 2. range start < range end
tools/c7n_azure/c7n_azure/utils.py:326
↓ 13 callers
Method
_fetch_instance_validation_data
(self, resource_manager, instance_id)
tools/c7n_oci/tests/test_instance.py:18
↓ 13 callers
Method
_prepare_processing
(self)
tools/c7n_azure/c7n_azure/actions/lock.py:74
↓ 13 callers
Method
change_environment
Change the environment to the given set of variables. To clear an environment variable set it to None. Existing environment restored
c7n/testing.py:147
↓ 13 callers
Method
execute_command
(self, op, params)
tools/c7n_gcp/tests/test_certificatemanager.py:32
↓ 13 callers
Method
filter_policies
(self, policies)
tools/c7n_left/c7n_left/core.py:199
↓ 13 callers
Method
get
(self, resource_manager, identities)
c7n/resources/ecr.py:73
↓ 13 callers
Function
get_annotation_prefix
(s)
c7n/utils.py:930
↓ 13 callers
Method
get_client
(self)
c7n/resources/route53.py:1117
↓ 13 callers
Method
get_config
(self, func)
tools/c7n_gcp/c7n_gcp/mu.py:434
↓ 13 callers
Method
get_model
Returns the resource meta-model.
c7n/manager.py:123
↓ 13 callers
Function
get_partition
(region)
c7n/utils.py:394
↓ 13 callers
Method
get_selection
(self, filter_expression)
tools/c7n_left/tests/test_left.py:100
↓ 13 callers
Method
get_to_addrs_slack_messages_map
(self, sqs_message)
tools/c7n_mailer/c7n_mailer/slack_delivery.py:29
↓ 13 callers
Method
get_tz
(cls, tz)
c7n/filters/offhours.py:503
↓ 13 callers
Method
get_validator
(self, data)
tests/test_schema.py:157
↓ 13 callers
Function
invoke
(func, *args, **kw)
tools/c7n_salactus/c7n_salactus/worker.py:145
↓ 13 callers
Function
is_email
(target)
tools/c7n_mailer/c7n_mailer/utils_email.py:58
↓ 13 callers
Method
merge_annotation
(self, r, annotation_key, values)
c7n/filters/core.py:229
↓ 13 callers
Method
run
(self, event, _)
tools/c7n_kube/c7n_kube/policy.py:193
↓ 13 callers
Method
to_csv
(self, records, reverse=True, unique=True)
c7n/reports/csvout.py:217
↓ 12 callers
Method
_get_event
(self, evidence, claims)
tools/c7n_azure/tests_azure/test_actions_autotag-user.py:191
↓ 12 callers
Method
_server
(self, policies, on_exception="warn", timeout=1)
tools/c7n_kube/tests/test_k8s_server.py:33
↓ 12 callers
Method
_setup_mock_session
Helper method to set up mock session for tests
tools/c7n_azure/tests_azure/test_graph_utils.py:224
↓ 12 callers
Method
_test_event
(self, event, expected_tag_value, update_resource_tags, default_claim='upn')
tools/c7n_azure/tests_azure/test_actions_autotag-user.py:204
↓ 12 callers
Function
evaluate_result
(action, resources)
tools/c7n_kube/c7n_kube/utils.py:1
↓ 12 callers
Method
format_envelope
(self, r)
c7n/resources/securityhub.py:611
↓ 12 callers
Method
get
(client, resource_info)
tools/c7n_gcp/c7n_gcp/resources/compute.py:398
↓ 12 callers
Method
get_accounts
add in elb access by default ELB Accounts by region https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-lo
c7n/resources/s3.py:760
↓ 12 callers
Method
make_batched_graph_request
Make a batched request to Microsoft Graph API.
tools/c7n_azure/c7n_azure/graph_utils.py:187
↓ 12 callers
Method
process
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:397
↓ 12 callers
Method
process_policy
(self, policy, resource, matched_key)
c7n/actions/policy.py:18
↓ 12 callers
Method
render
(self)
tools/dev/dockerpkg.py:206
↓ 12 callers
Method
resolve
(self, uri, headers)
c7n/resolver.py:40
↓ 12 callers
Function
resolve_azure_blob
Resolve an azure:// URI to blob content. Args: uri: Azure blob URI in format azure://account.blob.core.windows.net/container/blob
tools/c7n_azure/c7n_azure/resolver.py:14
↓ 12 callers
Function
yaml_dump
(value)
c7n/utils.py:87
↓ 11 callers
Method
_get_bucket_details
(self, object_storage)
tools/c7n_oci/tests/test_object_storage.py:12
↓ 11 callers
Method
attach
(cls)
tools/c7n_awscc/c7n_awscc/meta.py:15
↓ 11 callers
Method
change
(self, path, content, serialize=True)
tools/c7n_policystream/tests/test_policystream.py:47
↓ 11 callers
Method
change_cwd
(self, work_dir=None)
c7n/testing.py:133
↓ 11 callers
Method
client
(self, client_string, **kwargs)
tools/c7n_oci/c7n_oci/session.py:86
↓ 11 callers
Method
close
Close the zip file. Note underlying tempfile is removed when archive is garbage collected.
c7n/mu.py:224
↓ 11 callers
Function
coalesce_copy_user_tags
Returns a list of tags from resource and user supplied in the format: [{'Key': 'key', 'Value': 'value'}] Due to drift on implementation
c7n/tags.py:1303
↓ 11 callers
Method
compress
(self)
c7n/output.py:465
↓ 11 callers
Method
create_log_group
(self)
tools/c7n_oci/c7n_oci/log.py:68
↓ 11 callers
Function
delta
(account_id)
tools/sandbox/c7n_sphere11/c7n_sphere11/app.py:59
↓ 11 callers
Method
describe_backups
(self, client, name=None, filters=[])
c7n/resources/fsx.py:636
↓ 11 callers
Method
extract_properties
(options, name, properties)
tools/c7n_azure/c7n_azure/policy.py:231
↓ 11 callers
Method
from_data
(cls, data: dict, options, session_factory=None)
tools/c7n_left/c7n_left/policy.py:28
↓ 11 callers
Method
get_output
Run cli.main with the supplied argv and return the output.
tests/test_cli.py:32
↓ 11 callers
Method
get_tenant_id
(self)
tools/c7n_azure/c7n_azure/session.py:352
↓ 11 callers
Method
get_token
(self, *scopes, **kwargs)
tools/c7n_azure/c7n_azure/session.py:138
↓ 11 callers
Method
initialize_policies
(self, policy_collection, options)
tools/c7n_oci/c7n_oci/provider.py:58
↓ 11 callers
Method
iter_blocks
(self, path_parent=None, tf_kind=None, name=None)
tools/c7n_terraform/c7n_terraform/parser.py:201
↓ 11 callers
Method
load
(self)
tests/test_resolver.py:36
↓ 11 callers
Method
load_directory
(self, directory, validate=True, recurse=True)
c7n/loader.py:176
↓ 11 callers
Method
refresh
(cls, client, resource)
tools/c7n_gcp/c7n_gcp/resources/compute.py:335
↓ 11 callers
Method
register_provider
Register a URI scheme handler. Args: scheme: The URI scheme (e.g., 'azure', 's3') without '://' handler: A callable t
c7n/resolver.py:31
↓ 11 callers
Method
remove_tags
(tag_action, resource, tags_to_delete)
tools/c7n_azure/c7n_azure/tags.py:29
↓ 11 callers
Method
validate
(self)
c7n/policy.py:1245
↓ 11 callers
Method
write_file
A no-op for the null handler.
c7n/output.py:430
↓ 10 callers
Method
__init__
(self, ctx, config)
tools/c7n_left/c7n_left/output.py:408
↓ 10 callers
Method
_fetch_bucket_validation_data
(self, resource_manager, namespace_name, bucket_name)
tools/c7n_oci/tests/test_object_storage.py:17
↓ 10 callers
Method
execute_paged_query
Executes query (ex. list) via a dedicated http object. Args: verb (str): Method to execute on the component (ex. get, list).
tools/c7n_gcp/c7n_gcp/client.py:441
↓ 10 callers
Method
get
(cls, event_name)
c7n/cwe.py:78
↓ 10 callers
Method
get_findings
(self)
tools/c7n_gcp/c7n_gcp/filters/alerts.py:32
↓ 10 callers
Method
get_groups
Return lists of security groups to set on each resource For each input resource, parse the various add/remove/isolation- group/add-by
c7n/actions/network.py:232
↓ 10 callers
Method
initialize
(self, options)
tools/c7n_oci/c7n_oci/provider.py:26
↓ 10 callers
Function
is_resource_group_id
(rid)
tools/c7n_azure/c7n_azure/utils.py:71
↓ 10 callers
Method
match
(self, i)
c7n/filters/core.py:733
↓ 10 callers
Method
process
(self, instances)
c7n/resources/ec2.py:1675
↓ 10 callers
Method
remove_augments
(self)
tests/test_rdscluster.py:20
↓ 10 callers
Method
render_event_pattern
(self)
c7n/mu.py:1133
↓ 10 callers
Method
save
(self, key, data)
c7n/cache.py:49
↓ 10 callers
Method
schema
(values)
tools/c7n_azure/c7n_azure/filters.py:721
↓ 10 callers
Method
send_c7n_email
(self, sqs_message)
tools/c7n_mailer/c7n_mailer/email_delivery.py:228
↓ 10 callers
Function
should_load_provider
(name, provider_types, no_wild=False)
c7n/resources/__init__.py:31
↓ 10 callers
Function
snapshot_identifier
Return an identifier for a snapshot of a database or cluster.
c7n/utils.py:421
↓ 10 callers
Function
specific_error
Try to find the best error for humans to resolve The jsonschema.exceptions.best_match error is based purely on a mix of a strong match (ie. n
c7n/schema.py:114
← previous
next →
201–300 of 11,956, ranked by callers