How to include two or more sources in one search query

try something like this:

attributes.cloudLifecycleState:postterm AND (@accounts(source.name:“S1” AND disabled:false) OR @accounts(source.name:“S2” AND disabled:false) OR @accounts(source.name:“S3” AND disabled:false) .... OR @accounts(source.name:“S10” AND disabled:false))

It is showing active account and it is not working

Share your query (it’s always helpful when you share what you have tried)

attributes.cloudlifecyclestate: postterm AND @accounts
    (source.name: “MR” AND disabled: false) OR @accounts
    (source.name: “AD” AND disabled: false) OR @accounts
    (source.name: “net” AND disabled: false) OR @accounts
    (source.name: “1net” AND disabled: false) OR @accounts
    (source.name: “et” AND disabled: false) OR @accounts
    (source.name: “bb” AND disabled: false) OR @accounts
    (source.name: “tgt” AND disabled: false);

your query does not match what I posted

i need to include "… "as well

you are missing () around everything after AND

You can use the query like this:

attributes.cloudlifecyclestate: postterm AND
    (
        @accounts (source.name: “MR” AND disabled: false) OR @accounts
            (source.name: “AD” AND disabled: false) OR @accounts
            (source.name: “net” AND disabled: false) OR @accounts
            (source.name: “1net” AND disabled: false) OR @accounts
            (source.name: “et” AND disabled: false) OR @accounts
            (source.name: “bb” AND disabled: false) OR @accounts
            (source.name: “tgt” AND disabled: false)
    );

Can we get modified account passed details through search

Yes, you can use this query to search the modify accounts.
name:"Modify Account Passed"

how can i include Status is passed and for particular source