The White House is "denying" it, but only in the most "we actually did it" way possible. McMasters was very specific in what he denied (saying that Trump didn't reveal sources or methods), and Trump tweeted this morning that he "has the right" to do this thing that he supposedly didn't do.
On The Media did a great piece this week about what "The White House" means anymore in regards to sourcing a story. Their position is that it's absolutely meaningless, because Trump (a) doesn't have any real policy positions, and (b) intentionally gives staffers bad information in order to maintain his status as the only one who really knows anything. Hence, constant contradiction from the President about almost everything his people say. OTM's argument was that stories should no longer be sources as being from "The White House" but rather only specific individuals.
Yeah I think that's a reasonable interpretation. He also likes to have people available to scapegoat when things go wrong.
The White House denied it, only for Trump to confirm it (and attempt to defend what he did) on Twitter.