Hello Rolss,
You can use Assertion Generator Plugin to send custom attributes in SAML Response. Please refer to the below link for reference
AssertionGeneratorPlugin (CA SiteMinder SDK r12.0 SP2)
Once you create a .jar file which would generate the custom attributes for you, then you can put the name of this .jar file in Assertion Configuration -> Plug-in Class . Then you can give the Parameter which would be given to this file in Assertion Configuration -> Plug-in Parameters.
In Addition to above, place the .jar file in the /lib/ folder of you policy server and place the path of this .Jar file in /config/JVMOptions.txt present on the Policy Server.
Once above configuration is done, the SAML response would be updated based on the condition you placed in the .jar file and the parameter it receives.