MCPcopy Create free account

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

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

↓ 15 callersFunctionget_required_permissions_for_endpoint
Get the minimum required permissions for a Graph API endpoint.
tools/c7n_azure/c7n_azure/graph_utils.py:75
↓ 15 callersMethodrun
(self, policy_dir=None, terraform_dir=None, terraform_workspace="default")
tools/c7n_left/tests/test_left.py:115
↓ 14 callersMethod_initialize_session
Creates a session using available authentication type.
tools/c7n_azure/c7n_azure/session.py:196
↓ 14 callersFunctionchomp
This chomp cleans up all white-space, not just at the ends
tools/dev/data_updatearnref.py:115
↓ 14 callersMethodclose
(self)
tests/test_resolver.py:39
↓ 14 callersFunctiongenerate
(resource_types=())
c7n/schema.py:359
↓ 14 callersMethodget_client
get_client
tools/c7n_tencentcloud/c7n_tencentcloud/filters/metrics.py:141
↓ 14 callersMethodget_defined_tag
(self, test_type)
tools/c7n_oci/tests/oci_common.py:18
↓ 14 callersMethodget_filenames
(self, modules=())
tests/test_mu.py:1339
↓ 14 callersMethodget_model
(self)
c7n/filters/core.py:1196
↓ 14 callersMethodget_settings
(storage_type, storage_account, session=None)
tools/c7n_azure/c7n_azure/resources/storage.py:689
↓ 14 callersMethodget_values_from
(self, data, content, cache=None)
tests/test_resolver.py:328
↓ 14 callersMethodget_variables
(self, variables=None)
tools/c7n_left/c7n_left/policy.py:37
↓ 14 callersFunctionload_available
Load available installed providers Unlike load_resources() this will catch ImportErrors on uninstalled providers.
c7n/resources/__init__.py:43
↓ 14 callersMethodmake_graph_request
Override to use beta API for directory settings endpoints.
tools/c7n_azure/c7n_azure/resources/entraid_organization.py:71
↓ 14 callersMethodparse_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 callersMethodprocess
(self, resources, event)
c7n/actions/autotag.py:138
↓ 14 callersMethodresources
(self)
tests/test_policy.py:32
↓ 14 callersMethodselect
return the named subset of policies
tools/c7n_policystream/policystream.py:207
↓ 14 callersMethodset
(self, key, value)
tools/c7n_mailer/c7n_mailer/ldap_lookup.py:202
↓ 14 callersMethodvalidate
(self)
tools/c7n_azure/c7n_azure/actions/tagging.py:58
↓ 14 callersMethodvalidate_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 callersMethod_fetch_instance_validation_data
(self, resource_manager, instance_id)
tools/c7n_oci/tests/test_instance.py:18
↓ 13 callersMethod_prepare_processing
(self)
tools/c7n_azure/c7n_azure/actions/lock.py:74
↓ 13 callersMethodchange_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 callersMethodexecute_command
(self, op, params)
tools/c7n_gcp/tests/test_certificatemanager.py:32
↓ 13 callersMethodfilter_policies
(self, policies)
tools/c7n_left/c7n_left/core.py:199
↓ 13 callersMethodget
(self, resource_manager, identities)
c7n/resources/ecr.py:73
↓ 13 callersFunctionget_annotation_prefix
(s)
c7n/utils.py:930
↓ 13 callersMethodget_client
(self)
c7n/resources/route53.py:1117
↓ 13 callersMethodget_config
(self, func)
tools/c7n_gcp/c7n_gcp/mu.py:434
↓ 13 callersMethodget_model
Returns the resource meta-model.
c7n/manager.py:123
↓ 13 callersFunctionget_partition
(region)
c7n/utils.py:394
↓ 13 callersMethodget_selection
(self, filter_expression)
tools/c7n_left/tests/test_left.py:100
↓ 13 callersMethodget_to_addrs_slack_messages_map
(self, sqs_message)
tools/c7n_mailer/c7n_mailer/slack_delivery.py:29
↓ 13 callersMethodget_tz
(cls, tz)
c7n/filters/offhours.py:503
↓ 13 callersMethodget_validator
(self, data)
tests/test_schema.py:157
↓ 13 callersFunctioninvoke
(func, *args, **kw)
tools/c7n_salactus/c7n_salactus/worker.py:145
↓ 13 callersFunctionis_email
(target)
tools/c7n_mailer/c7n_mailer/utils_email.py:58
↓ 13 callersMethodmerge_annotation
(self, r, annotation_key, values)
c7n/filters/core.py:229
↓ 13 callersMethodrun
(self, event, _)
tools/c7n_kube/c7n_kube/policy.py:193
↓ 13 callersMethodto_csv
(self, records, reverse=True, unique=True)
c7n/reports/csvout.py:217
↓ 12 callersMethod_get_event
(self, evidence, claims)
tools/c7n_azure/tests_azure/test_actions_autotag-user.py:191
↓ 12 callersMethod_server
(self, policies, on_exception="warn", timeout=1)
tools/c7n_kube/tests/test_k8s_server.py:33
↓ 12 callersMethod_setup_mock_session
Helper method to set up mock session for tests
tools/c7n_azure/tests_azure/test_graph_utils.py:224
↓ 12 callersMethod_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 callersFunctionevaluate_result
(action, resources)
tools/c7n_kube/c7n_kube/utils.py:1
↓ 12 callersMethodformat_envelope
(self, r)
c7n/resources/securityhub.py:611
↓ 12 callersMethodget
(client, resource_info)
tools/c7n_gcp/c7n_gcp/resources/compute.py:398
↓ 12 callersMethodget_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 callersMethodmake_batched_graph_request
Make a batched request to Microsoft Graph API.
tools/c7n_azure/c7n_azure/graph_utils.py:187
↓ 12 callersMethodprocess
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:397
↓ 12 callersMethodprocess_policy
(self, policy, resource, matched_key)
c7n/actions/policy.py:18
↓ 12 callersMethodrender
(self)
tools/dev/dockerpkg.py:206
↓ 12 callersMethodresolve
(self, uri, headers)
c7n/resolver.py:40
↓ 12 callersFunctionresolve_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 callersFunctionyaml_dump
(value)
c7n/utils.py:87
↓ 11 callersMethod_get_bucket_details
(self, object_storage)
tools/c7n_oci/tests/test_object_storage.py:12
↓ 11 callersMethodattach
(cls)
tools/c7n_awscc/c7n_awscc/meta.py:15
↓ 11 callersMethodchange
(self, path, content, serialize=True)
tools/c7n_policystream/tests/test_policystream.py:47
↓ 11 callersMethodchange_cwd
(self, work_dir=None)
c7n/testing.py:133
↓ 11 callersMethodclient
(self, client_string, **kwargs)
tools/c7n_oci/c7n_oci/session.py:86
↓ 11 callersMethodclose
Close the zip file. Note underlying tempfile is removed when archive is garbage collected.
c7n/mu.py:224
↓ 11 callersFunctioncoalesce_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 callersMethodcompress
(self)
c7n/output.py:465
↓ 11 callersMethodcreate_log_group
(self)
tools/c7n_oci/c7n_oci/log.py:68
↓ 11 callersFunctiondelta
(account_id)
tools/sandbox/c7n_sphere11/c7n_sphere11/app.py:59
↓ 11 callersMethoddescribe_backups
(self, client, name=None, filters=[])
c7n/resources/fsx.py:636
↓ 11 callersMethodextract_properties
(options, name, properties)
tools/c7n_azure/c7n_azure/policy.py:231
↓ 11 callersMethodfrom_data
(cls, data: dict, options, session_factory=None)
tools/c7n_left/c7n_left/policy.py:28
↓ 11 callersMethodget_output
Run cli.main with the supplied argv and return the output.
tests/test_cli.py:32
↓ 11 callersMethodget_tenant_id
(self)
tools/c7n_azure/c7n_azure/session.py:352
↓ 11 callersMethodget_token
(self, *scopes, **kwargs)
tools/c7n_azure/c7n_azure/session.py:138
↓ 11 callersMethodinitialize_policies
(self, policy_collection, options)
tools/c7n_oci/c7n_oci/provider.py:58
↓ 11 callersMethoditer_blocks
(self, path_parent=None, tf_kind=None, name=None)
tools/c7n_terraform/c7n_terraform/parser.py:201
↓ 11 callersMethodload
(self)
tests/test_resolver.py:36
↓ 11 callersMethodload_directory
(self, directory, validate=True, recurse=True)
c7n/loader.py:176
↓ 11 callersMethodrefresh
(cls, client, resource)
tools/c7n_gcp/c7n_gcp/resources/compute.py:335
↓ 11 callersMethodregister_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 callersMethodremove_tags
(tag_action, resource, tags_to_delete)
tools/c7n_azure/c7n_azure/tags.py:29
↓ 11 callersMethodvalidate
(self)
c7n/policy.py:1245
↓ 11 callersMethodwrite_file
A no-op for the null handler.
c7n/output.py:430
↓ 10 callersMethod__init__
(self, ctx, config)
tools/c7n_left/c7n_left/output.py:408
↓ 10 callersMethod_fetch_bucket_validation_data
(self, resource_manager, namespace_name, bucket_name)
tools/c7n_oci/tests/test_object_storage.py:17
↓ 10 callersMethodexecute_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 callersMethodget
(cls, event_name)
c7n/cwe.py:78
↓ 10 callersMethodget_findings
(self)
tools/c7n_gcp/c7n_gcp/filters/alerts.py:32
↓ 10 callersMethodget_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 callersMethodinitialize
(self, options)
tools/c7n_oci/c7n_oci/provider.py:26
↓ 10 callersFunctionis_resource_group_id
(rid)
tools/c7n_azure/c7n_azure/utils.py:71
↓ 10 callersMethodmatch
(self, i)
c7n/filters/core.py:733
↓ 10 callersMethodprocess
(self, instances)
c7n/resources/ec2.py:1675
↓ 10 callersMethodremove_augments
(self)
tests/test_rdscluster.py:20
↓ 10 callersMethodrender_event_pattern
(self)
c7n/mu.py:1133
↓ 10 callersMethodsave
(self, key, data)
c7n/cache.py:49
↓ 10 callersMethodschema
(values)
tools/c7n_azure/c7n_azure/filters.py:721
↓ 10 callersMethodsend_c7n_email
(self, sqs_message)
tools/c7n_mailer/c7n_mailer/email_delivery.py:228
↓ 10 callersFunctionshould_load_provider
(name, provider_types, no_wild=False)
c7n/resources/__init__.py:31
↓ 10 callersFunctionsnapshot_identifier
Return an identifier for a snapshot of a database or cluster.
c7n/utils.py:421
↓ 10 callersFunctionspecific_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
← previousnext →201–300 of 11,956, ranked by callers