i was previously being raided, and i have about 4 settlements if that helps.
not in a war though
you can be raided if you are hostile towards an aiits allow limited hostile actions