Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
anonymise.go 294 B
package awslambda

import (
	"context"
	"database/sql"

	"dmd.tanna.dev/internal/datasources/awslambda/db"
)

func (*AWSLambda) AnonymiseData(ctx context.Context, sqlDB *sql.DB, orgs []string) (err error) {
	lambdaDB := db.New(sqlDB)
	err = lambdaDB.AnonymiseLambdaFunctions(ctx)
	return err
}