Skip to content

Commit

Permalink
rm securitycenter references
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-murphy committed Sep 26, 2023
1 parent c3b512e commit d0945af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion terraform/google-scheduled-function/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ terraform destroy -var-file terraform.tfvars
| function\_name | The name to apply to the function. Will default to a string of `censys-cloud-connector-function-XXXX` with `XXXX` being random characters. | `string` | `""` | no |
| function\_source\_dir | The directory containing the source code for the function. | `string` | `"function_source"` | no |
| function\_timeout\_s | The amount of time in seconds allotted for the execution of the function. (Can be up to 540 seconds) | `number` | `540` | no |
| gcp\_service\_list | The list of apis necessary for the project | `list(string)` | <pre>[<br> "cloudbuild.googleapis.com",<br> "cloudfunctions.googleapis.com",<br> "cloudresourcemanager.googleapis.com",<br> "cloudscheduler.googleapis.com",<br> "pubsub.googleapis.com",<br> "secretmanager.googleapis.com",<br> "securitycenter.googleapis.com"<br>]</pre> | no |
| gcp\_service\_list | The list of apis necessary for the project | `list(string)` | <pre>[<br> "cloudbuild.googleapis.com",<br> "cloudfunctions.googleapis.com",<br> "cloudresourcemanager.googleapis.com",<br> "cloudscheduler.googleapis.com",<br> "pubsub.googleapis.com",<br> "secretmanager.googleapis.com",<br> "cloudasset.googleapis.com"<br>]</pre> | no |
| job\_description | Addition text to describe the job | `string` | `"Scheduled time to run the Censys Cloud Connector function"` | no |
| job\_name | The name of the scheduled job to run | `string` | `"censys-cloud-connector-job"` | no |
| job\_schedule | The cron schedule for triggering the cloud function | `string` | `"0 */4 * * *"` | no |
Expand Down
2 changes: 1 addition & 1 deletion terraform/google-scheduled-function/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "gcp_service_list" {
"cloudscheduler.googleapis.com",
"pubsub.googleapis.com",
"secretmanager.googleapis.com",
"securitycenter.googleapis.com"
"cloudasset.googleapis.com"
]
}

Expand Down
6 changes: 3 additions & 3 deletions tests/test_gcp_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class TestEnums(TestCase):
),
(
GcloudCommands.ENABLE_SERVICES,
"gcloud services enable securitycenter.googleapis.com",
{"service": "securitycenter.googleapis.com"},
"gcloud services enable cloudasset.googleapis.com",
{"service": "cloudasset.googleapis.com"},
),
(
GcloudCommands.LIST_PROJECTS,
Expand Down Expand Up @@ -248,7 +248,7 @@ def test_gcp_roles(
),
]
)
def test_gcp_security_center_resource_types(
def test_gcp_cloud_asset_inventory_resource_types(
self,
enum_resource_type: GcpCloudAssetInventoryTypes,
expected_filter: str,
Expand Down

0 comments on commit d0945af

Please sign in to comment.