Is there a way to query Visualforce pages that have “Require CSRF protection on GET requests” set to false?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I'm working with an org that has hundreds of Visualforce pages, I've been manually checking this setting so far. Is there a better time-saving way to query visualforce pages that have this setting set to false?










share|improve this question



























    up vote
    1
    down vote

    favorite












    I'm working with an org that has hundreds of Visualforce pages, I've been manually checking this setting so far. Is there a better time-saving way to query visualforce pages that have this setting set to false?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm working with an org that has hundreds of Visualforce pages, I've been manually checking this setting so far. Is there a better time-saving way to query visualforce pages that have this setting set to false?










      share|improve this question













      I'm working with an org that has hundreds of Visualforce pages, I've been manually checking this setting so far. Is there a better time-saving way to query visualforce pages that have this setting set to false?







      visualforce soql






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      kabdelr00

      474




      474




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          Yes, there is. Open your Developer Console and select the Query Editor tab. Check the box labeled "Use Tooling API". Then run the following query:



          SELECT FullName From ApexPage WHERE IsConfirmationTokenRequired = false


          You'll get back the API names (with namespace prefix) of all your pages where that setting is not enabled. Ask for the MasterLabel or Name columns instead to get back the page's human-readable name or API name without namespace.



          For more, see the Tooling API reference for the ApexPage entity.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "459"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f234513%2fis-there-a-way-to-query-visualforce-pages-that-have-require-csrf-protection-on%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            4
            down vote



            accepted










            Yes, there is. Open your Developer Console and select the Query Editor tab. Check the box labeled "Use Tooling API". Then run the following query:



            SELECT FullName From ApexPage WHERE IsConfirmationTokenRequired = false


            You'll get back the API names (with namespace prefix) of all your pages where that setting is not enabled. Ask for the MasterLabel or Name columns instead to get back the page's human-readable name or API name without namespace.



            For more, see the Tooling API reference for the ApexPage entity.






            share|improve this answer
























              up vote
              4
              down vote



              accepted










              Yes, there is. Open your Developer Console and select the Query Editor tab. Check the box labeled "Use Tooling API". Then run the following query:



              SELECT FullName From ApexPage WHERE IsConfirmationTokenRequired = false


              You'll get back the API names (with namespace prefix) of all your pages where that setting is not enabled. Ask for the MasterLabel or Name columns instead to get back the page's human-readable name or API name without namespace.



              For more, see the Tooling API reference for the ApexPage entity.






              share|improve this answer






















                up vote
                4
                down vote



                accepted







                up vote
                4
                down vote



                accepted






                Yes, there is. Open your Developer Console and select the Query Editor tab. Check the box labeled "Use Tooling API". Then run the following query:



                SELECT FullName From ApexPage WHERE IsConfirmationTokenRequired = false


                You'll get back the API names (with namespace prefix) of all your pages where that setting is not enabled. Ask for the MasterLabel or Name columns instead to get back the page's human-readable name or API name without namespace.



                For more, see the Tooling API reference for the ApexPage entity.






                share|improve this answer












                Yes, there is. Open your Developer Console and select the Query Editor tab. Check the box labeled "Use Tooling API". Then run the following query:



                SELECT FullName From ApexPage WHERE IsConfirmationTokenRequired = false


                You'll get back the API names (with namespace prefix) of all your pages where that setting is not enabled. Ask for the MasterLabel or Name columns instead to get back the page's human-readable name or API name without namespace.



                For more, see the Tooling API reference for the ApexPage entity.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 56 mins ago









                David Reed

                20.7k31640




                20.7k31640



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f234513%2fis-there-a-way-to-query-visualforce-pages-that-have-require-csrf-protection-on%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                    Confectionery