MCPcopy Create free account

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

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

↓ 3 callersFunctionis_quicksight_account_missing
Helper to ccheck if QuickSight account is missing or inaccessible. This function checks if the error is due to a missing QuickSight account,
c7n/resources/quicksight.py:187
↓ 3 callersFunctionis_ssl
(b)
c7n/resources/elb.py:408
↓ 3 callersMethodis_taggable
(cls, resources)
tools/c7n_left/c7n_left/providers/terraform/filters.py:29
↓ 3 callersFunctioniter_filters
(filters, block_end=False)
c7n/manager.py:20
↓ 3 callersMethodload_policy_set
(self, data, config=None)
c7n/testing.py:120
↓ 3 callersFunctionload_providers
(provider_types)
c7n/resources/__init__.py:62
↓ 3 callersMethodload_session_policy_from_file
(session_pol_file_name)
c7n/commands.py:590
↓ 3 callersMethodmatch
(self, i)
tools/c7n_tencentcloud/c7n_tencentcloud/resources/security_group.py:230
↓ 3 callersMethodmax
(numbers)
tools/c7n_azure/c7n_azure/utils.py:213
↓ 3 callersMethodmin
(numbers)
tools/c7n_azure/c7n_azure/utils.py:218
↓ 3 callersMethodname
For a filter or action return its name.
c7n/schema.py:626
↓ 3 callersMethodnotify
(self, key=None)
c7n/registry.py:74
↓ 3 callersFunctionoutput
(result)
tools/sandbox/c7n_sphere11/c7n_sphere11/cli.py:84
↓ 3 callersFunctionpage_strip
Remove bits in content results to minimize memory utilization. TODO: evolve this to a key filter on metadata, like date
tools/c7n_salactus/c7n_salactus/worker.py:217
↓ 3 callersMethodpatch_account_id
(self)
tests/test_cli.py:25
↓ 3 callersMethodpatch_resources_replicas
(self, client, resources, patch)
tools/c7n_kube/c7n_kube/actions/core.py:89
↓ 3 callersFunctionplacebo_dir
(name)
tests/common.py:127
↓ 3 callersMethodpoll
Query resources and apply policy.
c7n/policy.py:1354
↓ 3 callersFunctionpoll_for_state
Poll a policy until resources reach expected state(s). Args: policy: Cloud Custodian policy to run expected_states: List of accep
tools/c7n_gcp/tests/test_vertexai.py:49
↓ 3 callersMethodpoll_queue
Poll the Azure queue and loop until there are no visible messages remaining.
tools/c7n_azure/c7n_azure/container_host/host.py:312
↓ 3 callersMethodprocess
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:433
↓ 3 callersMethodprocess
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:518
↓ 3 callersMethodprocess
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:599
↓ 3 callersMethodprocess
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:680
↓ 3 callersMethodprocess
(self, resources, event)
tools/c7n_oci/c7n_oci/resources/identity.py:761
↓ 3 callersMethodprocess
(self, resources, event=None)
tools/c7n_azure/c7n_azure/resources/storage.py:803
↓ 3 callersMethodprocess
(self, resources, event=None)
c7n/resources/appmesh.py:471
↓ 3 callersMethodprocess
(self, resources)
c7n/resources/iam.py:347
↓ 3 callersMethodprocess
(self, resources)
c7n/resources/org.py:332
↓ 3 callersMethodprocess
(self, resources, event=None)
c7n/resources/cloudtrail.py:69
↓ 3 callersMethodprocess
(self, resources, event=None)
c7n/resources/workspaces.py:551
↓ 3 callersMethodprocess_message
(self, encoded_gcp_pubsub_message, publish_date)
tools/c7n_mailer/c7n_mailer/gcp_mailer/gcp_queue_processor.py:61
↓ 3 callersMethodprocess_resource
(self, target, key, tags, snapshot)
c7n/resources/rds.py:1497
↓ 3 callersMethodprocess_resource
(self, r, resource_sgs, resource_subnets, key)
c7n/filters/vpc.py:317
↓ 3 callersMethodprocess_resource_set
(self, client, model, resources)
tools/c7n_gcp/c7n_gcp/resources/compute.py:240
↓ 3 callersMethodprocess_user_record
Type convert the csv record, modifies in place.
c7n/resources/iam.py:1877
↓ 3 callersMethodpublish
(self, func, alias=None, role=None, s3_uri=None)
tests/test_policy.py:1974
↓ 3 callersMethodput_segment
(self, segment)
c7n/resources/aws.py:551
↓ 3 callersMethodput_subsegment
(self, subsegment)
c7n/resources/aws.py:556
↓ 3 callersFunctionquery_instances
Return a list of ec2 instances for the query.
c7n/utils.py:309
↓ 3 callersMethodregister_graph_specific
Register Graph-specific filters and actions for Graph resource managers.
tools/c7n_azure/c7n_azure/graph_utils.py:230
↓ 3 callersMethodremove_permissions
(self, func, remove_permission)
c7n/mu.py:1039
↓ 3 callersMethodremove_snapshot
(rid, resource_set)
c7n/resources/ebs.py:98
↓ 3 callersFunctionremove_statements
(match_ids, statements, matched=())
c7n/actions/policy.py:26
↓ 3 callersMethodremove_statements
(self, policy_statements, resource, matched_key)
c7n/actions/policy.py:111
↓ 3 callersMethodremove_volume
(rid, resource_set)
c7n/resources/ebs.py:136
↓ 3 callersFunctionrender_function_properties
(p, policy_lambda)
tools/ops/policylambda.py:37
↓ 3 callersFunctionrender_metrics
(header, values)
tools/sandbox/c7n_sphere11/c7n_sphere11/admin.py:34
↓ 3 callersMethodreplay_flight_data
The `region` argument is to allow functional tests to override the default region. It is unused when replaying stored data.
tools/c7n_awscc/tests/zpill.py:335
↓ 3 callersMethodresolve
(self)
tools/c7n_terraform/c7n_terraform/parser.py:34
↓ 3 callersMethodresolve
(self, uri, headers)
tests/test_resolver.py:56
↓ 3 callersMethodresolve_findings
(self, findings)
c7n/resources/securityhub.py:175
↓ 3 callersMethodresolve_group_names
Resolve any security group names to the corresponding group ids With the context of a given network attached resource.
c7n/actions/network.py:184
↓ 3 callersFunctionresource_vocabulary
(cloud_name=None, qualify_name=True, aliases=True)
c7n/schema.py:529
↓ 3 callersMethodresources
(self)
tools/c7n_azure/c7n_azure/resources/subscription.py:67
↓ 3 callersMethodresources
(self, resource_ids=())
tools/c7n_gcp/c7n_gcp/region.py:49
↓ 3 callersMethodresources
(self, query=None)
tools/c7n_gcp/c7n_gcp/resources/dataflow.py:39
↓ 3 callersMethodresources
(self)
c7n/resources/apigw.py:69
↓ 3 callersMethodresources
(self, query=None)
c7n/resources/ami.py:69
↓ 3 callersMethodresources
(self, query=None)
c7n/resources/org.py:80
↓ 3 callersMethodretrieve_user_im
(self, email_addresses)
tools/c7n_mailer/c7n_mailer/slack_delivery.py:153
↓ 3 callersMethodrun
(self, dry_run=False, print_only=False)
tools/c7n_mailer/c7n_mailer/replay.py:58
↓ 3 callersMethodrun_and_expect_exception
Run cli.main() with supplied argv and expect supplied exception.
tests/test_cli.py:70
↓ 3 callersMethodrun_policies_for_event
Find all policies subscribed to this event type and schedule them for immediate execution.
tools/c7n_azure/c7n_azure/container_host/host.py:358
↓ 3 callersFunctionsanitize_project_name
(dirty_str)
tools/c7n_gcp/tests/recorder.py:16
↓ 3 callersMethodsave
(self, record)
tools/sandbox/c7n_sphere11/c7n_sphere11/db.py:33
↓ 3 callersMethodsave_response
Override to sanitize response metadata and account_ids
tests/zpill.py:251
↓ 3 callersMethodsend_to_azure_queue
(self, queue_uri, message, session)
tools/c7n_azure/c7n_azure/actions/notify.py:100
↓ 3 callersMethodset_retention_window
(self, resource, retention, copy_tags)
c7n/resources/rds.py:940
↓ 3 callersMethodset_retention_window
(self, client, cluster, retention)
c7n/resources/rdscluster.py:252
↓ 3 callersMethodslack_handler
(self, sqs_message, slack_messages)
tools/c7n_mailer/c7n_mailer/slack_delivery.py:137
↓ 3 callersFunctionsnap_to_period_start
Adjust the start and end timestamps according to `period_start`. Args: start (datetime): The original start datetime. end (d
c7n/utils.py:1220
↓ 3 callersFunctionsort_pep508_deps
Sort dependencies by PEP 508 name.
tools/dev/dependency-sort.py:13
↓ 3 callersMethodstop
(self)
tools/c7n_awscc/tests/zpill.py:135
↓ 3 callersFunctionstrip_output_path
Remove the date portion from an object storage output path. This effectively removes any trailing path segments that follow the last occurrenc
c7n/reports/csvout.py:51
↓ 3 callersMethodtag_operation_enabled
(self, resource_type)
tools/c7n_azure/c7n_azure/resources/arm.py:58
↓ 3 callersFunctiontrim_runtime
Remove runtime filters. Some filters can only be effectively evaluated at policy execution, ie. event filters. When evaluating condition
c7n/filters/core.py:175
↓ 3 callersMethodtype_check
(cls, vtype, value)
c7n/utils.py:915
↓ 3 callersMethodunescape_tag_restrictions
(cls, value: str)
c7n/filters/offhours.py:497
↓ 3 callersMethodupdate_schedule
(self, schedule)
c7n/mu.py:1382
↓ 3 callersMethodvalidate
Validate the current configuration to ensure it meets requirements: - new_sku must be in VALID_SKUS - retries and delay must
tools/c7n_azure/c7n_azure/resources/disk.py:200
↓ 3 callersMethodvalidate_policy_start_stop
(self)
c7n/policy.py:1405
↓ 3 callersMethodvisit
(self, block)
tools/c7n_left/c7n_left/providers/terraform/graph.py:98
↓ 3 callersMethodvisit
(self)
tools/c7n_terraform/c7n_terraform/parser.py:211
↓ 2 callersMethod__call__
(self, resource)
tools/c7n_azure/c7n_azure/resources/sqlserver.py:484
↓ 2 callersMethod__call__
(self, i)
tools/c7n_azure/c7n_azure/resources/vm.py:171
↓ 2 callersMethod__call__
(self, r)
c7n/resources/account.py:1719
↓ 2 callersMethod__call__
(self, r)
c7n/resources/workspaces.py:639
↓ 2 callersMethod__init__
(self, ctx)
tools/ops/azure/container-host/chart/deploy_chart.py:28
↓ 2 callersMethod__init__
(self, data, manager=None)
tools/c7n_azure/c7n_azure/resources/entraid_named_locations.py:194
↓ 2 callersMethod__init__
(self, config)
c7n/cache.py:40
↓ 2 callersMethod__init__
(self, *args, **kw)
c7n/resources/iam.py:2341
↓ 2 callersMethod__init__
(self, manager)
c7n/resources/asg.py:74
↓ 2 callersMethod__new__
(cls, name, parents, attrs)
tools/c7n_oci/c7n_oci/query.py:180
↓ 2 callersFunction_account
(arn)
c7n/filters/iamaccess.py:40
↓ 2 callersMethod_add_annotations
(self, related_ids, resource)
c7n/filters/related.py:107
↓ 2 callersMethod_add_annotations
(self, related_ids, resource)
c7n/filters/related.py:200
↓ 2 callersMethod_add_bindings
Converts the provided lists using `_get_roles_to_bindings_dict`, then iterates through them so that the returned list combines:
tools/c7n_gcp/c7n_gcp/actions/iampolicy.py:165
↓ 2 callersMethod_assert_equal_resource_ids
(self, id1, id2)
tools/c7n_azure/tests_azure/test_storage_firewall_actions.py:218
↓ 2 callersMethod_assess_vm_state
Evaluates the provisioning and power state of the VM. Determines whether disk updates can proceed.
tools/c7n_azure/c7n_azure/resources/disk.py:405
← previousnext →901–1,000 of 11,956, ranked by callers