Skip to content

feat(RAIN-94335): Adding permission for terraform version 0.19.0 #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 135 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ Terraform module for configuring an integration with Lacework and AWS for cloud
<!-- END_TF_DOCS -->

## Lacework Audit Policy
Release for 0.19.0(Feb 2025):
Terraform changes to add a second policy and its attachment under the same role.(This changes is to bypass the 6144 chars limit for one policy)
Add permissions for kinesisvideo, amp, appstream, personalize, codeartifact, fis; Add missing permission for services ses, backup
Add permissions for future services to come: memoryDB, resource groups, qbusiness, qapps, qconnect, servicecatalogappregistry, oam, clouddirectory, optimizationhub, budgets,billingconsole

The Lacework audit policy extends the SecurityAudit policy to facilitate the reading of additional configuration resources.
As of 1/22/2025, we have exceeded the limit of 6144 characters for a single policy, thus every service starting with KINESISVIDEO are in a new policy: lwaudit-policy-${random_id.uniq.hex}-2025-1
The audit policy is comprised of the following permissions:

| sid | actions | resources |
Expand Down Expand Up @@ -144,6 +146,7 @@ The audit policy is comprised of the following permissions:
| | ses:ListRecommendations | |
| | ses:ListSuppressedDestinations | |
| | ses:GetSuppressedDestination | |
| | ses:ListTagsForResource | |
| BACKUP | backup:ListBackupJobs | * |
| | backup:DescribeBackupJob | |
| | backup:ListBackupPlanTemplates | |
Expand All @@ -168,6 +171,7 @@ The audit policy is comprised of the following permissions:
| | backup:ListRecoveryPointsByResource | |
| | backup:ListReportPlans | |
| | backup:ListRestoreJobs | |
| | backup:ListTags | |
| COGNITO-IDP | cognito-idp:GetSigningCertificate | |
| | cognito-idp:GetCSVHeader | |
| | cognito-idp:GetUserPoolMfaConfig | |
Expand Down Expand Up @@ -198,6 +202,7 @@ The audit policy is comprised of the following permissions:
| | aps:DescribeWorkspace | |
| | aps:ListRuleGroupsNamespaces | |
| | aps:DescribeRuleGroupsNamespace | |
| | aps:ListTagsForResource | |
| APPSTREAM | appstream:Describe* | |
| | appstream:List* | |
| PERSONALIZE | personalize:Describe* | |
Expand All @@ -215,11 +220,138 @@ The audit policy is comprised of the following permissions:
| | codeartifact:ListPackageVersionDependencies | |
| | codeartifact:ListPackageVersionAssets | |
| | codeartifact:GetPackageVersionAsset | |
| | codeartifact:ListTagsForResource | |
| FIS | fis:ListActions | * |
| | fis:GetAction | |
| | fis:ListExperimentTemplates | |
| | fis:GetExperimentTemplate | |
| | fis:ListTargetAccountConfigurations | |
| | fis:ListExperiments | |
| | fis:GetExperiment | |
| | fis:ListExperimentResolvedTargets | |
| | fis:ListExperimentResolvedTargets | |
| MEMORYDB | memorydb:DescribeMultiRegionClusters | * |
| | memorydb:DescribeSnapshots | |
| | memorydb:DescribeSubnetGroups | |
| | memorydb:DescribeParameterGroups | |
| | memorydb:DescribeParameters | |
| | memorydb:DescribeUsers | |
| | memorydb:DescribeACLs | |
| | memorydb:DescribeServiceUpdates | |
| | memorydb:DescribeEngineVersions | |
| | memorydb:DescribeReservedNodes | |
| | memorydb:DescribeReservedNodesOfferings | |
| | memorydb:ListTags | |
| | memorydb:ListAllowedNodeTypeUpdates | |
| | memorydb:ListAllowedMultiRegionClusterUpdates | |
| QBUSINESS | qbusiness:GetApplication | * |
| | qbusiness:GetChatControlsConfiguration | |
| | qbusiness:GetPolicy | |
| | qbusiness:ListAttachments | |
| | qbusiness:ListConversations | |
| | qbusiness:ListMessages | |
| | qbusiness:ListDataAccessors | |
| | qbusiness:GetDataAccessor | |
| | qbusiness:GetIndex | |
| | qbusiness:GetDataSource | |
| | qbusiness:GetPlugin | |
| | qbusiness:ListPluginActions | |
| | qbusiness:GetRetriever | |
| | qbusiness:GetWebExperience | |
| | qbusiness:ListPluginTypeMetadata | |
| | qbusiness:ListPluginTypeActions | |
| QAPPS | qapps:DescribeQAppPermissions | * |
| | qapps:GetLibraryItem | |
| | qapps:GetQApp | |
| | qapps:GetQAppSession | |
| | qapps:GetQAppSessionMetadata | |
| | qapps:ListCategories | |
| | qapps:ListLibraryItems | |
| | qapps:ListQAppSessionData | |
| | qapps:ListQApps | |
| | qapps:ListTagsForResource | |
| QCONNECT | wisdom:GetAIAgent | * |
| | wisdom:GetAIGuardrail | |
| | wisdom:GetAIPrompt | |
| | wisdom:GetContent | |
| | wisdom:GetImportJob | |
| | wisdom:GetKnowledgeBase | |
| | wisdom:GetMessageTemplate | |
| | wisdom:GetQuickResponse | |
| | wisdom:ListAIAgentVersions | |
| | wisdom:ListAIAgents | |
| | wisdom:ListAIGuardrailVersions | |
| | wisdom:ListAIGuardrails | |
| | wisdom:ListAIPromptVersions | |
| | wisdom:ListAIPrompts | |
| | wisdom:ListAssistantAssociations | |
| | wisdom:ListAssistants | |
| | wisdom:ListContentAssociations | |
| | wisdom:ListContents | |
| | wisdom:ListImportJobs | |
| | wisdom:ListKnowledgeBases | |
| | wisdom:ListMessageTemplateVersions | |
| | wisdom:ListMessageTemplates | |
| | wisdom:ListQuickResponses | |
| | wisdom:ListTagsForResource | |
| RESOURCEGROUPS | resource-groups:ListGroups | * |
| | resource-groups:GetGroupQuery | |
| | resource-groups:GetGroupConfiguration | |
| SERVICECATALOGAPPREGISTRY | servicecatalog:GetApplication | * |
| | servicecatalog:ListApplications | |
| | servicecatalog:GetAssociatedResource | |
| | servicecatalog:ListAssociatedResources | |
| | servicecatalog:ListAssociatedAttributeGroups | |
| | servicecatalog:GetAttributeGroup | |
| | servicecatalog:ListAttributeGroups | |
| | servicecatalog:ListTagsForResource | |
| | servicecatalog:ListAttributeGroupsForApplication | |
| | servicecatalog:GetConfiguration | |
| OAM | oam:GetLink | * |
| | oam:GetSink | |
| | oam:GetSinkPolicy | |
| | oam:ListAttachedLinks | |
| | oam:ListLinks | |
| | oam:ListSinks | |
| CLOUDDIRECTORY | clouddirectory:GetAppliedSchemaVersion | * |
| | clouddirectory:GetDirectory | |
| | clouddirectory:GetFacet | |
| | clouddirectory:GetLinkAttributes | |
| | clouddirectory:GetObjectAttributes | |
| | clouddirectory:GetObjectInformation | |
| | clouddirectory:GetSchemaAsJson | |
| | clouddirectory:GetTypedLinkFacetInformation | |
| | clouddirectory:ListAppliedSchemaArns | |
| | clouddirectory:ListAttachedIndices | |
| | clouddirectory:ListDevelopmentSchemaArns | |
| | clouddirectory:ListFacetAttributes | |
| | clouddirectory:ListFacetNames | |
| | clouddirectory:ListIncomingTypedLinks | |
| | clouddirectory:ListIndex | |
| | clouddirectory:ListManagedSchemaArns | |
| | clouddirectory:ListObjectAttributes | |
| | clouddirectory:ListObjectChildren | |
| | clouddirectory:ListObjectParentPaths | |
| | clouddirectory:ListObjectParents | |
| | clouddirectory:ListObjectPolicies | |
| | clouddirectory:ListOutgoingTypedLinks | |
| | clouddirectory:ListPolicyAttachments | |
| | clouddirectory:ListPublishedSchemaArns | |
| | clouddirectory:ListTagsForResource | |
| | clouddirectory:ListTypedLinkFacetAttributes | |
| | clouddirectory:ListTypedLinkFacetNames | |
| COSTOPTIMIZATIONHUB | cost-optimization-hub:GetPreferences | * |
| | cost-optimization-hub:GetRecommendation | |
| | cost-optimization-hub:ListEnrollmentStatuses | |
| | cost-optimization-hub:ListRecommendationSummaries | |
| | cost-optimization-hub:ListRecommendations | |
| BUDGETS | budgets:DescribeBudgetAction | * |
| | budgets:DescribeBudgetActionHistories | |
| | budgets:DescribeBudgetActionsForAccount | |
| | budgets:DescribeBudgetActionsForBudget | |
| | budgets:ListTagsForResource | |
| | budgets:ViewBudget | |
| BILLINGCONSOLE | aws-portal:GetConsoleActionSetEnforced | * |
| | aws-portal :ViewAccount | |
| | aws-portal :ViewBilling | |
| | aws-portal :ViewPaymentMethods | |
| | aws-portal :ViewUsage | |
Loading