That assumes that there are no legitimate reasons for weapons or surveillance technology to exist - and what counts as a weapons or "surveillance technology"? (e.g. are average speed cameras "surveillance technology")
As a bit of background I actually failed an interview once when I was asked about my views on nuclear weapons and I replied (this was the late 80s) "they are a necessary evil". Quite what an acceptable answer would have been escapes me...
What if you're working on a compiler you know is used for compiling code that ends up in surveillance technology? Standards work or implementation on image compression that are used in surveillance cameras? It can get grey very quickly.
summary: I don't think you mean that for normal definitions of surveillance, and if you do you're in a pretty small group.
See, the thing is, common sense helps with this. Trying to relativise everything does not take a way the need to make moral decisions.
I think it should be extended to all computer scientists not just programmers (or maybe even all of science). Some things in the oath should be a lot more explicit and more strict in my opinion. For example creating or helping create weapons or surveillance technology should be strictly forbidden.