Skip to content

Add a "resync" endpoint to pull in existing tags#19

Open
isaac-ped wants to merge 1 commit into
kpolley:mainfrom
isaac-ped:iped/update-with-existing-tags
Open

Add a "resync" endpoint to pull in existing tags#19
isaac-ped wants to merge 1 commit into
kpolley:mainfrom
isaac-ped:iped/update-with-existing-tags

Conversation

@isaac-ped

Copy link
Copy Markdown

When you ping api/resync, it runs a scan of all columns that don't have an existing policy tag, checks if they match, and marks them "appropriately" in the database.

Right now it's marking all columns that it couldn't tag as benign - might want it to mark them as "unknown" rather than explcitly having them be benign.

Also, may want a UI for this endpoint rather than having to hit it manually, but it is serving our purposes for the moment!

Code's not necessarily great, but it does work -- happy to change whatever

When you ping api/resync, it runs a scan of all columns that don't have
an existing policy tag, checks if they match, and marks them "appropriately"
in the database.

Right now it's marking all columns that it _couldn't_ tag as benign -
might want it to mark them as "unknown" rather than explcitly having
them be benign.

Also, may want a UI for this endpoint rather than having to hit it
manually, but it is serving our purposes for the moment!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant