the things aren't the same, their problematic effect is the same. Increased cosmic radiation is cause by solar flares. the ISS isn't normally in a problematic range of cosmic radiation, because of the magnetic field, EXCEPT during solar flares.
these solar flares should be seen as the "worst case" scenario for inter-solar system radiation. In otherwords, any design to withstand cosmic radiation can't be built to withstand normal radiation, it must be built to withstand the radiation present during a solar flare. so in closing, they aren't the same, but from a design standpoint they are the same. if that makes sense.
As to the radiation from outside of the solar system from elsewhere in the Milky way and beyond, NASA has been working on that for a long time. they have had spacecraft measuring outer-solar system radiation for years to help design the eventual mars colonies. Here is an article designed to answer your specific question:
https://www.nasa.gov/feature/goddard/real-martians-how-to-protect-astronauts-from-space-radiation-on-marsbut off topic:
1. no i dont dislike you, i think ive talked to you once
2. if you knew more than me you wouldnt be asking this question
3. thats fine, and doesnt change my opinion of you
4. ask questions if you have them and maybe i can help
i know googling when i see it! although i couldnt find that article myself so that means im bad at googling!